Cargo Features
[dependencies]
inth-oauth2-async = { version = "0.19.0", default-features = false, features = ["hyper-client", "reqwest-client"] }
- default = reqwest-client
-
The
reqwest-client
feature is set by default wheneverinth-oauth2-async
is added without
somewhere in the dependency tree.default-features = false - hyper-client = base64, http-body-util, hyper-util, tokio, tower-service
-
Enables client, http1 and http2 of hyper
Affects
http_client::hyper_client
… - reqwest-client default = reqwest
-
Affects
http_client::reqwest_client
…
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.
- reqwest reqwest-client
-
Enables reqwest ^0.11.3
Reqwest client:
- base64 hyper-client?
-
Enables base64 ^0.13
Hyper client:
- http-body-util hyper-client?
- hyper hyper-client?
- hyper-util hyper-client?
- tokio hyper-client?
- tower-service hyper-client?