Cargo Features
[dependencies]
sspi = { version = "0.14.2", default-features = false, features = ["network_client", "dns_resolver", "tsssp", "scard", "aws-lc-rs", "ring"] }
- default = aws-lc-rs
-
The
aws-lc-rs
feature is set by default wheneversspi
is added without
somewhere in the dependency tree.default-features = false - network_client
-
Enable reqwest for HTTP requests.
Enables portpicker, reqwest, rustls, and rustls-native-certs
Affects
network_client::reqwest_network_client
… - dns_resolver
-
KDC discovery by querying DNS records.
Enables tokio and trust-dns-resolver
tokio:
rt-multi-thread
feature is required fortokio::task::block_in_place
function. - tsssp
-
TSSSP should be used only on Windows as a native CredSSP replacement.
Enables rustls
Affects
credssp::sspi_cred_ssp
… - scard
-
Turns on Kerberos smart card login (available only on Windows and users WinSCard API).
Enables winscard
- aws-lc-rs default
-
Use AWS LC as TLS cryptography provider.
- ring
-
Use ring as TLS cryptography provider.
Enables rustls-tls-native-roots of optional reqwest, ring of optional rustls