Cargo Features
yawc has no features set by default.
[dependencies]
yawc = { version = "0.1.1", features = ["zlib", "logging", "simd", "reqwest", "axum", "json"] }
Optional feature configurations
- zlib
-
Enables any_zlib and zlib-rs of flate2
Compression
Affects
yawc::DeflateOptions.server_max_window_bits
,yawc::DeflateOptions.client_max_window_bits
… - logging = log
- simd = simdutf8
- reqwest
-
Enables reqwest
- axum = async-trait, axum-core, http
-
Affects
yawc::IncomingUpgrade
… - json = serde, serde_json
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.