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