Support axum 8.0 (#25)

* support axum 8.0

* ververt the features

* revert default features

* fix linting

---------

Co-authored-by: Dong Nguyen <sonic@rustydev.top>
This commit is contained in:
kakalos12 2025-01-22 06:50:03 +07:00 committed by GitHub
parent b20224728b
commit 6756b25af2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 15 additions and 25 deletions

View file

@ -18,9 +18,8 @@ serde = ["dep:serde", "dep:serde_json"]
auto-vary = ["futures", "tokio", "tower"]
[dependencies]
axum-core = "0.4"
axum-core = "0.5"
http = { version = "1", default-features = false }
async-trait = "0.1"
# Optional dependencies required for the `guards` feature.
tower = { version = "0.5", default-features = false, optional = true }
@ -36,8 +35,8 @@ tokio = { version = "1", features = ["sync"], optional = true }
futures = { version = "0.3", default-features = false, optional = true }
[dev-dependencies]
axum = { version = "0.7", default-features = false }
axum-test = "16"
axum = { version = "0.8", default-features = false}
axum-test = "17"
tokio = { version = "1", features = ["full"] }
tokio-test = "0.4"