Unnamed repository; edit this file 'description' to name the repository.
minor: Use a workspace dependency for parking_lot
Michael Davis 12 months ago
parent fdaf12a · commit b47c9da
-rw-r--r--Cargo.toml1
-rw-r--r--helix-core/Cargo.toml2
-rw-r--r--helix-event/Cargo.toml2
-rw-r--r--helix-lsp/Cargo.toml2
-rw-r--r--helix-view/Cargo.toml2
5 files changed, 5 insertions, 4 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 58e22e53..52a52070 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -46,6 +46,7 @@ bitflags = "2.9"
unicode-segmentation = "1.2"
ropey = { version = "1.6.1", default-features = false, features = ["simd"] }
foldhash = "0.1"
+parking_lot = "0.12"
[workspace.package]
version = "25.1.1"
diff --git a/helix-core/Cargo.toml b/helix-core/Cargo.toml
index c5f98323..10fb5a52 100644
--- a/helix-core/Cargo.toml
+++ b/helix-core/Cargo.toml
@@ -56,7 +56,7 @@ chrono = { version = "0.4", default-features = false, features = ["alloc", "std"
textwrap = "0.16.2"
nucleo.workspace = true
-parking_lot = "0.12"
+parking_lot.workspace = true
globset = "0.4.16"
regex-cursor = "0.1.5"
diff --git a/helix-event/Cargo.toml b/helix-event/Cargo.toml
index 5d3eeabc..41f3b483 100644
--- a/helix-event/Cargo.toml
+++ b/helix-event/Cargo.toml
@@ -18,7 +18,7 @@ tokio = { version = "1", features = ["rt", "rt-multi-thread", "time", "sync", "p
# the event registry is essentially read only but must be an rwlock so we can
# setup new events on initialization, hardware-lock-elision hugely benefits this case
# as it essentially makes the lock entirely free as long as there is no writes
-parking_lot = { version = "0.12", features = ["hardware-lock-elision"] }
+parking_lot = { workspace = true, features = ["hardware-lock-elision"] }
once_cell = "1.21"
anyhow = "1"
diff --git a/helix-lsp/Cargo.toml b/helix-lsp/Cargo.toml
index 61bf2a2f..09fd1b9f 100644
--- a/helix-lsp/Cargo.toml
+++ b/helix-lsp/Cargo.toml
@@ -27,7 +27,7 @@ serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
tokio = { version = "1.44", features = ["rt", "rt-multi-thread", "io-util", "io-std", "time", "process", "macros", "fs", "parking_lot", "sync"] }
tokio-stream = "0.1.17"
-parking_lot = "0.12.3"
+parking_lot.workspace = true
arc-swap = "1"
slotmap.workspace = true
thiserror.workspace = true
diff --git a/helix-view/Cargo.toml b/helix-view/Cargo.toml
index ab5dcd07..bcee1a0a 100644
--- a/helix-view/Cargo.toml
+++ b/helix-view/Cargo.toml
@@ -49,7 +49,7 @@ serde_json = "1.0"
toml = "0.8"
log = "~0.4"
-parking_lot = "0.12.3"
+parking_lot.workspace = true
thiserror.workspace = true
[target.'cfg(windows)'.dependencies]