Cargo Features
[dependencies]
li-http-client = { version = "6.5.5", default-features = false, features = ["h1_client", "native_client", "curl_client", "wasm_client", "hyper_client", "native-tls", "rustls", "docs", "unstable-config"] }
- default = h1_client, native-tls
-
These default features are set whenever
li-http-client
is added without
somewhere in the dependency tree.default-features = false - h1_client default docs? = async-std, dashmap, deadpool, futures, li-async-h1
-
Affects
config::Config.tls_config
,config::Config.tls_config
,li-http-client::h1
… - native_client = curl_client, wasm_client
- curl_client docs? native_client? = async-std, isahc
-
Affects
li-http-client::isahc
,li-http-client::native
… - wasm_client docs? native_client? = async-std, futures, js-sys, wasm-bindgen, wasm-bindgen-futures, web-sys
-
Affects
li-http-client::wasm
,li-http-client::native
… - hyper_client docs? = futures-util, hyper, hyper-tls, tokio
-
Enables hyperium_http of li-http-types
Affects
li-http-client::hyper
… - native-tls default = async-native-tls
-
Affects
config::Config.tls_config
… - rustls = async-tls, rustls_crate
-
Affects
config::Config.tls_config
… - docs = curl_client, h1_client, hyper_client, wasm_client
- unstable-config
-
deprecated
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.
- li-async-h1 h1_client
-
Enables li-async-h1
h1_client
- async-std curl_client? h1_client wasm_client?
- async-native-tls native-tls
-
Enables async-native-tls ^0.3.1
- dashmap h1_client
-
Enables dashmap ^5.3.4
- deadpool h1_client
-
Enables deadpool ^0.7.0
- futures h1_client wasm_client?
- async-tls rustls?
-
Enables async-tls ^0.11
h1_client_rustls
- rustls_crate rustls?
-
Enables rustls ^0.19
- hyper hyper_client?
-
Enables hyper ^0.13.6
hyper_client
- hyper-tls hyper_client?
-
Enables hyper-tls ^0.4.3
- futures-util hyper_client?
- tokio hyper_client?
-
Enables tokio ^0.2
- isahc not wasm32 curl_client?
-
Enables isahc ^0.9
- js-sys wasm32 wasm_client?
- wasm-bindgen wasm32 wasm_client?
- wasm-bindgen-futures wasm32 wasm_client?
- web-sys wasm32 wasm_client?