From 09faf48e1f8d7a7829cc9e4b5f317f345bd38df1 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 13 Feb 2023 20:01:45 +0000 Subject: [PATCH] build(deps): bump rocksdb from 0.19.0 to 0.20.1 (#6144) * build(deps): bump rocksdb from 0.19.0 to 0.20.1 Bumps [rocksdb](https://github.com/rust-rocksdb/rust-rocksdb) from 0.19.0 to 0.20.1. - [Release notes](https://github.com/rust-rocksdb/rust-rocksdb/releases) - [Changelog](https://github.com/rust-rocksdb/rust-rocksdb/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-rocksdb/rust-rocksdb/compare/v0.19.0...v0.20.1) --- updated-dependencies: - dependency-name: rocksdb dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] * Ignore duplicate bindgen dependency until zcash_script updates --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: teor --- Cargo.lock | 43 ++++++++++++++++++++++++++++++++++++------ deny.toml | 1 + zebra-state/Cargo.toml | 2 +- 3 files changed, 39 insertions(+), 7 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 79864f0c..916a49a1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -356,6 +356,26 @@ dependencies = [ "which", ] +[[package]] +name = "bindgen" +version = "0.64.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c4243e6031260db77ede97ad86c27e501d646a27ab57b59a574f725d98ab1fb4" +dependencies = [ + "bitflags", + "cexpr", + "clang-sys", + "lazy_static", + "lazycell", + "peeking_take_while", + "proc-macro2 1.0.47", + "quote 1.0.20", + "regex", + "rustc-hash", + "shlex", + "syn 1.0.104", +] + [[package]] name = "bip0039" version = "0.9.0" @@ -2189,16 +2209,17 @@ checksum = "33a33a362ce288760ec6a508b94caaec573ae7d3bbbd91b87aa0bad4456839db" [[package]] name = "librocksdb-sys" -version = "0.8.0+7.4.4" +version = "0.10.0+7.9.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "611804e4666a25136fcc5f8cf425ab4d26c7f74ea245ffe92ea23b85b6420b5d" +checksum = "0fe4d5874f5ff2bc616e55e8c6086d478fcda13faf9495768a4aa1c22042d30b" dependencies = [ - "bindgen", + "bindgen 0.64.0", "bzip2-sys", "cc", "glob", "libc", "libz-sys", + "lz4-sys", ] [[package]] @@ -2246,6 +2267,16 @@ dependencies = [ "cfg-if 1.0.0", ] +[[package]] +name = "lz4-sys" +version = "1.9.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "57d27b317e207b10f69f5e75494119e391a96f48861ae870d1da6edac98ca900" +dependencies = [ + "cc", + "libc", +] + [[package]] name = "mach" version = "0.3.2" @@ -3539,9 +3570,9 @@ dependencies = [ [[package]] name = "rocksdb" -version = "0.19.0" +version = "0.20.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e9562ea1d70c0cc63a34a22d977753b50cca91cc6b6527750463bd5dd8697bc" +checksum = "015439787fce1e75d55f279078d33ff14b4af5d93d995e8838ee4631301c8a99" dependencies = [ "libc", "librocksdb-sys", @@ -5425,7 +5456,7 @@ version = "0.1.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4696f0dcc0d9dd4d9d4a8fa5009caa85cfad93faca63164cd02e5a2c6757ac27" dependencies = [ - "bindgen", + "bindgen 0.60.1", "blake2b_simd", "cc", "cxx", diff --git a/deny.toml b/deny.toml index 825de8dc..418817e0 100644 --- a/deny.toml +++ b/deny.toml @@ -52,6 +52,7 @@ skip-tree = [ # wait for zcash_script to upgrade # https://github.com/ZcashFoundation/zcash_script/pulls { name = "zcash_primitives", version = "=0.8.1" }, + { name = "bindgen", version = "=0.60.1" }, # wait for ed25519-zebra, indexmap, metrics-util, and metrics to upgrade # ed25519-zebra/hashbrown: https://github.com/ZcashFoundation/ed25519-zebra/pull/63 diff --git a/zebra-state/Cargo.toml b/zebra-state/Cargo.toml index c7eb141c..9ac5a735 100644 --- a/zebra-state/Cargo.toml +++ b/zebra-state/Cargo.toml @@ -36,7 +36,7 @@ metrics = "0.20.1" mset = "0.1.1" regex = "1.7.1" rlimit = "0.9.1" -rocksdb = { version = "0.19.0", default_features = false, features = ["lz4"] } +rocksdb = { version = "0.20.1", default_features = false, features = ["lz4"] } serde = { version = "1.0.152", features = ["serde_derive"] } tempfile = "3.3.0" thiserror = "1.0.38"