Cargo Features
[dependencies]
crabz = { version = "0.10.0", default-features = false, features = ["deflate_zlib_ng", "deflate_zlib", "deflate_rust", "snap_default", "libdeflate", "snappy", "any_zlib"] }
- default = deflate_zlib_ng, libdeflate, snap_default
-
These default features are set whenever
crabz
is added without
somewhere in the dependency tree.default-features = false - deflate_zlib_ng default = any_zlib
-
Enables zlib-ng-compat of flate2, deflate_zlib_ng of gzp
- deflate_zlib = any_zlib
-
Enables zlib of flate2, deflate_zlib of gzp
- deflate_rust
-
Enables rust_backend of flate2, deflate_rust of gzp
- snap_default default = snap, snappy
-
Enables snappy_default of gzp
gzp:
needs flate2 for compression type
- libdeflate default
-
Enables libdeflate of gzp
- snappy snap_default
-
internal feature flag
- any_zlib deflate_zlib? deflate_zlib_ng
-
internal feature flag
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.