Cargo Features
[dependencies]
rskafka = { version = "0.5.0", default-features = false, features = ["full", "compression-gzip", "compression-lz4", "compression-snappy", "compression-zstd", "transport-socks5", "transport-tls", "unstable-fuzzing"] }
- default = compression-gzip, compression-lz4, compression-snappy, compression-zstd
-
These default features are set whenever
rskafka
is added without
somewhere in the dependency tree.default-features = false - full = compression-gzip, compression-lz4, compression-snappy, compression-zstd, transport-socks5, transport-tls
- compression-gzip default full? = flate2
- compression-lz4 default full? = lz4
- compression-snappy default full? = snap
- compression-zstd default full? = zstd
- transport-socks5 full? = async-socks5
- transport-tls full? = rustls, tokio-rustls
-
Affects
transport::TlsConfig
… - unstable-fuzzing
-
Affects
rskafka::messenger
,rskafka::protocol
…
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.