Cargo Features

lapin = { version = "2.3.4", default-features = false, features = ["codegen", "codegen-internal", "native-tls", "openssl", "rustls", "rustls-native-certs", "rustls-webpki-roots-certs", "vendored-openssl"] }
default = rustls

The rustls feature is set by default whenever lapin is added without default-features = false somewhere in the dependency tree.

codegen = codegen-internal

Enables codegen of amq-protocol

codegen-internal codegen? = amq-protocol-codegen, serde_json

Enables native-tls of amq-protocol


Enables openssl of amq-protocol

rustls default = rustls-native-certs
rustls-native-certs rustls

Enables rustls-native-certs of amq-protocol


Enables rustls-webpki-roots-certs of amq-protocol


Enables vendored-openssl of amq-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.

serde_json build codegen-internal?
amq-protocol-codegen build codegen-internal?