diff --git a/Cargo.toml b/Cargo.toml index 6e43a8ac..ff3f9007 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,17 +5,16 @@ resolver = "2" [workspace.dependencies] roaring = { path = "roaring" } -bytemuck = "1.21.0" +bytemuck = "1.25.2" byteorder = "1.5.0" criterion = "0.5" -git2 = { version = "0.20", default-features = false } +git2 = { version = "0.21", default-features = false } indicatif = "0.17" -itertools = "0.14" -once_cell = "1.20" +itertools = "0.15" postcard = { version = "1.1", features = [ "alloc" ] } proptest = "1.6.0" -serde = "1.0.217" -serde_json = "1.0.138" +serde = "1.0.229" +serde_json = "1.0.145" zip = { version = "0.6", default-features = false } [profile.test] diff --git a/benchmarks/Cargo.toml b/benchmarks/Cargo.toml index 282fb593..34e250ef 100644 --- a/benchmarks/Cargo.toml +++ b/benchmarks/Cargo.toml @@ -15,7 +15,6 @@ criterion = { workspace = true, features = ["html_reports"] } git2 = { workspace = true, default-features = false, features = ["https", "vendored-openssl"] } indicatif = { workspace = true } itertools = { workspace = true } -once_cell = { workspace = true } zip = { workspace = true, default-features = false, features = ["deflate"] } [features] diff --git a/benchmarks/benches/datasets/mod.rs b/benchmarks/benches/datasets/mod.rs index bbc12ab6..6c3bbf2f 100644 --- a/benchmarks/benches/datasets/mod.rs +++ b/benchmarks/benches/datasets/mod.rs @@ -4,11 +4,11 @@ use std::io::BufReader; use std::path::{Path, PathBuf}; use git2::FetchOptions; -use once_cell::sync::OnceCell as SyncOnceCell; +use std::sync::OnceLock; use roaring::RoaringBitmap; -static INSTANCE: SyncOnceCell> = SyncOnceCell::new(); +static INSTANCE: OnceLock> = OnceLock::new(); pub struct Datasets; @@ -69,7 +69,7 @@ fn init_datasets() -> Result> { // Setup progress callbacks - let pb_cell = once_cell::unsync::OnceCell::new(); + let pb_cell = std::cell::OnceCell::new(); let mut cb = git2::RemoteCallbacks::new(); cb.transfer_progress(|progress| { diff --git a/roaring/Cargo.toml b/roaring/Cargo.toml index 17f74493..b3c50c01 100644 --- a/roaring/Cargo.toml +++ b/roaring/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "roaring" -version = "0.11.4" +version = "0.11.5" # When changing this value don't forget to change the MSRV test in `.github/workflows/test.yml`!! rust-version = "1.90.0" authors = ["Wim Looman ", "Kerollmops "]