Cargo Features

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

These default features are set whenever ldap3-serde 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

tokio:

Includes basic task execution capabilities

sync default

Enables rt of tokio

gssapi = cross-krb5
serde

Enables serde, serde of lber-serde

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.

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

Enables rustls ^0.22.2

tokio-rustls tls-rustls?

Enables tokio-rustls ^0.25.0

rustls-native-certs tls-rustls?

Enables rustls-native-certs ^0.7.0

x509-parser tls-rustls?

Enables x509-parser ^0.15.0

ring tls-rustls?
cross-krb5 gssapi?

Enables cross-krb5 ^0.3.0