Cargo Features

[dependencies]
rarena-allocator = { version = "0.4.18", default-features = false, features = ["std", "alloc", "memmap", "loom", "tracing"] }
default = std

The std feature is set by default whenever rarena-allocator is added without default-features = false somewhere in the dependency tree.

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

Enables std of bitflags

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.

byteorder std
fs4 memmap?
memmap2 memmap?
tracing implicit feature

Enables tracing

tracing:

Application-level tracing for Rust

rustix not wasm win std