diff --git a/Cargo.toml b/Cargo.toml index 26b37390..24e41cc2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,21 +9,22 @@ description = "A generic framework for on-demand, incrementalized computation (e readme = "README.md" [dependencies] -crossbeam = "0.7.1" +crossbeam-utils = { version = "0.7.1", default-features = false } indexmap = "1.0.1" lock_api = "0.4" log = "0.4.5" parking_lot = "0.11.0" rustc-hash = "1.0" smallvec = "1.0.0" -rand = { version = "0.7", features = [ "small_rng" ] } +rand = { version = "0.7", features = [ "small_rng" ], default-features = false } salsa-macros = { version = "0.14.1", path = "components/salsa-macros" } [dev-dependencies] -rand_distr = "0.2.1" diff = "0.1.0" env_logger = "0.7" linked-hash-map = "0.5.2" +rand = "0.7" +rand_distr = "0.2.1" [workspace] diff --git a/src/interned.rs b/src/interned.rs index aaffdc77..1e551752 100644 --- a/src/interned.rs +++ b/src/interned.rs @@ -8,7 +8,7 @@ use crate::plumbing::QueryStorageOps; use crate::revision::Revision; use crate::Query; use crate::{CycleError, Database, DiscardIf, SweepStrategy}; -use crossbeam::atomic::AtomicCell; +use crossbeam_utils::atomic::AtomicCell; use parking_lot::RwLock; use rustc_hash::FxHashMap; use std::collections::hash_map::Entry;