Cargo Features
[dependencies]
silent-tokio-tungstenite = { version = "0.1.0", default-features = false, features = ["connect", "handshake", "native-tls", "native-tls-vendored", "rustls-tls-native-roots", "rustls-tls-webpki-roots", "stream"] }
- default = connect, handshake
-
These default features are set whenever
silent-tokio-tungstenite
is added without
somewhere in the dependency tree.default-features = false - connect default = handshake, stream
- handshake default __rustls-tls? connect native-tls?
-
Enables handshake of silent-tungstenite
Affects
silent-tokio-tungstenite::client_async
,silent-tokio-tungstenite::client_async_with_config
,silent-tokio-tungstenite::accept_async
,silent-tokio-tungstenite::accept_async_with_config
,silent-tokio-tungstenite::accept_hdr_async
,silent-tokio-tungstenite::accept_hdr_async_with_config
… - native-tls native-tls-vendored? = handshake, native-tls-crate, stream, tokio-native-tls
-
Enables native-tls of silent-tungstenite
Affects
connect::connect_async_tls_with_config
,tls::client_async_tls
… - native-tls-vendored = native-tls
-
Enables vendored of native-tls, native-tls-vendored of silent-tungstenite
- rustls-tls-native-roots = __rustls-tls, rustls-native-certs
- rustls-tls-webpki-roots = __rustls-tls, webpki-roots
- stream __rustls-tls? connect native-tls?
- __rustls-tls rustls-tls-native-roots? rustls-tls-webpki-roots? = handshake, rustls, stream, tokio-rustls
-
Enables __rustls-tls of silent-tungstenite
Affects
connect::connect_async_tls_with_config
,tls::client_async_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.
- rustls __rustls-tls?
-
Enables rustls ^0.21.6
- rustls-native-certs rustls-tls-native-roots?
-
Enables rustls-native-certs ^0.6.2
- tokio-native-tls native-tls?
- tokio-rustls __rustls-tls?
-
Enables tokio-rustls ^0.24.1
- webpki-roots rustls-tls-webpki-roots?
-
Enables webpki-roots ^0.25.2
- native-tls-crate native-tls? native-tls-vendored?
-
Enables native-tls