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.