mirror of
https://github.com/tokio-rs/axum.git
synced 2025-10-02 15:24:54 +00:00
Minor docs improvements
This commit is contained in:
parent
1cbd43cfc4
commit
2e2f697f80
@ -19,7 +19,7 @@ More information about this crate can be found in the [crate documentation][docs
|
|||||||
- Ease of use. Building web apps in Rust should be as easy as `async fn
|
- Ease of use. Building web apps in Rust should be as easy as `async fn
|
||||||
handle(Request) -> Response`.
|
handle(Request) -> Response`.
|
||||||
- Solid foundation. axum is built on top of [tower] and [hyper] and makes it
|
- Solid foundation. axum is built on top of [tower] and [hyper] and makes it
|
||||||
easy to plug in any middleware from the tower and [tower-http] ecosystem.
|
easy to plug in any middleware from the [tower] and [tower-http] ecosystem.
|
||||||
- Focus on routing, extracting data from requests, and generating responses.
|
- Focus on routing, extracting data from requests, and generating responses.
|
||||||
tower middleware can handle the rest.
|
tower middleware can handle the rest.
|
||||||
- Macro free core. Macro frameworks have their place but axum focuses
|
- Macro free core. Macro frameworks have their place but axum focuses
|
||||||
|
@ -1,14 +1,13 @@
|
|||||||
//! axum (name pending) is a tiny web application framework that focuses on
|
//! axum is a web application framework that focuses on ergonomics and modularity.
|
||||||
//! ergonomics and modularity.
|
|
||||||
//!
|
//!
|
||||||
//! ## Goals
|
//! ## Goals
|
||||||
//!
|
//!
|
||||||
//! - Ease of use. Building web apps in Rust should be as easy as `async fn
|
//! - Ease of use. Building web apps in Rust should be as easy as `async fn
|
||||||
//! handle(Request) -> Response`.
|
//! handle(Request) -> Response`.
|
||||||
//! - Solid foundation. axum is built on top of tower and makes it easy to
|
//! - Solid foundation. axum is built on top of [tower] and [hyper] and makes it
|
||||||
//! plug in any middleware from the [tower] and [tower-http] ecosystem.
|
//! easy to plug in any middleware from the [tower] and [tower-http] ecosystem.
|
||||||
//! - Focus on routing, extracting data from requests, and generating responses.
|
//! - Focus on routing, extracting data from requests, and generating responses.
|
||||||
//! Tower middleware can handle the rest.
|
//! tower middleware can handle the rest.
|
||||||
//! - Macro free core. Macro frameworks have their place but axum focuses
|
//! - Macro free core. Macro frameworks have their place but axum focuses
|
||||||
//! on providing a core that is macro free.
|
//! on providing a core that is macro free.
|
||||||
//!
|
//!
|
||||||
|
Loading…
x
Reference in New Issue
Block a user