Cargo Features
[dependencies]
http-types-rs = { version = "4.0.3", default-features = false, features = ["unstable", "hyperium_http", "async_std", "cookies", "cookie-secure", "fs", "serde", "docs"] }
- default = cookie-secure, fs, serde
-
These default features are set whenever
http-types-rs
is added without
somewhere in the dependency tree.default-features = false - unstable docs?
- hyperium_http
-
Enables http
features: hyperium/http
- async_std = fs
-
Enables cookie
features: cookies
Affects
http-types-rs::cookies
… - fs default async_std?
-
Enables async-std
features: async_std
- serde default
-
Enables serde of url and serde, serde_json, serde_qs, and serde_urlencoded
serde_json:
features: serde
Affects
http-types-rs::convert
,csp::ReportTo
,csp::ReportToEndpoint
… - docs = unstable