From de6bf393be0b2e8ad7c99303569f631f0d40eefa Mon Sep 17 00:00:00 2001 From: Thibault Martinez Date: Tue, 2 Apr 2024 18:06:55 +0200 Subject: [PATCH] Downgrade rocksdb --- Cargo.lock | 48 +++++++++++++++++++++++++----------------------- sdk/Cargo.toml | 2 +- 2 files changed, 26 insertions(+), 24 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index aa87be0045..b2fcc42678 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -253,16 +253,17 @@ dependencies = [ [[package]] name = "bindgen" -version = "0.69.4" +version = "0.65.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a00dc851838a2120612785d195287475a3ac45514741da670b735818822129a0" +checksum = "cfdf7b466f9a4903edc73f95d6d2bcd5baf8ae620638762244d3f60143643cc5" dependencies = [ - "bitflags 2.5.0", + "bitflags 1.3.2", "cexpr", "clang-sys", - "itertools", "lazy_static", "lazycell", + "peeking_take_while", + "prettyplease", "proc-macro2", "quote", "regex", @@ -952,12 +953,6 @@ dependencies = [ "zeroize", ] -[[package]] -name = "either" -version = "1.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "11157ac094ffbdde99aa67b23417ebdd801842852b500e395a45a9c0aac03e4a" - [[package]] name = "elliptic-curve" version = "0.13.8" @@ -1822,15 +1817,6 @@ version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ed3c1d66191fc266439b989dc1a9a69d9c4156e803ce456221231398b84c35d1" -[[package]] -name = "itertools" -version = "0.12.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba291022dbbd398a455acf126c1e341954079855bc60dfdda641363bd6922569" -dependencies = [ - "either", -] - [[package]] name = "itoa" version = "1.0.11" @@ -1910,9 +1896,9 @@ dependencies = [ [[package]] name = "librocksdb-sys" -version = "0.16.0+8.10.0" +version = "0.11.0+8.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ce3d60bc059831dc1c83903fb45c103f75db65c5a7bf22272764d9cc683e348c" +checksum = "d3386f101bcb4bd252d8e9d2fb41ec3b0862a15a62b478c355b2982efa469e3e" dependencies = [ "bindgen", "bzip2-sys", @@ -2287,6 +2273,12 @@ dependencies = [ "hmac", ] +[[package]] +name = "peeking_take_while" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "19b17cddbe7ec3f8bc800887bab5e717348c95ea2ca0b1bf0837fb964dc67099" + [[package]] name = "pem-rfc7468" version = "0.7.0" @@ -2428,6 +2420,16 @@ dependencies = [ "yansi", ] +[[package]] +name = "prettyplease" +version = "0.2.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8d3928fb5db768cb86f891ff014f0144589297e3c6a1aba6ed7cecfdace270c7" +dependencies = [ + "proc-macro2", + "syn 2.0.55", +] + [[package]] name = "primitive-types" version = "0.12.2" @@ -2725,9 +2727,9 @@ dependencies = [ [[package]] name = "rocksdb" -version = "0.22.0" +version = "0.21.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6bd13e55d6d7b8cd0ea569161127567cd587676c99f4472f779a0279aa60a7a7" +checksum = "bb6f170a4041d50a0ce04b0d2e14916d6ca863ea2e422689a5b694395d299ffe" dependencies = [ "libc", "librocksdb-sys", diff --git a/sdk/Cargo.toml b/sdk/Cargo.toml index d873261dbf..b5a18abcb5 100644 --- a/sdk/Cargo.toml +++ b/sdk/Cargo.toml @@ -83,7 +83,7 @@ reqwest = { version = "0.12.2", default-features = false, features = [ "json", "http2", ], optional = true } -rocksdb = { version = "0.22.0", default-features = false, features = [ +rocksdb = { version = "0.21.0", default-features = false, features = [ "lz4", ], optional = true } rumqttc = { version = "0.24.0", default-features = false, features = [