Work on axum support

This commit is contained in:
Lennart
2025-06-07 20:17:50 +02:00
parent 57832116aa
commit 790c657b08
38 changed files with 582 additions and 64 deletions

91
Cargo.lock generated
View File

@@ -489,6 +489,83 @@ version = "1.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ace50bade8e6234aa140d9a2f552bbee1db4d353f69b8217bc503490fc1a9f26"
[[package]]
name = "axum"
version = "0.8.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "021e862c184ae977658b36c4500f7feac3221ca5da43e3f25bd04ab6c79a29b5"
dependencies = [
"axum-core",
"bytes",
"form_urlencoded",
"futures-util",
"http 1.3.1",
"http-body",
"http-body-util",
"hyper",
"hyper-util",
"itoa",
"matchit",
"memchr",
"mime",
"percent-encoding",
"pin-project-lite",
"rustversion",
"serde",
"serde_json",
"serde_path_to_error",
"serde_urlencoded",
"sync_wrapper",
"tokio",
"tower",
"tower-layer",
"tower-service",
"tracing",
]
[[package]]
name = "axum-core"
version = "0.5.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "68464cd0412f486726fb3373129ef5d2993f90c34bc2bc1c1e9943b2f4fc7ca6"
dependencies = [
"bytes",
"futures-core",
"http 1.3.1",
"http-body",
"http-body-util",
"mime",
"pin-project-lite",
"rustversion",
"sync_wrapper",
"tower-layer",
"tower-service",
"tracing",
]
[[package]]
name = "axum-extra"
version = "0.10.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "45bf463831f5131b7d3c756525b305d40f1185b688565648a92e1392ca35713d"
dependencies = [
"axum",
"axum-core",
"bytes",
"futures-util",
"headers",
"http 1.3.1",
"http-body",
"http-body-util",
"mime",
"pin-project-lite",
"rustversion",
"serde",
"tower",
"tower-layer",
"tower-service",
]
[[package]]
name = "backtrace"
version = "0.3.75"
@@ -1565,6 +1642,7 @@ dependencies = [
"http 1.3.1",
"http-body",
"httparse",
"httpdate",
"itoa",
"pin-project-lite",
"smallvec",
@@ -1974,6 +2052,12 @@ dependencies = [
"regex-automata 0.1.10",
]
[[package]]
name = "matchit"
version = "0.8.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "47e1ffaa40ddd1f3ed91f717a33c8c0ee23fff369e3aa8772b9605cc1d22f4c3"
[[package]]
name = "md-5"
version = "0.10.6"
@@ -3076,6 +3160,7 @@ dependencies = [
"chrono-tz",
"derive_more 2.0.1",
"futures-util",
"http 1.3.1",
"quick-xml",
"rustical_dav",
"rustical_dav_push",
@@ -3103,6 +3188,7 @@ dependencies = [
"chrono",
"derive_more 2.0.1",
"futures-util",
"http 1.3.1",
"quick-xml",
"rustical_dav",
"rustical_dav_push",
@@ -3124,10 +3210,13 @@ version = "0.1.0"
dependencies = [
"actix-web",
"async-trait",
"axum",
"axum-extra",
"derive_more 2.0.1",
"futures-util",
"headers",
"http 0.2.12",
"http 1.3.1",
"itertools 0.14.0",
"log",
"quick-xml",
@@ -3135,6 +3224,7 @@ dependencies = [
"serde",
"thiserror 2.0.12",
"tokio",
"tower",
"tracing",
"tracing-actix-web",
]
@@ -3147,6 +3237,7 @@ dependencies = [
"async-trait",
"derive_more 2.0.1",
"futures-util",
"http 1.3.1",
"itertools 0.14.0",
"log",
"quick-xml",