Cargo Features

[dependencies]
vls-persist = { version = "0.11.0", default-features = false, features = ["no-std", "std", "redb-kvv", "kvv", "test_utils"] }
default = kvv, std, test_utils

These default features are set whenever vls-persist is added without default-features = false somewhere in the dependency tree.

no-std

Enables no-std of vls-core

std default

Enables std of log and vls-core

Affects vls-persist::backup_persister

redb-kvv = kvv, redb, uuid

Required by dump_sample_data, gen_sample_data and persist_test binaries

kvv default redb-kvv? = serde_json

Affects vls-persist::kvv

test_utils default = tempfile

Enables test_utils of vls-core

Required by the persist_test binary

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

serde_json kvv
redb redb-kvv?
tempfile test_utils
uuid redb-kvv?