Cargo Features

[dependencies]
tls-api-native-tls = { version = "0.9.0", default-features = false, features = ["runtime-async-std", "runtime-tokio"] }
default = runtime-tokio

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

runtime-async-std = async-std

Enables runtime-async-std of tls-api and tls-api-test

tls-api-test:

this is needed until package-features is stabelized (issue #5364)

runtime-tokio default = tokio

Enables runtime-tokio of tls-api and tls-api-test

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.

tokio runtime-tokio
async-std runtime-async-std?