File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,10 +10,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1010- ** added:** Implement ` IntoResponse ` for ` &'static [u8; N] ` and ` [u8; N] ` ([ #1690 ] )
1111- ** fixed:** Make ` Path ` support types uses ` serde::Deserializer::deserialize_any ` ([ #1693 ] )
1212- ** added:** Implement ` Clone ` and ` Service ` for ` axum::middleware::Next ` ([ #1712 ] )
13+ - ** fixed:** Document required tokio features to run "Hello, World!" example ([ #1715 ] )
1314
1415[ #1690 ] : https://github.com/tokio-rs/axum/pull/1690
1516[ #1693 ] : https://github.com/tokio-rs/axum/pull/1693
1617[ #1712 ] : https://github.com/tokio-rs/axum/pull/1712
18+ [ #1715 ] : https://github.com/tokio-rs/axum/pull/1715
1719
1820# 0.6.2 (9. January, 2023)
1921
Original file line number Diff line number Diff line change 6161//! }
6262//! ```
6363//!
64+ //! Note using `#[tokio::main]` requires you enable tokio's `macros` and `rt-multi-thread` features
65+ //! or just `full` to enable all features (`cargo add tokio --features macros,rt-multi-thread`).
66+ //!
6467//! # Routing
6568//!
6669//! [`Router`] is used to setup which paths goes to which services:
You can’t perform that action at this time.
0 commit comments