Cargo Features
[dependencies]
tonic-tls = { version = "0.2.1", default-features = false, features = ["native", "rustls", "openssl", "schannel"] }
- default = native, openssl, rustls, schannel
-
These default features are set whenever
tonic-tls
is added without
somewhere in the dependency tree.default-features = false - native default
-
Enables tokio-native-tls
native tls
Affects
tonic-tls::native
… - rustls default
-
Enables tokio-rustls
Affects
tonic-tls::rustls
… - openssl default
-
Enables openssl and tokio-openssl
Affects
tonic-tls::openssl
… - schannel default
-
Enables schannel and tokio-schannel
Affects
tonic-tls::schannel
…