examples: Update to thiserror 2 (#3522)

This commit is contained in:
tottoto
2025-10-08 23:19:41 +09:00
committed by GitHub
parent f9c0e7069a
commit 4160bbe6de
3 changed files with 4 additions and 4 deletions
Generated
+2 -2
View File
@@ -1403,7 +1403,7 @@ dependencies = [
"axum-extra",
"serde",
"serde_json",
"thiserror 1.0.69",
"thiserror 2.0.9",
"tokio",
"tracing",
"tracing-subscriber",
@@ -1963,7 +1963,7 @@ dependencies = [
"axum",
"http-body-util",
"serde",
"thiserror 1.0.69",
"thiserror 2.0.9",
"tokio",
"tower",
"tracing",
@@ -9,7 +9,7 @@ axum = { path = "../../axum", features = ["macros"] }
axum-extra = { path = "../../axum-extra", features = ["with-rejection"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
thiserror = "1.0"
thiserror = "2"
tokio = { version = "1.20", features = ["full"] }
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
+1 -1
View File
@@ -7,7 +7,7 @@ version = "0.1.0"
[dependencies]
axum = { path = "../../axum" }
serde = { version = "1.0", features = ["derive"] }
thiserror = "1.0.29"
thiserror = "2"
tokio = { version = "1.0", features = ["full"] }
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }