Cargo Features
[dependencies]
tls-api-rustls = { version = "0.12.1", default-features = false, features = ["runtime-async-std", "runtime-tokio"] }
- default = runtime-tokio
-
The
runtime-tokio
feature is set by default whenevertls-api-rustls
is added without
somewhere in the dependency tree.default-features = false - runtime-async-std = async-std
-
Enables runtime-async-std of tls-api
- runtime-tokio default = tokio
-
Enables runtime-tokio of tls-api
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.