Cargo Features
[dependencies]
smol-axum = { version = "0.1.0", default-features = false, features = ["http1", "http2", "async-net"] }
- default = http1, http2
-
These default features are set whenever
smol-axum
is added without
somewhere in the dependency tree.default-features = false - http1 default
-
Enables http1 of hyper and hyper-util
hyper:
HTTP versions
- http2 default
-
Enables http2 of hyper and hyper-util