Cargo Features
[dependencies]
bililive = { version = "0.2.0-beta.5", default-features = false, features = ["tokio-native-tls", "tokio-rustls-webpki-roots", "tokio-rustls-native-certs", "async-native-tls", "h1-client"] }
- default = tokio-native-tls
-
The
tokio-native-tls
feature is set by default wheneverbililive
is added without
somewhere in the dependency tree.default-features = false - tokio-native-tls default = tokio
-
Enables tokio-native-tls of async-tungstenite ^0.17, tokio of bililive-core, tokio of stream-reconnect and native-tls of reqwest ^0.11
reqwest:
Enables native-tls specific functionality not available by default.
- tokio-rustls-webpki-roots = tokio
-
Enables tokio-rustls-webpki-roots of async-tungstenite ^0.17, tokio of bililive-core, rustls-tls-webpki-roots of reqwest ^0.11, tokio of stream-reconnect
- tokio-rustls-native-certs = tokio
-
Enables tokio-rustls-native-certs of async-tungstenite ^0.17, tokio of bililive-core, rustls-tls-native-roots of reqwest ^0.11, tokio of stream-reconnect
- async-native-tls = async-std, h1-client
-
Enables async-native-tls of async-tungstenite ^0.17, async-std of bililive-core, native-tls of http-client, async-std of stream-reconnect
- h1-client async-native-tls?
-
Enables h1_client of http-client
Affects
builder::ConfigBuilder
…
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.
- async-std async-native-tls?
-
Affects
connect::async_std
… - http-client async-native-tls? h1-client?
- reqwest tokio-native-tls tokio-rustls-native-certs? tokio-rustls-webpki-roots?
-
Enables reqwest ^0.11
Affects
builder::ConfigBuilder
… - tokio tokio-native-tls tokio-rustls-native-certs? tokio-rustls-webpki-roots?
-
Affects
connect::tokio
…