mirror of
https://github.com/tokio-rs/axum.git
synced 2024-11-22 07:08:16 +01:00
Re-export http crate and hyper::Server (#110)
Co-Authored-By: David Pedersen <david.pdrsn@gmail.com> Co-authored-by: David Pedersen <david.pdrsn@gmail.com>
This commit is contained in:
parent
d285dfb568
commit
7cf8dafdce
2 changed files with 5 additions and 3 deletions
|
@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
- Fix stripping prefix when nesting services at `/` ([#91](https://github.com/tokio-rs/axum/pull/91))
|
||||
- Add support for WebSocket protocol negotiation. ([#83](https://github.com/tokio-rs/axum/pull/83))
|
||||
- Use `pin-project-lite` instead of `pin-project`. ([#95](https://github.com/tokio-rs/axum/pull/95))
|
||||
- Re-export `http` crate and `hyper::Server`. ([#110](https://github.com/tokio-rs/axum/pull/110))
|
||||
|
||||
## Breaking changes
|
||||
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue