Cargo Features
[dependencies]
product-os-http-body = { version = "0.0.23", default-features = false, features = ["std", "axum", "box_body", "incoming", "stream"] }
- default = std, stream
-
These default features are set whenever
product-os-http-body
is added without
somewhere in the dependency tree.default-features = false - std default = http-body, http-body-util
-
Enables std of bytes and no-std-compat
- axum = axum-core
- box_body
- incoming = hyper
- stream default = futures-core, hyper, sync_wrapper, tokio, 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.