mirror of
https://github.com/tokio-rs/axum.git
synced 2025-04-26 13:56:22 +02:00
Document required tokio features for example (#1715)
This commit is contained in:
parent
7a52161826
commit
96b7d78a3f
2 changed files with 5 additions and 0 deletions
axum
|
@ -10,10 +10,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
- **added:** Implement `IntoResponse` for `&'static [u8; N]` and `[u8; N]` ([#1690])
|
||||
- **fixed:** Make `Path` support types uses `serde::Deserializer::deserialize_any` ([#1693])
|
||||
- **added:** Implement `Clone` and `Service` for `axum::middleware::Next` ([#1712])
|
||||
- **fixed:** Document required tokio features to run "Hello, World!" example ([#1715])
|
||||
|
||||
[#1690]: https://github.com/tokio-rs/axum/pull/1690
|
||||
[#1693]: https://github.com/tokio-rs/axum/pull/1693
|
||||
[#1712]: https://github.com/tokio-rs/axum/pull/1712
|
||||
[#1715]: https://github.com/tokio-rs/axum/pull/1715
|
||||
|
||||
# 0.6.2 (9. January, 2023)
|
||||
|
||||
|
|
|
@ -61,6 +61,9 @@
|
|||
//! }
|
||||
//! ```
|
||||
//!
|
||||
//! Note using `#[tokio::main]` requires you enable tokio's `macros` and `rt-multi-thread` features
|
||||
//! or just `full` to enable all features (`cargo add tokio --features macros,rt-multi-thread`).
|
||||
//!
|
||||
//! # Routing
|
||||
//!
|
||||
//! [`Router`] is used to setup which paths goes to which services:
|
||||
|
|
Loading…
Add table
Reference in a new issue