From 66a806630c61b862c253a739343bd7de540f4841 Mon Sep 17 00:00:00 2001 From: David Pedersen Date: Sat, 21 Aug 2021 11:35:57 +0200 Subject: [PATCH] Note changes to examples in 0.2 --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index a80e1ef4..4323599e 100644 --- a/README.md +++ b/README.md @@ -23,6 +23,16 @@ In particular the last point is what sets `axum` apart from other frameworks. authorization, and more, for free. It also enables you to share middleware with applications written using [`hyper`] or [`tonic`]. +## Breaking changes in 0.2 + +Note that we're currently working on 0.2 which contain a number of [breaking +changes]. The examples have been updated for 0.2 and wont work for the version +released on crates.io. Look at the [0.1.3 tag][tag] instead. The example shown +below still uses the 0.1 API. + +[breaking changes]: https://github.com/tokio-rs/axum/blob/main/CHANGELOG.md +[tag]: https://github.com/tokio-rs/axum/tree/v0.1.3 + ## Usage example ```rust