Cargo Features

[dependencies]
orderwal = { version = "0.5.1", default-features = false, features = ["std", "alloc", "memmap", "xxhash3", "xxhash64", "tracing"] }
default = memmap

The memmap feature is set by default whenever orderwal is added without default-features = false somewhere in the dependency tree.

std memmap xxhash3? xxhash64?

Enables among, rarena-allocator, crossbeam-skiplist-pr1132 and crossbeam-skiplist-mvcc, std of bitflags, dbutils, std of skl ^0.19

Affects memtable::linked, swmr::base.LinkedTable, swmr::base.DefaultTable, swmr::multiple_version.LinkedTable, swmr::multiple_version.DefaultTable

alloc

Enables skl ^0.19, alloc of dbutils and rarena-allocator

memmap default = std

Enables memmap of rarena-allocator and skl ^0.19

Affects error::UnknownKind, sealed::Wal.path, sealed::Wal.flush, sealed::Wal.flush_async, sealed::Constructable.replay, base::Reader.path, base::Writer.flush, base::Writer.flush_async, multiple_version::Reader.path, multiple_version::Writer.flush, multiple_version::Writer.flush_async

xxhash3 = std

Enables xxhash3 of dbutils

xxhash64 = std

Enables xxhash64 of dbutils

tracing

Enables tracing, tracing of dbutils

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.

crossbeam-skiplist std?

Enables crossbeam-skiplist-pr1132

crossbeam-skiplist-mvcc std?