Cargo Features
[dependencies]
crux_http = { version = "0.10.3", default-features = false, features = ["encoding", "typegen"] }
- default = encoding
-
The
encoding
feature is set by default whenevercrux_http
is added without
somewhere in the dependency tree.default-features = false - encoding default = encoding_rs, web-sys
-
requires web-sys for TextDecoder on wasm
Affects
decode::decode_body
,decode::decode_body
… - typegen
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.