diff --git a/Cargo.lock b/Cargo.lock index 79f73ce681f..e0c037e4f0f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2441,7 +2441,7 @@ dependencies = [ "schemars", "serde", "serde_json", - "thiserror 1.0.69", + "thiserror 2.0.11", "tokio", ] @@ -2453,7 +2453,7 @@ dependencies = [ "console_error_panic_hook", "js-sys", "serde-wasm-bindgen 0.6.5", - "thiserror 1.0.69", + "thiserror 2.0.11", "wasm-bindgen", "wasm-bindgen-futures", "wasm-storage", @@ -4295,7 +4295,7 @@ dependencies = [ "rand", "serde", "serde-wasm-bindgen 0.6.5", - "thiserror 1.0.69", + "thiserror 2.0.11", "tokio", "tsify", "url", @@ -4696,7 +4696,7 @@ dependencies = [ "sha2 0.9.9", "sqlx", "tempfile", - "thiserror 1.0.69", + "thiserror 2.0.11", "time", "tokio", "tokio-stream", @@ -4736,7 +4736,7 @@ dependencies = [ "serde_json", "sha2 0.10.8", "tendermint 0.40.1", - "thiserror 1.0.69", + "thiserror 2.0.11", "time", "ts-rs", "utoipa", @@ -4788,7 +4788,7 @@ dependencies = [ "rand", "serde", "serde_json", - "thiserror 1.0.69", + "thiserror 2.0.11", "tokio", "tokio-stream", "tokio-util", @@ -4811,7 +4811,7 @@ dependencies = [ "rand", "serde", "sha2 0.10.8", - "thiserror 1.0.69", + "thiserror 2.0.11", "x25519-dalek", ] @@ -4831,7 +4831,7 @@ dependencies = [ "nym-task", "nym-validator-client", "rand", - "thiserror 1.0.69", + "thiserror 2.0.11", "url", "zeroize", ] @@ -4870,7 +4870,7 @@ dependencies = [ "nym-validator-client", "serde", "serde_json", - "thiserror 1.0.69", + "thiserror 2.0.11", ] [[package]] @@ -4948,7 +4948,7 @@ dependencies = [ "serde_json", "tap", "tempfile", - "thiserror 1.0.69", + "thiserror 2.0.11", "time", "tokio", "toml 0.8.19", @@ -4985,7 +4985,7 @@ dependencies = [ "serde", "serde_json", "tap", - "thiserror 1.0.69", + "thiserror 2.0.11", "time", "tokio", "tokio-tungstenite", @@ -5042,7 +5042,7 @@ dependencies = [ "si-scale", "tap", "tempfile", - "thiserror 1.0.69", + "thiserror 2.0.11", "time", "tokio", "tokio-stream", @@ -5067,7 +5067,7 @@ dependencies = [ "nym-sphinx-addressing", "nym-sphinx-params", "serde", - "thiserror 1.0.69", + "thiserror 2.0.11", "url", ] @@ -5082,7 +5082,7 @@ dependencies = [ "nym-gateway-requests", "serde", "sqlx", - "thiserror 1.0.69", + "thiserror 2.0.11", "time", "tokio", "url", @@ -5100,7 +5100,7 @@ dependencies = [ "nym-sphinx", "nym-task", "sqlx", - "thiserror 1.0.69", + "thiserror 2.0.11", "time", "tokio", ] @@ -5119,7 +5119,7 @@ dependencies = [ "serde", "serde-wasm-bindgen 0.6.5", "serde_json", - "thiserror 1.0.69", + "thiserror 2.0.11", "tsify", "wasm-bindgen", "wasm-bindgen-futures", @@ -5157,7 +5157,7 @@ dependencies = [ "serde", "serde_derive", "sha2 0.9.9", - "thiserror 1.0.69", + "thiserror 2.0.11", "zeroize", ] @@ -5204,7 +5204,7 @@ dependencies = [ "serde", "sha2 0.9.9", "subtle 2.5.0", - "thiserror 1.0.69", + "thiserror 2.0.11", "zeroize", ] @@ -5217,7 +5217,7 @@ dependencies = [ "log", "nym-network-defaults", "serde", - "thiserror 1.0.69", + "thiserror 2.0.11", "toml 0.8.19", "url", ] @@ -5233,7 +5233,7 @@ dependencies = [ "schemars", "serde", "serde_json", - "thiserror 1.0.69", + "thiserror 2.0.11", "utoipa", "vergen", ] @@ -5294,7 +5294,7 @@ dependencies = [ "strum 0.26.3", "strum_macros 0.26.4", "tempfile", - "thiserror 1.0.69", + "thiserror 2.0.11", "time", "tokio", "tokio-util", @@ -5342,7 +5342,7 @@ dependencies = [ "nym-ecash-time", "serde", "sqlx", - "thiserror 1.0.69", + "thiserror 2.0.11", "tokio", "zeroize", ] @@ -5360,7 +5360,7 @@ dependencies = [ "nym-credentials-interface", "nym-ecash-time", "nym-validator-client", - "thiserror 1.0.69", + "thiserror 2.0.11", "time", "tokio", ] @@ -5384,7 +5384,7 @@ dependencies = [ "nym-validator-client", "rand", "si-scale", - "thiserror 1.0.69", + "thiserror 2.0.11", "time", "tokio", "tracing", @@ -5408,7 +5408,7 @@ dependencies = [ "nym-validator-client", "rand", "serde", - "thiserror 1.0.69", + "thiserror 2.0.11", "time", "zeroize", ] @@ -5424,7 +5424,7 @@ dependencies = [ "rand", "serde", "strum 0.26.3", - "thiserror 1.0.69", + "thiserror 2.0.11", "time", "utoipa", ] @@ -5452,7 +5452,7 @@ dependencies = [ "serde", "serde_bytes", "subtle-encoding", - "thiserror 1.0.69", + "thiserror 2.0.11", "x25519-dalek", "zeroize", ] @@ -5476,7 +5476,7 @@ dependencies = [ "serde", "serde_derive", "sha2 0.9.9", - "thiserror 1.0.69", + "thiserror 2.0.11", "zeroize", ] @@ -5491,7 +5491,7 @@ dependencies = [ "cw-utils", "cw2", "nym-multisig-contract-common", - "thiserror 1.0.69", + "thiserror 2.0.11", ] [[package]] @@ -5526,7 +5526,7 @@ dependencies = [ "reqwest 0.12.4", "serde", "serde_json", - "thiserror 1.0.69", + "thiserror 2.0.11", "tracing", "utoipa", ] @@ -5550,7 +5550,7 @@ dependencies = [ "nym-explorer-api-requests", "reqwest 0.12.4", "serde", - "thiserror 1.0.69", + "thiserror 2.0.11", "tokio", "tracing", "url", @@ -5610,7 +5610,7 @@ dependencies = [ "rand", "sha2 0.10.8", "sqlx", - "thiserror 1.0.69", + "thiserror 2.0.11", "time", "tokio", "tokio-stream", @@ -5643,7 +5643,7 @@ dependencies = [ "rand", "serde", "si-scale", - "thiserror 1.0.69", + "thiserror 2.0.11", "time", "tokio", "tokio-stream", @@ -5676,7 +5676,7 @@ dependencies = [ "serde", "serde_json", "strum 0.26.3", - "thiserror 1.0.69", + "thiserror 2.0.11", "tokio", "tracing", "tungstenite 0.20.1", @@ -5694,7 +5694,7 @@ dependencies = [ "nym-statistics-common", "sqlx", "strum 0.26.3", - "thiserror 1.0.69", + "thiserror 2.0.11", "time", "tokio", "tracing", @@ -5710,7 +5710,7 @@ dependencies = [ "nym-gateway-requests", "nym-sphinx", "sqlx", - "thiserror 1.0.69", + "thiserror 2.0.11", "time", "tokio", "tracing", @@ -5726,7 +5726,7 @@ dependencies = [ "nym-ffi-shared", "nym-sdk", "nym-sphinx-anonymous-replies", - "thiserror 1.0.69", + "thiserror 2.0.11", "tokio", "uniffi", "uniffi_build", @@ -5753,7 +5753,7 @@ dependencies = [ "reqwest 0.12.4", "serde", "serde_json", - "thiserror 1.0.69", + "thiserror 2.0.11", "tracing", "url", "wasmtimer", @@ -5784,7 +5784,7 @@ version = "0.1.0" dependencies = [ "nym-credential-storage", "nym-credentials", - "thiserror 1.0.69", + "thiserror 2.0.11", "time", "tracing", "zeroize", @@ -5810,7 +5810,7 @@ version = "0.1.0" dependencies = [ "log", "rand", - "thiserror 1.0.69", + "thiserror 2.0.11", ] [[package]] @@ -5824,7 +5824,7 @@ dependencies = [ "nym-sphinx", "rand", "serde", - "thiserror 1.0.69", + "thiserror 2.0.11", "time", "tokio", "tokio-util", @@ -5864,7 +5864,7 @@ dependencies = [ "serde", "serde_json", "tap", - "thiserror 1.0.69", + "thiserror 2.0.11", "time", "tokio", "tokio-tun", @@ -5880,7 +5880,7 @@ dependencies = [ "k256", "ledger-transport", "ledger-transport-hid", - "thiserror 1.0.69", + "thiserror 2.0.11", ] [[package]] @@ -5925,7 +5925,7 @@ dependencies = [ "serde", "serde-json-wasm", "serde_repr", - "thiserror 1.0.69", + "thiserror 2.0.11", "time", "ts-rs", "utoipa", @@ -5951,7 +5951,7 @@ dependencies = [ "nym-task", "rand", "serde", - "thiserror 1.0.69", + "thiserror 2.0.11", "time", "tokio", "tokio-util", @@ -5970,7 +5970,7 @@ dependencies = [ "cw4", "schemars", "serde", - "thiserror 1.0.69", + "thiserror 2.0.11", ] [[package]] @@ -6063,7 +6063,7 @@ dependencies = [ "sqlx", "tap", "tempfile", - "thiserror 1.0.69", + "thiserror 2.0.11", "time", "tokio", "tokio-tungstenite", @@ -6127,7 +6127,7 @@ dependencies = [ "serde_json", "si-scale", "sysinfo", - "thiserror 1.0.69", + "thiserror 2.0.11", "time", "tokio", "tokio-util", @@ -6173,7 +6173,7 @@ dependencies = [ "serde", "serde_json", "strum 0.26.3", - "thiserror 1.0.69", + "thiserror 2.0.11", "time", "tokio", "utoipa", @@ -6227,7 +6227,7 @@ dependencies = [ "sqlx", "strum 0.26.3", "strum_macros 0.26.4", - "thiserror 1.0.69", + "thiserror 2.0.11", "time", "tokio", "tokio-util", @@ -6270,7 +6270,7 @@ dependencies = [ "rand_chacha", "serde", "serde_json", - "thiserror 1.0.69", + "thiserror 2.0.11", "tokio", "wasm-utils", ] @@ -6285,7 +6285,7 @@ dependencies = [ "rand", "serde", "serde-wasm-bindgen 0.6.5", - "thiserror 1.0.69", + "thiserror 2.0.11", "tokio", "tsify", "wasm-bindgen", @@ -6326,7 +6326,7 @@ name = "nym-ordered-buffer" version = "0.1.0" dependencies = [ "log", - "thiserror 1.0.69", + "thiserror 2.0.11", ] [[package]] @@ -6344,7 +6344,7 @@ dependencies = [ "rand", "rayon", "sphinx-packet", - "thiserror 1.0.69", + "thiserror 2.0.11", "zeroize", ] @@ -6398,7 +6398,7 @@ dependencies = [ "reqwest 0.12.4", "serde", "tap", - "thiserror 1.0.69", + "thiserror 2.0.11", "tokio", "tokio-stream", "tokio-util", @@ -6441,7 +6441,7 @@ dependencies = [ "nym-sphinx-anonymous-replies", "serde", "serde_json", - "thiserror 1.0.69", + "thiserror 2.0.11", "tokio", ] @@ -6471,7 +6471,7 @@ dependencies = [ "serde", "serde_json", "tap", - "thiserror 1.0.69", + "thiserror 2.0.11", "time", "tokio", "url", @@ -6505,7 +6505,7 @@ dependencies = [ "schemars", "serde", "tap", - "thiserror 1.0.69", + "thiserror 2.0.11", "tokio", "url", ] @@ -6537,7 +6537,7 @@ dependencies = [ "serde", "serde_json", "tap", - "thiserror 1.0.69", + "thiserror 2.0.11", ] [[package]] @@ -6562,7 +6562,7 @@ dependencies = [ "rand", "rand_chacha", "rand_distr", - "thiserror 1.0.69", + "thiserror 2.0.11", "tokio", ] @@ -6580,7 +6580,7 @@ dependencies = [ "nym-topology", "rand", "serde", - "thiserror 1.0.69", + "thiserror 2.0.11", "zeroize", ] @@ -6592,7 +6592,7 @@ dependencies = [ "nym-sphinx-types", "rand", "serde", - "thiserror 1.0.69", + "thiserror 2.0.11", ] [[package]] @@ -6609,7 +6609,7 @@ dependencies = [ "rand", "rand_chacha", "serde", - "thiserror 1.0.69", + "thiserror 2.0.11", "wasm-bindgen", ] @@ -6626,7 +6626,7 @@ dependencies = [ "nym-sphinx-types", "rand", "serde", - "thiserror 1.0.69", + "thiserror 2.0.11", "utoipa", ] @@ -6644,7 +6644,7 @@ dependencies = [ "nym-sphinx-types", "nym-topology", "rand", - "thiserror 1.0.69", + "thiserror 2.0.11", ] [[package]] @@ -6655,7 +6655,7 @@ dependencies = [ "nym-sphinx-addressing", "nym-sphinx-params", "nym-sphinx-types", - "thiserror 1.0.69", + "thiserror 2.0.11", ] [[package]] @@ -6670,7 +6670,7 @@ dependencies = [ "nym-sphinx-forwarding", "nym-sphinx-params", "nym-sphinx-types", - "thiserror 1.0.69", + "thiserror 2.0.11", "tokio", "tokio-util", ] @@ -6682,7 +6682,7 @@ dependencies = [ "nym-crypto", "nym-sphinx-types", "serde", - "thiserror 1.0.69", + "thiserror 2.0.11", ] [[package]] @@ -6691,7 +6691,7 @@ version = "0.1.0" dependencies = [ "nym-sphinx-addressing", "nym-sphinx-types", - "thiserror 1.0.69", + "thiserror 2.0.11", ] [[package]] @@ -6700,7 +6700,7 @@ version = "0.2.0" dependencies = [ "nym-outfox", "sphinx-packet", - "thiserror 1.0.69", + "thiserror 2.0.11", ] [[package]] @@ -6719,7 +6719,7 @@ dependencies = [ "sha2 0.10.8", "si-scale", "sysinfo", - "thiserror 1.0.69", + "thiserror 2.0.11", "time", "tokio", "wasmtimer", @@ -6736,7 +6736,7 @@ dependencies = [ "rand", "serde", "serde_json", - "thiserror 1.0.69", + "thiserror 2.0.11", "zeroize", ] @@ -6747,7 +6747,7 @@ dependencies = [ "cfg-if", "futures", "log", - "thiserror 1.0.69", + "thiserror 2.0.11", "tokio", "tokio-util", "tracing", @@ -6789,7 +6789,7 @@ dependencies = [ "reqwest 0.12.4", "serde", "serde_json", - "thiserror 1.0.69", + "thiserror 2.0.11", "tracing", "tsify", "wasm-bindgen", @@ -6803,7 +6803,7 @@ dependencies = [ "etherparse", "log", "nym-wireguard-types", - "thiserror 1.0.69", + "thiserror 2.0.11", "tokio", "tokio-tun", ] @@ -6831,7 +6831,7 @@ dependencies = [ "sha2 0.10.8", "strum 0.26.3", "tempfile", - "thiserror 1.0.69", + "thiserror 2.0.11", "ts-rs", "url", "utoipa", @@ -6878,7 +6878,7 @@ dependencies = [ "serde_json", "sha2 0.9.9", "tendermint-rpc", - "thiserror 1.0.69", + "thiserror 2.0.11", "time", "tokio", "tracing", @@ -6922,7 +6922,7 @@ dependencies = [ "serde_with", "sha2 0.10.8", "sqlx", - "thiserror 1.0.69", + "thiserror 2.0.11", "time", "tokio", "tracing", @@ -6941,7 +6941,7 @@ dependencies = [ "nym-task", "nym-validator-client", "rand", - "thiserror 1.0.69", + "thiserror 2.0.11", "time", "tokio", "tokio-util", @@ -6959,7 +6959,7 @@ dependencies = [ "nym-contracts-common", "nym-mixnet-contract-common", "serde", - "thiserror 1.0.69", + "thiserror 2.0.11", "ts-rs", ] @@ -6980,7 +6980,7 @@ dependencies = [ "serde", "serde-wasm-bindgen 0.6.5", "serde_json", - "thiserror 1.0.69", + "thiserror 2.0.11", "time", "tsify", "wasm-bindgen", @@ -7027,7 +7027,7 @@ dependencies = [ "nym-node-metrics", "nym-task", "nym-wireguard-types", - "thiserror 1.0.69", + "thiserror 2.0.11", "time", "tokio", "tokio-stream", @@ -7046,7 +7046,7 @@ dependencies = [ "nym-network-defaults", "rand", "serde", - "thiserror 1.0.69", + "thiserror 2.0.11", "x25519-dalek", ] @@ -7073,7 +7073,7 @@ dependencies = [ "serde_json", "sha2 0.10.8", "tar", - "thiserror 1.0.69", + "thiserror 2.0.11", "time", "tokio", "tracing", @@ -7102,7 +7102,7 @@ dependencies = [ "serde", "serde_json", "sqlx", - "thiserror 1.0.69", + "thiserror 2.0.11", "time", "tokio", "tokio-util", @@ -7129,7 +7129,7 @@ dependencies = [ "sqlx", "tendermint 0.40.1", "tendermint-rpc", - "thiserror 1.0.69", + "thiserror 2.0.11", "time", "tokio", "tokio-stream", @@ -9936,7 +9936,7 @@ dependencies = [ "serde_json", "sqlx", "tempfile", - "thiserror 1.0.69", + "thiserror 2.0.11", "time", "tokio", "toml 0.8.19", @@ -11218,7 +11218,7 @@ dependencies = [ "rand", "serde", "serde-wasm-bindgen 0.6.5", - "thiserror 1.0.69", + "thiserror 2.0.11", "time", "tsify", "url", @@ -11240,7 +11240,7 @@ dependencies = [ "nym-store-cipher", "serde", "serde-wasm-bindgen 0.6.5", - "thiserror 1.0.69", + "thiserror 2.0.11", "wasm-bindgen", "wasm-utils", ] @@ -11956,7 +11956,7 @@ dependencies = [ "rand", "reqwest 0.12.4", "serde", - "thiserror 1.0.69", + "thiserror 2.0.11", "tokio", "tsify", "uuid", diff --git a/Cargo.toml b/Cargo.toml index dc20a58404c..321840be8ea 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -329,7 +329,7 @@ sysinfo = "0.33.0" tap = "1.0.1" tar = "0.4.43" tempfile = "3.15" -thiserror = "1.0.64" +thiserror = "2.0.11" time = "0.3.37" tokio = "1.39" tokio-stream = "0.1.17" diff --git a/sdk/ffi/go/Cargo.toml b/sdk/ffi/go/Cargo.toml index 487864d3f8c..3ff77e3385f 100644 --- a/sdk/ffi/go/Cargo.toml +++ b/sdk/ffi/go/Cargo.toml @@ -21,7 +21,7 @@ tokio = { version = "1", features = ["full"] } lazy_static = "1.5.0" # error handling anyhow = "1.0.95" -thiserror = "1.0.64" +thiserror = "2.0.11" [build-dependencies] uniffi = { version = "0.25.2", features = ["build"] }