Cargo Features

[dependencies]
kafka = { version = "0.10.0", default-features = false, features = ["snappy", "gzip", "security", "integration_tests"] }
default = gzip, security, snappy

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

snappy default = snap

Affects compression::snappy

gzip default = flate2

Affects compression::gzip

security default = openssl, openssl-sys

Affects network::SecurityConfig

nightly integration_tests

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.

flate2 gzip
openssl security
openssl-sys security
snap snappy