Cargo Features

async-native-tls = { version = "0.5.0", default-features = false, features = ["vendored", "runtime-async-std", "runtime-tokio"] }
default = runtime-async-std

The runtime-async-std feature is set by default whenever async-native-tls is added without default-features = false somewhere in the dependency tree.


Enables vendored of native-tls

runtime-async-std default = futures-util


runtime-tokio = tokio

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

futures-util runtime-async-std
tokio runtime-tokio?