Minor docs improvements

This commit is contained in:
David Pedersen
2021-07-09 23:39:39 +02:00
parent 1cbd43cfc4
commit 2e2f697f80
2 changed files with 5 additions and 6 deletions
+4 -5
View File
@@ -1,14 +1,13 @@
//! axum (name pending) is a tiny web application framework that focuses on
//! ergonomics and modularity.
//! axum is a web application framework that focuses on ergonomics and modularity.
//!
//! ## Goals
//!
//! - Ease of use. Building web apps in Rust should be as easy as `async fn
//! handle(Request) -> Response`.
//! - Solid foundation. axum is built on top of tower and makes it easy to
//! plug in any middleware from the [tower] and [tower-http] ecosystem.
//! - 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.
//! - 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
//! on providing a core that is macro free.
//!