diff --git a/README.md b/README.md index 690f0e9e..8476a888 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/src/lib.rs b/src/lib.rs index 521cb657..63624ad5 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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.