Cargo Features
[dependencies]
valog = { version = "0.2.1", default-features = false, features = ["std", "alloc", "memmap", "xxhash64", "xxhash3", "tracing"] }
- default = memmap
-
These default features are set whenever
valog
is added without
somewhere in the dependency tree.default-features = false Enables rarena-allocator, dbutils
- std memmap
-
Enables std of dbutils and rarena-allocator
Affects
common::LogExt.flush_to
… - alloc
-
Enables alloc of dbutils and rarena-allocator
- memmap default = std
-
Enables memmap of rarena-allocator
Affects
common::Log.path
,common::Log.is_map
,common::Log.lock_exclusive
,common::Log.lock_shared
,common::Log.unlock
,common::MutableLog.flush
,common::MutableLog.flush_async
,common::MutableLog.flush_range
,common::MutableLog.flush_async_range
… - xxhash64
- xxhash3
- tracing