⬆️ parking_lot

This commit is contained in:
Aleksey Kladov 2019-07-15 19:43:39 +03:00
parent 4c09786285
commit 5c27b734cf
2 changed files with 2 additions and 3 deletions

View file

@ -12,9 +12,8 @@ readme = "README.md"
crossbeam = "0.7.1" crossbeam = "0.7.1"
derive-new = "0.5.5" derive-new = "0.5.5"
indexmap = "1.0.1" indexmap = "1.0.1"
lock_api = "0.2.0"
log = "0.4.5" log = "0.4.5"
parking_lot = "0.8.0" parking_lot = "0.9.0"
rustc-hash = "1.0" rustc-hash = "1.0"
smallvec = "0.6.5" smallvec = "0.6.5"
rand = { version = "0.7", features = [ "small_rng" ] } rand = { version = "0.7", features = [ "small_rng" ] }

View file

@ -1,9 +1,9 @@
use crate::dependency::DatabaseSlot; use crate::dependency::DatabaseSlot;
use crate::dependency::Dependency; use crate::dependency::Dependency;
use crate::{Database, Event, EventKind, SweepStrategy}; use crate::{Database, Event, EventKind, SweepStrategy};
use lock_api::{RawRwLock, RawRwLockRecursive};
use log::debug; use log::debug;
use parking_lot::{Mutex, RwLock}; use parking_lot::{Mutex, RwLock};
use parking_lot::lock_api::{RawRwLock, RawRwLockRecursive};
use rustc_hash::{FxHashMap, FxHasher}; use rustc_hash::{FxHashMap, FxHasher};
use smallvec::SmallVec; use smallvec::SmallVec;
use std::fmt::Write; use std::fmt::Write;