From ff2e498267c367a17e9a74da5c3e309d61db1bf7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Renault?= Date: Wed, 5 Jun 2024 15:23:26 -0400 Subject: [PATCH] Patch roaring to use the version supporting intersection on deserialization --- Cargo.lock | 12 ++---------- Cargo.toml | 3 +++ 2 files changed, 5 insertions(+), 10 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index b62a61f92..e72d72251 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4377,12 +4377,6 @@ dependencies = [ "winreg", ] -[[package]] -name = "retain_mut" -version = "0.1.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8c31b5c4033f8fdde8700e4657be2c497e7288f01515be52168c631e2e4d4086" - [[package]] name = "ring" version = "0.17.8" @@ -4400,13 +4394,11 @@ dependencies = [ [[package]] name = "roaring" -version = "0.10.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6106b5cf8587f5834158895e9715a3c6c9716c8aefab57f1f7680917191c7873" +version = "0.10.4" +source = "git+https://github.com/RoaringBitmap/roaring-rs?branch=intersection-with-serialized#4466ae0104ed44a8cf41d187d9359483fe190701" dependencies = [ "bytemuck", "byteorder", - "retain_mut", "serde", ] diff --git a/Cargo.toml b/Cargo.toml index 5c6c8b376..f49d1fd44 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -64,3 +64,6 @@ opt-level = 3 opt-level = 3 [profile.bench.package.yada] opt-level = 3 + +[patch.crates-io] +roaring = { git = "https://github.com/RoaringBitmap/roaring-rs", branch = "intersection-with-serialized" }