Cargo Features
[dependencies]
feignhttp = { version = "0.5.2", default-features = false, features = ["reqwest-client", "isahc-client", "json", "log"] }
- default = reqwest-client
-
The
reqwest-client
feature is set by default wheneverfeignhttp
is added without
somewhere in the dependency tree.default-features = false - reqwest-client default = reqwest
- isahc-client = isahc
- json = serde_json
-
Enables json of isahc and reqwest ^0.11
reqwest:
Optional deps...
reqwest
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 json? reqwest-client
-
Enables reqwest ^0.11
- isahc isahc-client? json?
- serde_json json?
-
Enables serde_json
json
- log implicit feature
-
Enables log
log:
A lightweight logging facade for Rust