From 2e2f697f80e31f358292b320a997b432001cb702 Mon Sep 17 00:00:00 2001 From: David Pedersen Date: Fri, 9 Jul 2021 23:39:39 +0200 Subject: [PATCH] Minor docs improvements --- README.md | 2 +- src/lib.rs | 9 ++++----- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index af7a9d57..690f0e9e 100644 --- a/README.md +++ b/README.md @@ -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 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. +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. - Macro free core. Macro frameworks have their place but axum focuses diff --git a/src/lib.rs b/src/lib.rs index a194e598..15f49798 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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. //!