Cargo Features

tonic-tls has no features set by default.

[dependencies]
tonic-tls = { version = "0.6.1", features = ["native", "rustls", "openssl", "openssl-ktls", "schannel"] }
native

Enables tokio-native-tls

native tls

Affects tonic-tls::native

rustls

Enables tokio-rustls

Affects tonic-tls::rustls

openssl

Enables openssl and tokio-openssl

Affects tonic-tls::openssl

openssl-ktls

Enables openssl-ktls

ktls

Affects tonic-tls::openssl_ktls

schannel

Enables schannel and tokio-schannel

Affects tonic-tls::schannel