From 38070130a8d84faee0758dc590da2e38f7b7559f Mon Sep 17 00:00:00 2001 From: Matthijs Brobbel Date: Wed, 19 Jun 2024 11:55:18 +0200 Subject: [PATCH] Remove some unused dependencies --- Cargo.toml | 2 -- components/salsa-macros/Cargo.toml | 2 -- src/function/lru.rs | 2 +- src/function/memo.rs | 2 +- 4 files changed, 2 insertions(+), 6 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index f1a2d7a8..8b4a93f1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,7 +10,6 @@ description = "A generic framework for on-demand, incrementalized computation (e [dependencies] arc-swap = "1.6.0" crossbeam = "0.8.1" -crossbeam-utils = { version = "0.8", default-features = false } dashmap = "5.3.4" hashlink = "0.8.0" indexmap = "2" @@ -27,7 +26,6 @@ expect-test = "1.4.0" eyre = "0.6.8" notify-debouncer-mini = "0.2.1" ordered-float = "3.0" -parking_lot = "0.12.1" rustversion = "1.0" test-log = "0.2.11" trybuild = "1.0" diff --git a/components/salsa-macros/Cargo.toml b/components/salsa-macros/Cargo.toml index 97b8578c..1bceeeae 100644 --- a/components/salsa-macros/Cargo.toml +++ b/components/salsa-macros/Cargo.toml @@ -11,8 +11,6 @@ description = "Procedural macros for the salsa crate" proc-macro = true [dependencies] -eyre = "0.6.5" -heck = "0.4" proc-macro2 = "1.0" quote = "1.0" syn = { version = "2.0.64", features = ["full", "visit-mut"] } diff --git a/src/function/lru.rs b/src/function/lru.rs index fdc80073..f1ee5fc0 100644 --- a/src/function/lru.rs +++ b/src/function/lru.rs @@ -1,6 +1,6 @@ use crate::{hash::FxLinkedHashSet, Id}; -use crossbeam_utils::atomic::AtomicCell; +use crossbeam::atomic::AtomicCell; use parking_lot::Mutex; #[derive(Default)] diff --git a/src/function/memo.rs b/src/function/memo.rs index a40c21e5..072cfdb0 100644 --- a/src/function/memo.rs +++ b/src/function/memo.rs @@ -1,7 +1,7 @@ use std::sync::Arc; use arc_swap::{ArcSwap, Guard}; -use crossbeam_utils::atomic::AtomicCell; +use crossbeam::atomic::AtomicCell; use crate::{ hash::FxDashMap, key::DatabaseKeyIndex, runtime::local_state::QueryRevisions, Event, EventKind,