Cargo Features
[dependencies]
hyper_req_exts = { version = "0.18.0", default-features = false, features = ["json", "urlencoded", "routerify"] }
- default = routerify
-
The
routerify
feature is set by default wheneverhyper_req_exts
is added without
somewhere in the dependency tree.default-features = false - json = serde, serde_json
-
Affects
req::ReqExt.body_json
… - urlencoded = serde, serde_urlencoded
-
Affects
req::ReqExt.body_urlencoded
…
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.
- routerify default
- serde json? urlencoded?
- serde_json json?
-
Affects
hyper_req_exts::IntoJsonResponse
… - serde_urlencoded urlencoded?