Cargo Features
[dependencies]
rdedup-lib = { version = "3.2.0", default-features = false, features = ["with-bzip2", "with-deflate", "with-xz2", "with-zstd", "backend-b2"] }
- default = backend-b2, with-bzip2, with-deflate, with-xz2, with-zstd
-
These default features are set whenever
rdedup-lib
is added without
somewhere in the dependency tree.default-features = false - with-bzip2 default = bzip2
-
Optional compression features
Affects
compression::Bzip2
,compression::Bzip2
… - with-deflate default = flate2
-
Affects
compression::Deflate
,compression::Deflate
… - with-xz2 default = rust-lzma
-
Affects
compression::Xz2
,compression::Xz2
… - with-zstd default = zstd
-
Affects
compression::Zstd
,compression::Zstd
… - backend-b2 default = backblaze-b2, hyper, hyper-native-tls
-
Optional backends
Affects
rdedup-lib::backends.b2
…
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.