axum: Use serde_html_form for Query and Form (#3594)

This commit is contained in:
Jonas Platte
2025-12-26 13:03:42 +01:00
committed by GitHub
parent 061666a111
commit cae6bc3709
13 changed files with 73 additions and 262 deletions
+14 -12
View File
@@ -298,9 +298,9 @@ dependencies = [
"percent-encoding",
"pin-project-lite",
"serde_core",
"serde_html_form",
"serde_json",
"serde_path_to_error",
"serde_urlencoded",
"sha1",
"sync_wrapper",
"tokio",
@@ -1573,17 +1573,6 @@ dependencies = [
"tracing-subscriber",
]
[[package]]
name = "example-query-params-with-empty-strings"
version = "0.1.0"
dependencies = [
"axum",
"http-body-util",
"serde",
"tokio",
"tower",
]
[[package]]
name = "example-readme"
version = "0.1.0"
@@ -4068,6 +4057,19 @@ dependencies = [
"syn",
]
[[package]]
name = "serde_html_form"
version = "0.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1a055051604d997ae4ddff53663d390c15e96adc3720f54d43d18a7fd944cc79"
dependencies = [
"form_urlencoded",
"indexmap",
"itoa",
"ryu",
"serde_core",
]
[[package]]
name = "serde_json"
version = "1.0.140"