diff --git a/Cargo.lock b/Cargo.lock index 16d234fc..b3ad2c2f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -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", diff --git a/examples/customize-extractor-error/Cargo.toml b/examples/customize-extractor-error/Cargo.toml index 5f406232..26288c4a 100644 --- a/examples/customize-extractor-error/Cargo.toml +++ b/examples/customize-extractor-error/Cargo.toml @@ -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"] } diff --git a/examples/validator/Cargo.toml b/examples/validator/Cargo.toml index e7970958..24185e5c 100644 --- a/examples/validator/Cargo.toml +++ b/examples/validator/Cargo.toml @@ -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"] }