From 6946eead28c1e1c216031442b904b98ff061f16a Mon Sep 17 00:00:00 2001 From: strawberry Date: Thu, 9 May 2024 13:58:14 -0400 Subject: [PATCH] pin rust-rocksdb to before snappy update it seems to break nix builds Signed-off-by: strawberry --- Cargo.lock | 4 ++-- Cargo.toml | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 73209431..20352010 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2931,7 +2931,7 @@ dependencies = [ [[package]] name = "rust-librocksdb-sys" version = "0.21.0+9.1.1" -source = "git+https://github.com/zaidoon1/rust-rocksdb?branch=master#6f0afedb3c29239b1d8a15a97ed8e6b74e0a9b33" +source = "git+https://github.com/zaidoon1/rust-rocksdb?rev=c5cd6bd25152ef1f8a488761351da0c3d29ed93a#c5cd6bd25152ef1f8a488761351da0c3d29ed93a" dependencies = [ "bindgen", "bzip2-sys", @@ -2948,7 +2948,7 @@ dependencies = [ [[package]] name = "rust-rocksdb" version = "0.25.0" -source = "git+https://github.com/zaidoon1/rust-rocksdb?branch=master#6f0afedb3c29239b1d8a15a97ed8e6b74e0a9b33" +source = "git+https://github.com/zaidoon1/rust-rocksdb?rev=c5cd6bd25152ef1f8a488761351da0c3d29ed93a#c5cd6bd25152ef1f8a488761351da0c3d29ed93a" dependencies = [ "libc", "rust-librocksdb-sys", diff --git a/Cargo.toml b/Cargo.toml index 9ca75672..f6420cbc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -299,7 +299,8 @@ default-features = false [dependencies.rust-rocksdb] git = "https://github.com/zaidoon1/rust-rocksdb" -branch = "master" +rev = "c5cd6bd25152ef1f8a488761351da0c3d29ed93a" +#branch = "master" optional = true default-features = true features = ["multi-threaded-cf", "zstd"]