Cargo Features

yawc has no features set by default.

[dependencies]
yawc = { version = "0.2.1", features = ["zlib", "logging", "simd", "reqwest", "axum", "json"] }

Optional feature configurations

zlib

Enables any_zlib and zlib-rs of flate2

Affects native::DeflateOptions.server_max_window_bits, native::DeflateOptions.client_max_window_bits

logging = log
simd = simdutf8
reqwest

Enables reqwest

axum = async-trait, axum-core, http

Affects native::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.

==============================================================================
Common dependencies (shared across all targets)
==============================================================================

async-trait not wasm32 axum?
axum-core not wasm32 axum?

Enables axum-core ^0.4

http not wasm32 axum?
log not wasm32 logging?
serde not wasm32 json?
serde_json not wasm32 json?
simdutf8 not wasm32 simd?