fix(axum-xitca): missing feature

This commit is contained in:
xfy
2024-09-24 14:50:30 +08:00
parent 99eab572a4
commit da92ec03b8
2 changed files with 29 additions and 32 deletions

View File

@ -130,31 +130,6 @@ dependencies = [
"tower-service", "tower-service",
] ]
[[package]]
name = "axum-xitca"
version = "0.1.0"
dependencies = [
"anyhow",
"axum",
"dotenvy",
"http-body",
"serde",
"serde_json",
"serde_repr",
"thiserror",
"tokio",
"tower",
"tower-http",
"tracing",
"tracing-subscriber",
"xitca-http",
"xitca-io",
"xitca-server",
"xitca-service",
"xitca-unsafe-collection",
"xitca-web",
]
[[package]] [[package]]
name = "backtrace" name = "backtrace"
version = "0.3.74" version = "0.3.74"
@ -559,6 +534,31 @@ version = "2.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e" checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e"
[[package]]
name = "phthonus"
version = "0.1.0"
dependencies = [
"anyhow",
"axum",
"dotenvy",
"http-body",
"serde",
"serde_json",
"serde_repr",
"thiserror",
"tokio",
"tower",
"tower-http",
"tracing",
"tracing-subscriber",
"xitca-http",
"xitca-io",
"xitca-server",
"xitca-service",
"xitca-unsafe-collection",
"xitca-web",
]
[[package]] [[package]]
name = "pin-project-lite" name = "pin-project-lite"
version = "0.2.14" version = "0.2.14"
@ -1212,6 +1212,7 @@ checksum = "a40a05f18780f1de843c5077583e4650b08d0518fcf9cf7948e28bc92e489736"
dependencies = [ dependencies = [
"socket2 0.5.7", "socket2 0.5.7",
"tokio", "tokio",
"tokio-uring",
"tracing", "tracing",
"xitca-io", "xitca-io",
"xitca-service", "xitca-service",

View File

@ -1,5 +1,5 @@
[package] [package]
name = "axum-xitca" name = "phthonus"
version = "0.1.0" version = "0.1.0"
edition = "2021" edition = "2021"
@ -9,13 +9,9 @@ axum = { version = "0.7.6", default-features = false, features = [
"json", "json",
"query", "query",
] } ] }
xitca-server = "0.4.0" xitca-server = { version = "0.4.0", features = ["io-uring"] }
xitca-http = { version = "0.6.0", features = ["io-uring"] } xitca-http = { version = "0.6.0", features = ["io-uring"] }
xitca-io = { version = "0.4.1", features = [ xitca-io = { version = "0.4.1", features = ["runtime-uring"] }
"tokio-uring",
"tokio",
"runtime-uring",
] }
xitca-service = "0.2.0" xitca-service = "0.2.0"
xitca-web = { version = "0.6.2", features = ["tower-http-compat"] } xitca-web = { version = "0.6.2", features = ["tower-http-compat"] }
tower = "0.5.1" tower = "0.5.1"