diff --git a/Cargo.toml b/Cargo.toml index efa7cce5..c20fb79f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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" diff --git a/src/lib.rs b/src/lib.rs index 15f49798..7c5852f1 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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