diff --git a/Cargo.lock b/Cargo.lock index 1c29664..fa1ef1e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -441,7 +441,7 @@ checksum = "58678a64de2fced2bdec6bca052a6716a0efe692d6e3f53d1bda6a1def64cfc0" dependencies = [ "once_cell", "protobuf-support", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -450,7 +450,7 @@ version = "3.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e1ed294a835b0f30810e13616b1cd34943c6d1e84a8f3b0dcfe466d256c3e7e7" dependencies = [ - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -577,7 +577,7 @@ checksum = "ba009ff324d1fc1b900bd1fdb31564febe58a8ccc8a6fdbb93b543d33b13ca43" dependencies = [ "getrandom 0.2.17", "libredox", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -755,7 +755,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]] @@ -769,6 +778,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 = "tokio" version = "1.50.0" @@ -844,7 +864,7 @@ dependencies = [ "anyhow", "serde", "serde_json", - "thiserror", + "thiserror 2.0.18", ] [[package]] @@ -904,7 +924,7 @@ dependencies = [ "serde", "serde_json", "tempfile", - "thiserror", + "thiserror 2.0.18", "tokio", "vectorprime-core", "which", diff --git a/crates/vectorprime-core/Cargo.toml b/crates/vectorprime-core/Cargo.toml index 5f6e6a1..c69732b 100644 --- a/crates/vectorprime-core/Cargo.toml +++ b/crates/vectorprime-core/Cargo.toml @@ -7,4 +7,4 @@ edition = "2021" serde = { version = "1", features = ["derive"] } serde_json = "1" anyhow = "1" -thiserror = "1" +thiserror = "2" diff --git a/crates/vectorprime-runtime/Cargo.toml b/crates/vectorprime-runtime/Cargo.toml index 5fed02f..fea7f7a 100644 --- a/crates/vectorprime-runtime/Cargo.toml +++ b/crates/vectorprime-runtime/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" [dependencies] vectorprime-core = { path = "../vectorprime-core" } anyhow = "1" -thiserror = "1" +thiserror = "2" tokio = { version = "1", features = ["full"] } which = "4" serde = { version = "1", features = ["derive"] }