Cargo Features
[dependencies]
vach = { version = "0.7.2", default-features = false, features = ["all", "archive", "builder", "crypto", "multithreaded", "compression"] }
- default all? = archive, builder
-
These default features are set whenever
vachis added withoutsomewhere in the dependency tree.default-features = false - all = compression, crypto, default, multithreaded
- archive default
-
Affects
vach::archive… - builder default multithreaded?
-
Affects
vach::builder… - crypto all? = aes-gcm, ed25519-dalek, simplerand
-
Affects
reg_entry::RegistryEntry.signature,config::BuilderConfig.signing_key,leaf::Leaf.encrypt,leaf::Leaf.sign… - multithreaded all? = builder
-
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
- simplerand crypto?
- aes-gcm crypto?
-
Enables aes-gcm
Encryption dependencies
- lz4_flex compression?
-
Enables lz4_flex
Compression dependencies
- snap compression?
- brotli compression?