Update axum-core depedency to 0.2 ()

* Update `axum-core` depedency to 0.2

* Update doctest to use Axum 0.5

* Update CHANGELOG.md regarding axum

Co-authored-by: Chris Wong <lambda.fairy@gmail.com>
This commit is contained in:
Benoît Cortier 2022-04-11 22:44:34 -04:00 committed by GitHub
parent d04a2c6a01
commit d05bcba02c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 3 deletions

View file

@ -4,8 +4,9 @@
- Remove blanket `Render` impl for `T: Display`
[#320](https://github.com/lambda-fairy/maud/pull/320)
- Update to axum-core 0.1. This requires axum 0.4
- Support `axum` v0.5 through `axum-core` v0.2
[#325](https://github.com/lambda-fairy/maud/pull/325)
[#337](https://github.com/lambda-fairy/maud/pull/337)
- Update to `actix-web` 4.0.
[#331](https://github.com/lambda-fairy/maud/pull/331)

View file

@ -13,7 +13,7 @@ rocket = "0.4"
rouille = "3"
tide = "0.16"
tokio = { version = "1.9.0", features = ["rt", "macros", "rt-multi-thread"] }
axum = "0.4"
axum = "0.5"
[dependencies.async-std]
version = "1.9.0"

View file

@ -25,7 +25,7 @@ rocket = { version = ">= 0.3, < 0.5", optional = true }
futures-util = { version = "0.3.0", optional = true, default-features = false }
actix-web-dep = { package = "actix-web", version = "4", optional = true, default-features = false }
tide = { version = "0.16.0", optional = true, default-features = false }
axum-core = { version = "0.1", optional = true }
axum-core = { version = "0.2", optional = true }
http = { version = "0.2", optional = true }
[dev-dependencies]