minor: Use a workspace dependency for parking_lot

This commit is contained in:
Michael Davis 2025-03-13 12:34:40 -04:00
parent fdaf12a35d
commit b47c9da3a1
No known key found for this signature in database
5 changed files with 5 additions and 4 deletions

View file

@ -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"

View file

@ -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"

View file

@ -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"

View file

@ -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

View file

@ -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]