Cargo Features

ldap3 = { version = "0.11.3", default-features = false, features = ["tls", "tls-native", "tls-rustls", "sync", "gssapi"] }
default = sync, tls

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

tls default = tls-native
tls-native tls = native-tls, tokio-native-tls

Enables rt of tokio

tls-rustls = ring, rustls, rustls-native-certs, tokio-rustls, x509-parser

Enables rt of tokio

sync default

Enables rt of tokio

gssapi = cross-krb5

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

native-tls tls-native?
tokio-native-tls tls-native?
rustls tls-rustls?

Enables default features of rustls ^0.21.0

tokio-rustls tls-rustls?

With dangerous_configuration and default features

rustls-native-certs tls-rustls?
x509-parser tls-rustls?
ring tls-rustls?

Enables default features of ring ^0.16.20

cross-krb5 gssapi?

With default (iov)