Cargo Features
Rants has no features set by default.
[dependencies]
rants = { version = "0.6.0", features = ["native-tls", "rustls-tls", "tls"] }
- native-tls = native-tls-crate, tls, tokio-native-tls
- rustls-tls = rustls, tls, tokio-rustls
- tls native-tls? rustls-tls?
-
A derived feature used to determine if either
native-tls
orrustls-tls
are enableAffects
types::tls
…
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.
- native-tls-crate native-tls?
-
Enables native-tls
Optional dependencies
- rustls rustls-tls?
-
Enables rustls ^0.20
- tokio-native-tls native-tls?
- tokio-rustls rustls-tls?
-
Enables tokio-rustls ^0.23