feat: Prune unnecessary dependencies

Only AtomicCell is used from crossbeam and SmallRng from rand so we can
easily disable the default features
This commit is contained in:
Markus Westerlind 2020-06-30 21:27:09 +02:00
parent 5078c9b22d
commit 380306930b
2 changed files with 5 additions and 4 deletions

View file

@ -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]

View file

@ -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;