Cargo Features
[dependencies]
ldap3 = { version = "0.11.5", default-features = false, features = ["tls", "tls-native", "tls-rustls", "sync", "gssapi", "libgssapi"] }
- default = sync, tls
-
These default features are set whenever
ldap3
is added without
somewhere in the dependency tree.default-features = false - tls default = tls-native
- tls-native tls = native-tls, tokio-native-tls
- tls-rustls = ring, rustls, rustls-native-certs, tokio-rustls, x509-parser
-
tokio:
Includes basic task execution capabilities
- sync default
- gssapi = cross-krb5
-
Enables optional libgssapi ^0.7.1
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.21.0
- tokio-rustls tls-rustls?
-
Enables tokio-rustls ^0.24.0
- rustls-native-certs tls-rustls?
-
Enables rustls-native-certs ^0.6.2
- x509-parser tls-rustls?
-
Enables x509-parser ^0.15.0
- ring tls-rustls?
-
Enables ring ^0.16.20
- cross-krb5 gssapi?
- libgssapi implicit feature
-
Enables libgssapi ^0.7.1
libgssapi:
A safe binding to gssapi