Cargo Features

hypers_middleware has no features set by default.

[dependencies]
hypers_middleware = { version = "0.0.0", features = ["full", "cors", "otel", "compression"] }
full = compression, cors, otel
cors full?
otel full? = opentelemetry, opentelemetry-http, opentelemetry-semantic-conventions
compression full? = async-compression, tokio-util

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.

tokio-util compression?
async-compression compression?
opentelemetry-semantic-conventions otel?

Enables opentelemetry-semantic-conventions ^0.12

opentelemetry otel?

Enables opentelemetry ^0.20

opentelemetry-http otel?

Enables opentelemetry-http ^0.9