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 default-features = false somewhere in the dependency tree.

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

Enables xxhash64 of dbutils

xxhash3

Enables xxhash3 of dbutils

tracing

Enables tracing of dbutils