Re-export http crate and hyper::Server (#110)

Co-Authored-By: David Pedersen <[email protected]>

Co-authored-by: David Pedersen <[email protected]>
This commit is contained in:
Sunli
2021-08-04 12:29:42 +02:00
committed by GitHub
co-authored by David Pedersen
parent d285dfb568
commit 7cf8dafdce
2 changed files with 5 additions and 3 deletions
+4 -3
View File
@@ -630,9 +630,6 @@
//! [dependencies]
//! axum = "<latest-version>"
//!
//! # For http types like `StatusCode`, `Method`, and `Response`
//! http = "<latest-version>"
//!
//! # "full" isn't strictly necessary for tokio and hyper but its the
//! # easiest way to get started.
//! hyper = { version = "<latest-version>", features = ["full"] }
@@ -737,6 +734,10 @@ pub mod ws;
mod tests;
pub use async_trait::async_trait;
#[doc(no_inline)]
pub use http;
#[doc(no_inline)]
pub use hyper::Server;
pub use tower_http::add_extension::{AddExtension, AddExtensionLayer};
pub mod prelude {