Merge pull request #185 from matklad/pl

⬆️ parking_lot
This commit is contained in:
Niko Matsakis 2019-08-15 07:02:30 -04:00 committed by GitHub
commit c80f5ead1c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 3 deletions

View file

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

View file

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