Cargo Features
compu has no features set by default.
[dependencies]
compu = { version = "1.4.0", features = ["brotli-rust", "brotli-c", "zlib", "zlib-static", "zlib-ng", "zlib-rust", "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)
- zlib-rust = zlib-rs
- 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?
- compu-brotli-sys brotli-c?
- libz-ng-sys zlib-ng?
- zlib-rs zlib-rust?
- zstd-sys zstd?
- libz-sys zlib? zlib-static?