From 832fc92d5213926c843557737fc57bb1ff95e784 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 11 Nov 2024 18:25:24 +0000 Subject: [PATCH] Bump thiserror from 1.0.68 to 2.0.3 Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.68 to 2.0.3. - [Release notes](https://github.com/dtolnay/thiserror/releases) - [Commits](https://github.com/dtolnay/thiserror/compare/1.0.68...2.0.3) --- updated-dependencies: - dependency-name: thiserror dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- Cargo.lock | 56 +++++++++++++++++++++++++++------------- Cargo.toml | 2 +- k2pow-service/Cargo.toml | 2 +- scrypt-ocl/Cargo.toml | 2 +- 4 files changed, 41 insertions(+), 21 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 0aae502d..f97e9a8b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1260,7 +1260,7 @@ checksum = "709d653e7c92498eb29fb86a2a6f0f3502b97530f33aedb32ef848d4d28b31a3" dependencies = [ "rust_decimal", "serde", - "thiserror", + "thiserror 1.0.69", "time", "winnow 0.6.8", ] @@ -2167,7 +2167,7 @@ dependencies = [ "post-rs", "serde", "serde_with", - "thiserror", + "thiserror 2.0.3", "tokio", "tower-http 0.6.1", "tracing", @@ -2345,7 +2345,7 @@ dependencies = [ "metrics", "metrics-util", "quanta", - "thiserror", + "thiserror 1.0.69", "tokio", "tracing", ] @@ -2583,7 +2583,7 @@ dependencies = [ "num-traits 0.2.18", "ocl-core", "qutex", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -2599,7 +2599,7 @@ dependencies = [ "num-traits 0.2.18", "ocl-core-vector", "rustc_version", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -2767,7 +2767,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "56f8023d0fb78c8e03784ea1c7f3fa36e68a723138990b8d5a47d916b651e7a8" dependencies = [ "memchr", - "thiserror", + "thiserror 1.0.69", "ucd-trie", ] @@ -2980,7 +2980,7 @@ dependencies = [ "serde_json", "serde_with", "tempfile", - "thiserror", + "thiserror 2.0.3", "thread_local", "tokio", ] @@ -3010,7 +3010,7 @@ dependencies = [ "smallvec", "symbolic-demangle", "tempfile", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -3292,7 +3292,7 @@ source = "git+https://github.com/spacemeshos/randomx-rs?rev=d46bcd90e09428883e25 dependencies = [ "bitflags 2.5.0", "libc", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -3363,7 +3363,7 @@ checksum = "ba009ff324d1fc1b900bd1fdb31564febe58a8ccc8a6fdbb93b543d33b13ca43" dependencies = [ "getrandom", "libredox", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -3466,7 +3466,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9838134a2bfaa8e1f40738fcc972ac799de6e0e06b5157acb95fc2b05a0ea283" dependencies = [ "lazy_static", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -3558,7 +3558,7 @@ dependencies = [ "mime", "mime_guess", "rand", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -3728,7 +3728,7 @@ dependencies = [ "post-rs", "regex", "rstest", - "thiserror", + "thiserror 2.0.3", ] [[package]] @@ -4179,18 +4179,38 @@ checksum = "3369f5ac52d5eb6ab48c6b4ffdc8efbcad6b89c765749064ba298f2c68a16a76" [[package]] name = "thiserror" -version = "1.0.68" +version = "1.0.69" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "02dd99dc800bbb97186339685293e1cc5d9df1f8fae2d0aecd9ff1c77efea892" +checksum = "b6aaf5339b578ea85b50e080feb250a3e8ae8cfcdff9a461c9ec2904bc923f52" dependencies = [ - "thiserror-impl", + "thiserror-impl 1.0.69", +] + +[[package]] +name = "thiserror" +version = "2.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c006c85c7651b3cf2ada4584faa36773bd07bac24acfb39f3c431b36d7e667aa" +dependencies = [ + "thiserror-impl 2.0.3", +] + +[[package]] +name = "thiserror-impl" +version = "1.0.69" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.87", ] [[package]] name = "thiserror-impl" -version = "1.0.68" +version = "2.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a7c61ec9a6f64d2793d8a45faba21efbe3ced62a886d44c36a009b2b519b4c7e" +checksum = "f077553d607adc1caf65430528a576c757a71ed73944b66ebb58ef2bbd243568" dependencies = [ "proc-macro2", "quote", diff --git a/Cargo.toml b/Cargo.toml index 7b8857df..3c5bd11e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -41,7 +41,7 @@ randomx-rs = { git = "https://github.com/spacemeshos/randomx-rs", rev = "d46bcd9 primitive-types = "0.13.1" -thiserror = "1.0.68" +thiserror = "2.0.3" thread_local = "1.1.7" mockall = "0.13.0" core_affinity = "0.8.1" diff --git a/k2pow-service/Cargo.toml b/k2pow-service/Cargo.toml index 0ba3ecde..c86be4e1 100644 --- a/k2pow-service/Cargo.toml +++ b/k2pow-service/Cargo.toml @@ -15,7 +15,7 @@ tracing-subscriber = { version = "0.3.18", features = ["env-filter"] } axum = "0.7.5" tower-http = {version = "0.6.1", features = ["trace"]} hex = "0.4.3" -thiserror = "1.0.68" +thiserror = "2.0.3" [dev-dependencies] axum-test = "16.3.0" diff --git a/scrypt-ocl/Cargo.toml b/scrypt-ocl/Cargo.toml index 7db92cb7..e871c589 100644 --- a/scrypt-ocl/Cargo.toml +++ b/scrypt-ocl/Cargo.toml @@ -5,7 +5,7 @@ edition = "2021" [dependencies] ocl = "0.19.7" -thiserror = "1.0.68" +thiserror = "2.0.3" post-rs = { path = "../" } log = "0.4.22" regex = "1.11.1"