From f00c0d05a50ec1054f5a4ce8d7d6bcc2cf7b7738 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 28 Sep 2022 17:51:15 +0000 Subject: [PATCH] Bump thiserror from 1.0.23 to 1.0.37 Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.23 to 1.0.37. - [Release notes](https://github.com/dtolnay/thiserror/releases) - [Commits](https://github.com/dtolnay/thiserror/compare/1.0.23...1.0.37) --- updated-dependencies: - dependency-name: thiserror dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- Cargo.lock | 8 ++++---- common/short-hex-str/Cargo.toml | 2 +- common/time-service/Cargo.toml | 2 +- config/Cargo.toml | 2 +- config/management/Cargo.toml | 2 +- config/management/genesis/Cargo.toml | 2 +- config/management/network-address-encryption/Cargo.toml | 2 +- config/management/operational/Cargo.toml | 2 +- config/seed-peer-generator/Cargo.toml | 2 +- consensus/Cargo.toml | 2 +- consensus/safety-rules/Cargo.toml | 2 +- crypto/crypto/Cargo.toml | 2 +- execution/execution-correctness/Cargo.toml | 2 +- execution/executor-types/Cargo.toml | 2 +- language/compiler/ir-to-bytecode/Cargo.toml | 2 +- language/move-core/types/Cargo.toml | 2 +- language/testing-infra/functional-tests/Cargo.toml | 2 +- network/Cargo.toml | 2 +- network/network-address/Cargo.toml | 2 +- secure/json-rpc/Cargo.toml | 2 +- secure/key-manager/Cargo.toml | 2 +- secure/net/Cargo.toml | 2 +- secure/storage/Cargo.toml | 2 +- secure/storage/github/Cargo.toml | 2 +- secure/storage/vault/Cargo.toml | 2 +- storage/diemdb/Cargo.toml | 2 +- storage/jellyfish-merkle/Cargo.toml | 2 +- storage/storage-interface/Cargo.toml | 2 +- testsuite/cli/diem-wallet/Cargo.toml | 2 +- testsuite/diem-swarm/Cargo.toml | 2 +- types/Cargo.toml | 2 +- 31 files changed, 34 insertions(+), 34 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index d8eceef351a1..4c2f50a6714a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -6865,18 +6865,18 @@ dependencies = [ [[package]] name = "thiserror" -version = "1.0.23" +version = "1.0.37" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "76cc616c6abf8c8928e2fdcc0dbfab37175edd8fb49a4641066ad1364fdab146" +checksum = "10deb33631e3c9018b9baf9dcbbc4f737320d2b576bac10f6aefa048fa407e3e" dependencies = [ "thiserror-impl", ] [[package]] name = "thiserror-impl" -version = "1.0.23" +version = "1.0.37" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9be73a2caec27583d0046ef3796c3794f868a5bc813db689eed00c7631275cd1" +checksum = "982d17546b47146b28f7c22e3d08465f6b8903d0ea13c1660d9d84a6e7adcdbb" dependencies = [ "proc-macro2 1.0.24", "quote 1.0.8", diff --git a/common/short-hex-str/Cargo.toml b/common/short-hex-str/Cargo.toml index a86e0849b0a6..7357e5afdd1a 100644 --- a/common/short-hex-str/Cargo.toml +++ b/common/short-hex-str/Cargo.toml @@ -12,7 +12,7 @@ edition = "2018" [dependencies] mirai-annotations = "1.10.1" serde = { version = "1.0.120", default-features = false } -thiserror = "1.0.23" +thiserror = "1.0.37" diem-workspace-hack = { path = "../workspace-hack", version = "0.1.0" } diff --git a/common/time-service/Cargo.toml b/common/time-service/Cargo.toml index e196dce9885c..50848eacd239 100644 --- a/common/time-service/Cargo.toml +++ b/common/time-service/Cargo.toml @@ -13,7 +13,7 @@ edition = "2018" enum_dispatch = "0.3.5" futures = { version = "0.3.12", optional = true } pin-project = { version = "1.0.4", optional = true } -thiserror = "1.0.23" +thiserror = "1.0.37" tokio = { version = "1.0.2", features = ["macros", "rt-multi-thread", "time"], optional = true } diem-infallible = { path = "../infallible", version = "0.1.0" } diff --git a/config/Cargo.toml b/config/Cargo.toml index 6de86f85d814..80de5ee276f9 100644 --- a/config/Cargo.toml +++ b/config/Cargo.toml @@ -16,7 +16,7 @@ mirai-annotations = "1.10.1" rand = "0.7.3" serde = { version = "1.0.120", features = ["rc"], default-features = false } serde_yaml = "0.8.15" -thiserror = "1.0.23" +thiserror = "1.0.37" bcs = "0.1.2" diff --git a/config/management/Cargo.toml b/config/management/Cargo.toml index e139c7fe1484..f5ed33890c69 100644 --- a/config/management/Cargo.toml +++ b/config/management/Cargo.toml @@ -15,7 +15,7 @@ hex = "0.4.2" serde = { version = "1.0.120", features = ["rc"], default-features = false } serde_yaml = "0.8.15" structopt = "0.3.21" -thiserror = "1.0.23" +thiserror = "1.0.37" toml = { version = "0.5.8", default-features = false } bcs = "0.1.2" diff --git a/config/management/genesis/Cargo.toml b/config/management/genesis/Cargo.toml index 10b4ca142dd8..c2af4b230c2b 100644 --- a/config/management/genesis/Cargo.toml +++ b/config/management/genesis/Cargo.toml @@ -14,7 +14,7 @@ anyhow = "1.0.38" rand = "0.7.3" serde = { version = "1.0.120", features = ["rc"], default-features = false } structopt = "0.3.21" -thiserror = "1.0.23" +thiserror = "1.0.37" toml = { version = "0.5.8", default-features = false } consensus-types = { path = "../../../consensus/consensus-types", version = "0.1.0" } diff --git a/config/management/network-address-encryption/Cargo.toml b/config/management/network-address-encryption/Cargo.toml index 01f568f915c5..9dd677b7aff0 100644 --- a/config/management/network-address-encryption/Cargo.toml +++ b/config/management/network-address-encryption/Cargo.toml @@ -12,7 +12,7 @@ edition = "2018" [dependencies] base64 = "0.13.0" serde = { version = "1.0.120", features = ["rc"], default-features = false } -thiserror = "1.0.23" +thiserror = "1.0.37" bcs = "0.1.2" diem-global-constants = { path = "../../../config/global-constants", version = "0.1.0"} diff --git a/config/management/operational/Cargo.toml b/config/management/operational/Cargo.toml index e0793c6b8d22..7679e17e193f 100644 --- a/config/management/operational/Cargo.toml +++ b/config/management/operational/Cargo.toml @@ -15,7 +15,7 @@ hex = "0.4.2" serde = { version = "1.0.120", features = ["rc"], default-features = false } serde_json = "1.0.61" structopt = "0.3.21" -thiserror = "1.0.23" +thiserror = "1.0.37" toml = { version = "0.5.8", default-features = false } bcs = "0.1.2" diff --git a/config/seed-peer-generator/Cargo.toml b/config/seed-peer-generator/Cargo.toml index 5fec559a2b29..a6b9187dfe5b 100644 --- a/config/seed-peer-generator/Cargo.toml +++ b/config/seed-peer-generator/Cargo.toml @@ -15,7 +15,7 @@ hex = "0.4.2" rand = "0.7.3" serde_yaml = "0.8.15" structopt = "0.3.21" -thiserror = "1.0.23" +thiserror = "1.0.37" bcs = "0.1.2" diem-config = { path = "..", version = "0.1.0" } diff --git a/consensus/Cargo.toml b/consensus/Cargo.toml index 8440b5272d6b..6e2f3fb5343f 100644 --- a/consensus/Cargo.toml +++ b/consensus/Cargo.toml @@ -26,7 +26,7 @@ rand = { version = "0.7.3", default-features = false } serde = { version = "1.0.120", default-features = false } serde_json = "1.0.61" termion = { version = "1.5.5", default-features = false } -thiserror = "1.0.23" +thiserror = "1.0.37" tokio = { version = "1.0.2", features = ["full"] } channel = { path = "../common/channel", version = "0.1.0" } diff --git a/consensus/safety-rules/Cargo.toml b/consensus/safety-rules/Cargo.toml index f0a5affb54a9..c81a874bce98 100644 --- a/consensus/safety-rules/Cargo.toml +++ b/consensus/safety-rules/Cargo.toml @@ -29,7 +29,7 @@ diem-types = { path = "../../types", version = "0.1.0" } diem-vault-client = { path = "../../secure/storage/vault", version = "0.1.0" } diem-workspace-hack = { path = "../../common/workspace-hack", version = "0.1.0" } serde = { version = "1.0.120", default-features = false } -thiserror = "1.0.23" +thiserror = "1.0.37" [dev-dependencies] criterion = "0.3.3" diff --git a/crypto/crypto/Cargo.toml b/crypto/crypto/Cargo.toml index 1cc70c7e8df7..04bfecdadca5 100644 --- a/crypto/crypto/Cargo.toml +++ b/crypto/crypto/Cargo.toml @@ -31,7 +31,7 @@ serde-name = "0.1.1" sha2 = "0.9.2" short-hex-str = { path = "../../common/short-hex-str", version = "0.1.0" } static_assertions = "1.1.0" -thiserror = "1.0.23" +thiserror = "1.0.37" tiny-keccak = { version = "2.0.2", features = ["sha3"] } vanilla-x25519-dalek = { version = "1.1.0", package = 'x25519-dalek', default-features = false, features = ["std"], optional = true } x25519-dalek = { git = "https://github.com/novifinancial/x25519-dalek.git", branch = "fiat4", version = "1.1.0", default-features = false, features = ["std", "fiat_u64_backend"], optional = true} diff --git a/execution/execution-correctness/Cargo.toml b/execution/execution-correctness/Cargo.toml index e5e5d94ac96f..18fc904bd2fc 100644 --- a/execution/execution-correctness/Cargo.toml +++ b/execution/execution-correctness/Cargo.toml @@ -27,7 +27,7 @@ diem-vm = { path = "../../language/diem-vm", version = "0.1.0" } diem-workspace-hack = { path = "../../common/workspace-hack", version = "0.1.0" } serde = { version = "1.0.120", default-features = false } storage-client = { path = "../../storage/storage-client", version = "0.1.0" } -thiserror = "1.0.23" +thiserror = "1.0.37" # this is actually a dev-dependency (see "Conditional compilation of tests" in coding_guidelines.md) executor-test-helpers = { path = "../executor-test-helpers", version = "0.1.0", optional = true } diff --git a/execution/executor-types/Cargo.toml b/execution/executor-types/Cargo.toml index c192ec20891d..800d1a5fb0ee 100644 --- a/execution/executor-types/Cargo.toml +++ b/execution/executor-types/Cargo.toml @@ -12,7 +12,7 @@ edition = "2018" [dependencies] anyhow = "1.0.38" serde = { version = "1.0.120", default-features = false } -thiserror = "1.0.23" +thiserror = "1.0.37" bcs = "0.1.2" diem-crypto = { path = "../../crypto/crypto", version = "0.1.0" } diff --git a/language/compiler/ir-to-bytecode/Cargo.toml b/language/compiler/ir-to-bytecode/Cargo.toml index e8debbc299c7..e672f0ace1ff 100644 --- a/language/compiler/ir-to-bytecode/Cargo.toml +++ b/language/compiler/ir-to-bytecode/Cargo.toml @@ -21,7 +21,7 @@ bytecode-source-map = { path = "../bytecode-source-map", version = "0.1.0" } log = "0.4.13" codespan = "0.8.0" codespan-reporting = "0.8.0" -thiserror = "1.0.23" +thiserror = "1.0.37" [features] default = [] diff --git a/language/move-core/types/Cargo.toml b/language/move-core/types/Cargo.toml index 49e81240ed5a..ac89ce7719fd 100644 --- a/language/move-core/types/Cargo.toml +++ b/language/move-core/types/Cargo.toml @@ -20,7 +20,7 @@ ref-cast = "1.0.6" serde = { version = "1.0.120", default-features = false } serde_bytes = "0.11.5" static_assertions = "1.1.0" -thiserror = "1.0.23" +thiserror = "1.0.37" once_cell = "1.4.1" bcs = "0.1.2" diff --git a/language/testing-infra/functional-tests/Cargo.toml b/language/testing-infra/functional-tests/Cargo.toml index a7b422c86151..9c5d99e139dd 100644 --- a/language/testing-infra/functional-tests/Cargo.toml +++ b/language/testing-infra/functional-tests/Cargo.toml @@ -22,7 +22,7 @@ diem-crypto = { path = "../../../crypto/crypto", version = "0.1.0" } diem-workspace-hack = { path = "../../../common/workspace-hack", version = "0.1.0" } once_cell = "1.4.1" regex = { version = "1.4.3", default-features = false, features = ["std", "perf"] } -thiserror = "1.0.23" +thiserror = "1.0.37" aho-corasick = "0.7.14" termcolor = "1.1.2" datatest-stable = { path = "../../../common/datatest-stable", version = "0.1.0" } diff --git a/network/Cargo.toml b/network/Cargo.toml index 906d406fc551..55ee6c3895e1 100644 --- a/network/Cargo.toml +++ b/network/Cargo.toml @@ -23,7 +23,7 @@ rand = { version = "0.7.3", features = ["small_rng"] } rand_core = { version = "0.5.1", optional = true } serde = { version = "1.0.120", default-features = false } serde_bytes = "0.11.5" -thiserror = "1.0.23" +thiserror = "1.0.37" tokio = { version = "1.0.2", features = ["full"] } tokio-retry = "0.2.0" tokio-stream = "0.1.1" diff --git a/network/network-address/Cargo.toml b/network/network-address/Cargo.toml index 26e2992e9976..4272f0f8e0a0 100644 --- a/network/network-address/Cargo.toml +++ b/network/network-address/Cargo.toml @@ -16,7 +16,7 @@ proptest-derive = { version = "0.2.0", optional = true } serde = { version = "1.0.120", default-features = false } serde_bytes = "0.11.5" static_assertions = "1.1.0" -thiserror = "1.0.23" +thiserror = "1.0.37" bcs = "0.1.2" diem-crypto = { path = "../../crypto/crypto", version = "0.1.0" } diff --git a/secure/json-rpc/Cargo.toml b/secure/json-rpc/Cargo.toml index 78eaadea9b0a..89424d2629dd 100644 --- a/secure/json-rpc/Cargo.toml +++ b/secure/json-rpc/Cargo.toml @@ -14,7 +14,7 @@ hex = "0.4.2" proptest = { version = "0.10.1", optional = true } serde = { version = "1.0.120", features = ["derive"], default-features = false } serde_json = "1.0.61" -thiserror = "1.0.23" +thiserror = "1.0.37" ureq = { version = "1.5.4", features = ["json", "native-tls"], default-features = false } bcs = "0.1.2" diff --git a/secure/key-manager/Cargo.toml b/secure/key-manager/Cargo.toml index 0f48ce750113..835dbd65789d 100644 --- a/secure/key-manager/Cargo.toml +++ b/secure/key-manager/Cargo.toml @@ -12,7 +12,7 @@ publish = false [dependencies] once_cell = "1.4.1" serde = { version = "1.0.120", features = ["rc"], default-features = false } -thiserror = "1.0.23" +thiserror = "1.0.37" crash-handler = { path = "../../common/crash-handler", version = "0.1.0" } diem-config = { path = "../../config", version = "0.1.0"} diff --git a/secure/net/Cargo.toml b/secure/net/Cargo.toml index 3272157d507b..d71db0c38690 100644 --- a/secure/net/Cargo.toml +++ b/secure/net/Cargo.toml @@ -12,7 +12,7 @@ edition = "2018" [dependencies] once_cell = "1.4.1" serde = { version = "1.0.120", features = ["rc"], default-features = false } -thiserror = "1.0.23" +thiserror = "1.0.37" diem-logger = { path = "../../common/logger", version = "0.1.0" } diem-secure-push-metrics = { path = "../../secure/push-metrics", version = "0.1.0" } diff --git a/secure/storage/Cargo.toml b/secure/storage/Cargo.toml index 0c715194f64b..97107516def7 100644 --- a/secure/storage/Cargo.toml +++ b/secure/storage/Cargo.toml @@ -16,7 +16,7 @@ enum_dispatch = "0.3.5" rand = "0.7.3" serde = { version = "1.0.120", features = ["rc"], default-features = false } serde_json = "1.0.61" -thiserror = "1.0.23" +thiserror = "1.0.37" bcs = "0.1.2" diem-crypto = { path = "../../crypto/crypto", version = "0.1.0" } diff --git a/secure/storage/github/Cargo.toml b/secure/storage/github/Cargo.toml index 24300c75a0a5..54f08cdd3c61 100644 --- a/secure/storage/github/Cargo.toml +++ b/secure/storage/github/Cargo.toml @@ -12,7 +12,7 @@ edition = "2018" [dependencies] serde = { version = "1.0.120", features = ["derive"], default-features = false } serde_json = "1.0.61" -thiserror = "1.0.23" +thiserror = "1.0.37" ureq = { version = "1.5.4", features = ["json", "native-tls"], default-features = false } diem-workspace-hack = { path = "../../../common/workspace-hack", version = "0.1.0" } diff --git a/secure/storage/vault/Cargo.toml b/secure/storage/vault/Cargo.toml index 482ad07f45e6..6fb4a1d1a6e8 100644 --- a/secure/storage/vault/Cargo.toml +++ b/secure/storage/vault/Cargo.toml @@ -17,7 +17,7 @@ proptest = { version = "0.10.1", optional = true } native-tls = "0.2.7" serde = { version = "1.0.120", features = ["derive"], default-features = false } serde_json = "1.0.61" -thiserror = "1.0.23" +thiserror = "1.0.37" ureq = { version = "1.5.4", features = ["json", "native-tls"], default-features = false } diem-crypto = { path = "../../../crypto/crypto", version = "0.1.0" } diff --git a/storage/diemdb/Cargo.toml b/storage/diemdb/Cargo.toml index aab8c5959a62..336779750380 100644 --- a/storage/diemdb/Cargo.toml +++ b/storage/diemdb/Cargo.toml @@ -20,7 +20,7 @@ num-traits = "0.2.14" proptest = { version = "0.10.1", optional = true } proptest-derive = { version = "0.2.0", optional = true } serde = "1.0.120" -thiserror = "1.0.23" +thiserror = "1.0.37" accumulator = { path = "../accumulator", version = "0.1.0" } bcs = "0.1.2" diff --git a/storage/jellyfish-merkle/Cargo.toml b/storage/jellyfish-merkle/Cargo.toml index e3715043443b..53a791e8756c 100644 --- a/storage/jellyfish-merkle/Cargo.toml +++ b/storage/jellyfish-merkle/Cargo.toml @@ -19,7 +19,7 @@ proptest = { version = "0.10.1", optional = true } proptest-derive = { version = "0.2.0", optional = true } rand = {version = "0.7.3", optional = true } serde = { version = "1.0.120", features = ["derive"] } -thiserror = "1.0.23" +thiserror = "1.0.37" bcs = "0.1.2" diem-crypto = { path = "../../crypto/crypto", version = "0.1.0" } diff --git a/storage/storage-interface/Cargo.toml b/storage/storage-interface/Cargo.toml index 15a75da303b1..92fa5c2a862d 100644 --- a/storage/storage-interface/Cargo.toml +++ b/storage/storage-interface/Cargo.toml @@ -13,7 +13,7 @@ edition = "2018" anyhow = "1.0.38" itertools = "0.10.0" serde = { version = "1.0.120", default-features = false } -thiserror = "1.0.23" +thiserror = "1.0.37" bcs = "0.1.2" diem-crypto = { path = "../../crypto/crypto", version = "0.1.0" } diff --git a/testsuite/cli/diem-wallet/Cargo.toml b/testsuite/cli/diem-wallet/Cargo.toml index 014771637235..21c4d1c2c09f 100644 --- a/testsuite/cli/diem-wallet/Cargo.toml +++ b/testsuite/cli/diem-wallet/Cargo.toml @@ -18,7 +18,7 @@ byteorder = "1.4.2" pbkdf2 = "0.6.0" serde = "1.0.120" sha2 = "0.9.2" -thiserror = "1.0.23" +thiserror = "1.0.37" vanilla-ed25519-dalek = { version = "1.0.1", package = 'ed25519-dalek', optional = true} ed25519-dalek = { git = "https://github.com/novifinancial/ed25519-dalek.git", branch = "fiat5", version = "1.0.1", default-features = false, features = ["std", "fiat_u64_backend"], optional = true} diem-crypto = { path = "../../../crypto/crypto", version = "0.1.0", features = ["fuzzing"] } diff --git a/testsuite/diem-swarm/Cargo.toml b/testsuite/diem-swarm/Cargo.toml index f0570bd6254e..ba7c044dff0d 100644 --- a/testsuite/diem-swarm/Cargo.toml +++ b/testsuite/diem-swarm/Cargo.toml @@ -14,7 +14,7 @@ anyhow = "1.0.38" ctrlc = { version = "3.1.7", default-features = false } reqwest = { version = "0.11.0", features = ["blocking"], default-features = false } structopt = "0.3.21" -thiserror = "1.0.23" +thiserror = "1.0.37" diem-config = { path = "../../config", version = "0.1.0", features = ["fuzzing"] } debug-interface = { path = "../../common/debug-interface", version = "0.1.0" } diem-logger = { path = "../../common/logger", version = "0.1.0" } diff --git a/types/Cargo.toml b/types/Cargo.toml index b19b6d122a13..153fb79b2a3f 100644 --- a/types/Cargo.toml +++ b/types/Cargo.toml @@ -23,7 +23,7 @@ rand = "0.7.3" serde = { version = "1.0.120", default-features = false } serde_json = "1.0.61" serde_bytes = "0.11.5" -thiserror = "1.0.23" +thiserror = "1.0.37" tiny-keccak = { version = "2.0.2", default-features = false, features = ["sha3"] } bcs = "0.1.2"