Update goals in readme

This commit is contained in:
David Pedersen 2021-07-22 15:44:16 +02:00
parent 21db427077
commit 7c37bb818a
2 changed files with 4 additions and 2 deletions

View file

@ -20,7 +20,9 @@ More information about this crate can be found in the [crate documentation][docs
handle(Request) -> Response`.
- 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.
This improves modularity since axum doesn't have its own custom
middleware system.
- Focus on routing, extracting data from requests, and building responses.
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.

View file

@ -24,7 +24,7 @@
//! handle(Request) -> Response`.
//! - 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.
//! This improves compatibility since axum doesn't have its own custom
//! This improves modularity since axum doesn't have its own custom
//! middleware system.
//! - Focus on routing, extracting data from requests, and building responses.
//! tower middleware can handle the rest.