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.

axum-core axum?

Enables axum-core ^0.4

HTTP servers (optional)

async-trait axum?
http axum?
serde json?

Enables serde

JSON support

serde_json json?
simdutf8 simd?

Enables simdutf8

Utilities

log logging?