Cargo Features

[dependencies]
libanu = { version = "1.0.0-alpha", default-features = false, features = ["ondisk-repos", "mmap", "zstd", "text-changes", "dump", "tarball"] }
default = dump, ondisk-repos, text-changes

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

ondisk-repos default = ignore, mmap, zstd

Affects changestore::filesystem, working_copy::filesystem

mmap ondisk-repos

Enables mmap of sanakirja ^0.13.1

zstd ondisk-repos = zstd-seekable

Affects change::ChangeFile

text-changes default = regex
dump default = tokio

Affects libanu::MutTxnTExt.channel_from_dump, pristine::channel_dump

tarball = flate2, tar

Affects archive::Tarball, archive::File

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.

zstd-seekable zstd?
regex text-changes
tokio dump

Enables tokio ^0.2

ignore ondisk-repos
tar tarball?
flate2 tarball?