mirror of
https://github.com/tokio-rs/axum.git
synced 2025-09-28 13:30:39 +00:00
Remove hyper-h1
and hyper-h2
features (#31)
This commit is contained in:
parent
341ad61240
commit
e641caefaf
@ -13,10 +13,8 @@ repository = "https://github.com/davidpdrsn/axum"
|
||||
version = "0.1.0"
|
||||
|
||||
[features]
|
||||
default = ["hyper-h1"]
|
||||
default = []
|
||||
ws = ["tokio-tungstenite", "sha-1", "base64"]
|
||||
hyper-h1 = ["hyper/http1"]
|
||||
hyper-h2 = ["hyper/http2"]
|
||||
|
||||
[dependencies]
|
||||
async-trait = "0.1"
|
||||
|
@ -545,8 +545,6 @@
|
||||
//! The following optional features are available:
|
||||
//!
|
||||
//! - `ws`: Enables WebSockets support.
|
||||
//! - `hyper-h1`: Enables hyper's `http1` feature. On by default.
|
||||
//! - `hyper-h2`: Enables hyper's `http2` feature.
|
||||
//! - `headers`: Enables extracing typed headers via [`extract::TypedHeader`].
|
||||
//!
|
||||
//! [tower]: https://crates.io/crates/tower
|
||||
|
Loading…
x
Reference in New Issue
Block a user