Cargo Features
compu has no features set by default.
[dependencies]
compu = { version = "1.2.0", features = ["brotli-rust", "brotli-c", "zlib", "zlib-static", "zlib-ng", "zstd", "bytes"] }
- brotli-rust = brotli
-
Affects
mem::brotli_rust
… - brotli-c = compu-brotli-sys
- zlib = libz-sys
-
Regular zlib bindings
- zlib-static
-
libz-sys:
Enable this feature if you want to have a statically linked libz
- zlib-ng = libz-ng-sys
-
zlib-ng bindings (requires cmake)
- zstd = zstd-sys
-
enables ZSTD
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.
- bytes implicit feature
-
Enables bytes
bytes:
Types and traits for working with bytes
- brotli brotli-rust?
-
Enables brotli ^3.5
- compu-brotli-sys brotli-c?
- libz-ng-sys zlib-ng?
- zstd-sys zstd?
- libz-sys zlib? zlib-static?