Cargo Features
[dependencies]
rarena-allocator = { version = "0.4.19", default-features = false, features = ["std", "alloc", "memmap", "loom", "tracing"] }
- default = std
-
The
std
feature is set by default wheneverrarena-allocator
is added without
somewhere in the dependency tree.default-features = false - std default loom? memmap? = byteorder
-
Enables either, std of dbutils and std of rustix
rustix:
This enables use of std. Disabling this enables
#![no_std]
, and requires Rust 1.64 or newer. - alloc
- memmap = fs4, memmap2, std
-
Affects
allocator::Allocator.flush
,allocator::Allocator.flush_async
,allocator::Allocator.flush_range
,allocator::Allocator.flush_async_range
,allocator::Allocator.flush_header
,allocator::Allocator.flush_async_header
,allocator::Allocator.flush_header_and_range
,allocator::Allocator.flush_async_header_and_range
,allocator::Allocator.is_map
,allocator::Allocator.is_map_anon
,allocator::Allocator.is_map_file
,allocator::Allocator.lock_exclusive
,allocator::Allocator.lock_shared
,allocator::Allocator.path
,allocator::Allocator.mlock
,allocator::Allocator.munlock
,rarena-allocator::Buffer.flush
,rarena-allocator::Buffer.flush_async
,sealed::PathRefCounter.new
,sealed::PathRefCounter.as_path
… - loom = std
-
Enables loom, loom of crossbeam-utils
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.