Cargo Features

[dependencies]
rskafka_wasi = { version = "0.3.1", default-features = false, features = ["full", "compression-gzip", "compression-lz4", "compression-snappy", "compression-zstd", "transport-socks5", "transport-tls", "unstable-fuzzing"] }
default = compression-gzip, compression-snappy

These default features are set whenever rskafka_wasi is added without default-features = false somewhere in the dependency tree.

full = compression-gzip, compression-lz4, compression-snappy, compression-zstd, transport-socks5, transport-tls
compression-gzip default full? = flate2
compression-lz4 full? = lz4
compression-snappy default full? = snap
compression-zstd full? = zstd
transport-socks5 full? = async-socks5
transport-tls full? = rustls, tokio-rustls

Affects transport::TlsConfig

unstable-fuzzing

Affects rskafka_wasi::messenger, rskafka_wasi::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.

async-socks5 transport-socks5?

Enables async-socks5 ^0.5

flate2 compression-gzip
lz4 compression-lz4?
rustls transport-tls?

Enables rustls ^0.20

snap compression-snappy
tokio-rustls transport-tls?

Enables tokio-rustls ^0.23

zstd compression-zstd?

Enables zstd ^0.11