diff --git a/Cargo.lock b/Cargo.lock index a3e86bd..3a2c3ab 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -667,7 +667,8 @@ dependencies = [ "parking_lot", "pin-project", "serde", - "thiserror", + "serde_derive", + "thiserror 1.0.69", "tokio", "tokio-native-tls", "tokio-stream", @@ -683,7 +684,7 @@ checksum = "259640031f2f3e6d9fa632c7b314ba1eb5d1f88b3583bd2dd2e8f17155a19b5b" dependencies = [ "bytes", "encoding", - "thiserror", + "thiserror 1.0.69", "tokio", "tokio-util", ] @@ -1124,7 +1125,7 @@ checksum = "ba009ff324d1fc1b900bd1fdb31564febe58a8ccc8a6fdbb93b543d33b13ca43" dependencies = [ "getrandom 0.2.17", "libredox", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -1371,7 +1372,16 @@ version = "1.0.69" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b6aaf5339b578ea85b50e080feb250a3e8ae8cfcdff9a461c9ec2904bc923f52" dependencies = [ - "thiserror-impl", + "thiserror-impl 1.0.69", +] + +[[package]] +name = "thiserror" +version = "2.0.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4288b5bcbc7920c07a1149a35cf9590a2aa808e0bc1eafaade0b80947865fbc4" +dependencies = [ + "thiserror-impl 2.0.18", ] [[package]] @@ -1385,6 +1395,17 @@ dependencies = [ "syn", ] +[[package]] +name = "thiserror-impl" +version = "2.0.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ebc4ee7f67670e9b64d05fa4253e753e016c6c95ff35b89b7941d6b856dec1d5" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + [[package]] name = "thread_local" version = "1.1.9" @@ -1637,7 +1658,7 @@ dependencies = [ "once_cell", "rand", "smallvec", - "thiserror", + "thiserror 1.0.69", "tinyvec", "tokio", "tracing", @@ -1659,7 +1680,7 @@ dependencies = [ "rand", "resolv-conf", "smallvec", - "thiserror", + "thiserror 1.0.69", "tokio", "tracing", "trust-dns-proto", @@ -1742,7 +1763,7 @@ dependencies = [ "serde", "serde_json", "tempfile", - "thiserror", + "thiserror 2.0.18", "tokio", "tokio-native-tls", "tokio-test", diff --git a/Cargo.toml b/Cargo.toml index 89b60b9..7000886 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -21,7 +21,7 @@ serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" tracing = "0.1" anyhow = "1.0" -thiserror = "1.0" +thiserror = "2.0" clap = { version = "4.4", features = ["derive", "env"] } [profile.release] diff --git a/vext-core/Cargo.toml b/vext-core/Cargo.toml index 199eff9..cf8b090 100644 --- a/vext-core/Cargo.toml +++ b/vext-core/Cargo.toml @@ -38,7 +38,7 @@ tracing-subscriber = { version = "0.3", features = ["env-filter"] } clap = { version = "4.4", features = ["derive", "env"] } # Error handling -thiserror = "1.0" +thiserror = "2.0" anyhow = "1.0" # TLS support (use vendored OpenSSL for cross-compilation)