From 5c27b734cf94908bb6fc75d052c8f41dc363b204 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Mon, 15 Jul 2019 19:43:39 +0300 Subject: [PATCH] :arrow_up: parking_lot --- Cargo.toml | 3 +-- src/runtime.rs | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 5394a1c8..2bffe222 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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" ] } diff --git a/src/runtime.rs b/src/runtime.rs index f9df211c..7da49820 100644 --- a/src/runtime.rs +++ b/src/runtime.rs @@ -1,9 +1,9 @@ use crate::dependency::DatabaseSlot; use crate::dependency::Dependency; 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;