mirror of
https://github.com/tokio-rs/axum.git
synced 2025-10-02 07:20:38 +00:00
Note changes to examples in 0.2
This commit is contained in:
parent
08544f9d92
commit
66a806630c
10
README.md
10
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
|
authorization, and more, for free. It also enables you to share middleware with
|
||||||
applications written using [`hyper`] or [`tonic`].
|
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
|
## Usage example
|
||||||
|
|
||||||
```rust
|
```rust
|
||||||
|
Loading…
x
Reference in New Issue
Block a user