mirror of
https://github.com/tokio-rs/axum.git
synced 2025-04-03 21:15:55 +02:00
Remove hyper-h1
and hyper-h2
features (#31)
This commit is contained in:
parent
341ad61240
commit
e641caefaf
2 changed files with 1 additions and 5 deletions
|
@ -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…
Add table
Reference in a new issue