Cargo Features

[dependencies]
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
native-tls

Enables native-tls of amq-protocol

openssl

Enables openssl of amq-protocol

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

Enables rustls-native-certs of amq-protocol

rustls-webpki-roots-certs

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

vendored-openssl

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?