Cargo Features

[dependencies]
vach = { version = "0.6.2", default-features = false, features = ["all", "archive", "builder", "crypto", "multithreaded", "compression"] }
default all? = archive, builder

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

all = compression, crypto, default, multithreaded
archive default

Affects vach::archive

builder default

Affects vach::builder

crypto all? = aes-gcm, ed25519-dalek, rand

Affects header::ArchiveConfig.public_key, reg_entry::RegistryEntry.signature, config::BuilderConfig.keypair, leaf::Leaf.encrypt, leaf::Leaf.sign

multithreaded all?

Affects config::BuilderConfig.num_threads

compression all? = brotli, lz4_flex, snap

Affects leaf::CompressMode, leaf::Leaf.compress, leaf::Leaf.compression_algo

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.

ed25519-dalek crypto?

Enables ed25519-dalek

Authentication dependencies

rand crypto?
aes-gcm crypto?

Enables aes-gcm

Encryption dependencies

lz4_flex compression?

Enables lz4_flex

Compression dependencies

snap compression?
brotli compression?

Enables brotli ^6.0.0