Cargo Features

[dependencies]
vls-persist = { version = "0.12.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, tracing, 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. These features may have been created by mistake, and this functionality may be removed in the future.

serde_json kvv
redb redb-kvv?

Enables redb ^1.3

tempfile test_utils
uuid redb-kvv?