From 8b7cbb5f25368f98975a001ec1e6249cea32db6e Mon Sep 17 00:00:00 2001 From: Charles Hall Date: Sat, 15 Mar 2025 14:42:48 -0700 Subject: [PATCH] update rocksdb This is done separately since it requires more involved changes than just cargo's files. --- Cargo.lock | 8 ++++---- Cargo.toml | 2 +- flake.lock | 8 ++++---- flake.nix | 2 +- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 8ef5bf50..6543812b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2653,9 +2653,9 @@ dependencies = [ [[package]] name = "rust-librocksdb-sys" -version = "0.29.0+9.7.4" +version = "0.32.0+9.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7431f14c28485bd13140e5b27298c22a3b96a0cc9f60a4f5318ae782b7288e9c" +checksum = "50146b7fadd68926e9dcb902bf0515783aaaf5f73af26949f188aead5ede8cd0" dependencies = [ "bindgen", "bzip2-sys", @@ -2669,9 +2669,9 @@ dependencies = [ [[package]] name = "rust-rocksdb" -version = "0.33.0" +version = "0.36.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c4412bfff73ff8f0c458041934bee4f0bbf92488271e8e5d767679f4a670df44" +checksum = "3bf088a714aa3fad699f7dbe06047ca732c09629a2f9b28aa16ca6d3897a4c2f" dependencies = [ "libc", "rust-librocksdb-sys", diff --git a/Cargo.toml b/Cargo.toml index c9754bb9..888be77f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -121,7 +121,7 @@ rand = "0.8.5" regex = "1.11.1" reqwest = { version = "0.12.9", default-features = false, features = ["http2", "rustls-tls-native-roots", "socks"] } ring = "0.17.8" -rocksdb = { package = "rust-rocksdb", version = "0.33.0", features = ["lz4", "multi-threaded-cf", "zstd"], optional = true } +rocksdb = { package = "rust-rocksdb", version = "0.36.0", features = ["lz4", "multi-threaded-cf", "zstd"], optional = true } ruma = { git = "https://github.com/ruma/ruma", branch = "main", features = ["compat", "rand", "appservice-api-c", "client-api", "federation-api", "push-gateway-api-c", "server-util", "state-res", "unstable-msc2448", "unstable-msc3575", "unstable-exhaustive-types", "ring-compat", "unstable-unspecified" ] } rusqlite = { version = "0.32.1", optional = true, features = ["bundled"] } rustls = { version = "0.23.19", default-features = false, features = ["ring", "log", "logging", "std", "tls12"] } diff --git a/flake.lock b/flake.lock index edf99e09..00b27744 100644 --- a/flake.lock +++ b/flake.lock @@ -244,16 +244,16 @@ "rocksdb": { "flake": false, "locked": { - "lastModified": 1730475155, - "narHash": "sha256-u5uuShM2SxHc9/zL4UU56IhCcR/ZQbzde0LgOYS44bM=", + "lastModified": 1734381914, + "narHash": "sha256-G+DlQwEUyd7JOCjS1Hg1cKWmA/qAiK8UpUIKcP+riGQ=", "owner": "facebook", "repo": "rocksdb", - "rev": "3c27a3dde0993210c5cc30d99717093f7537916f", + "rev": "ae8fb3e5000e46d8d4c9dbf3a36019c0aaceebff", "type": "github" }, "original": { "owner": "facebook", - "ref": "v9.7.4", + "ref": "v9.10.0", "repo": "rocksdb", "type": "github" } diff --git a/flake.nix b/flake.nix index c997779c..f390239a 100644 --- a/flake.nix +++ b/flake.nix @@ -8,7 +8,7 @@ flake-utils.url = "github:numtide/flake-utils?ref=main"; nix-filter.url = "github:numtide/nix-filter?ref=main"; nixpkgs.url = "github:NixOS/nixpkgs?ref=nixos-unstable"; - rocksdb = { url = "github:facebook/rocksdb?ref=v9.7.4"; flake = false; }; + rocksdb = { url = "github:facebook/rocksdb?ref=v9.10.0"; flake = false; }; }; outputs = inputs: