diff --git a/Cargo.lock b/Cargo.lock index 5e3f268..e3d3996 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -140,7 +140,7 @@ dependencies = [ "rand", "serde", "serde_json", - "thiserror", + "thiserror 2.0.21", "tokio", "tracing", "wasm-bindgen-futures", @@ -180,7 +180,7 @@ dependencies = [ "rand", "serde", "sha2", - "thiserror", + "thiserror 2.0.21", "tokio", "tracing", "zeroize", @@ -225,7 +225,7 @@ dependencies = [ "serde", "serde_json", "sha2", - "thiserror", + "thiserror 2.0.21", ] [[package]] @@ -238,7 +238,7 @@ dependencies = [ "ap-relay-client", "ap-relay-protocol", "async-trait", - "thiserror", + "thiserror 2.0.21", "tokio", "tracing", "tracing-subscriber", @@ -442,7 +442,7 @@ dependencies = [ "semver", "serde", "serde_json", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -1817,7 +1817,7 @@ checksum = "ba009ff324d1fc1b900bd1fdb31564febe58a8ccc8a6fdbb93b543d33b13ca43" dependencies = [ "getrandom 0.2.17", "libredox", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -2234,6 +2234,17 @@ dependencies = [ "unicode-ident", ] +[[package]] +name = "syn" +version = "3.0.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4ae9ccbea3a7b0b09443036490c8f34a8b1b760fd345e5c0dae0aac718faea79" +dependencies = [ + "proc-macro2", + "quote", + "unicode-ident", +] + [[package]] name = "tempfile" version = "3.26.0" @@ -2262,7 +2273,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.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "09e52cb86a36cede5cb101bf8908837b3e4c6e5e59fe7fd85c23fb56200d189e" +dependencies = [ + "thiserror-impl 2.0.21", ] [[package]] @@ -2276,6 +2296,17 @@ dependencies = [ "syn 2.0.117", ] +[[package]] +name = "thiserror-impl" +version = "2.0.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fe5197923287db20a58125f0bc85c062f7f2c892de97b18c356f9efb14b28524" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.10", +] + [[package]] name = "thiserror-impl-no-std" version = "2.0.2" @@ -2451,7 +2482,7 @@ dependencies = [ "native-tls", "rand", "sha1", - "thiserror", + "thiserror 1.0.69", "utf-8", ] diff --git a/Cargo.toml b/Cargo.toml index d58a3fe..0ef2a1b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -69,7 +69,7 @@ serde_json = "1.0" sha2 = "0.10" snow = { version = "0.9", features = ["xchachapoly"] } syn = "2.0" -thiserror = "1.0" +thiserror = "2.0" tokio = { version = "1.36.0", features = [ "macros", "rt-multi-thread", diff --git a/crates/ap-uniffi/Cargo.toml b/crates/ap-uniffi/Cargo.toml index 4f56400..41633d0 100644 --- a/crates/ap-uniffi/Cargo.toml +++ b/crates/ap-uniffi/Cargo.toml @@ -20,7 +20,7 @@ ap-relay-client = { path = "../ap-relay-client", default-features = false, featu ap-relay-protocol = { path = "../ap-relay-protocol" } ap-noise = { path = "../ap-noise" } async-trait = "0.1" -thiserror = "1.0" +thiserror = "2.0" tokio = { version = "1.36.0", features = ["rt-multi-thread", "sync", "macros"] } tracing = "0.1" tracing-subscriber = { version = "0.3", features = ["fmt", "env-filter"] }