From 416be5b68182774842013cd2f9e277a38fdea5b8 Mon Sep 17 00:00:00 2001 From: Emil Ernerfeldt Date: Mon, 5 Feb 2024 12:30:18 +0100 Subject: [PATCH] parking_lot --- Cargo.toml | 1 + crates/eframe/Cargo.toml | 2 +- crates/epaint/Cargo.toml | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 4626f33f116..70c284b1587 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -59,6 +59,7 @@ document-features = "0.2" glow = "0.13" log = { version = "0.4", features = ["std"] } nohash-hasher = "0.2" +parking_lot = "0.12" puffin = "0.19" puffin_http = "0.16" raw-window-handle = "0.6.0" diff --git a/crates/eframe/Cargo.toml b/crates/eframe/Cargo.toml index 05c173b3a63..92a87d7a65d 100644 --- a/crates/eframe/Cargo.toml +++ b/crates/eframe/Cargo.toml @@ -128,7 +128,7 @@ egui = { version = "0.25.0", path = "../egui", default-features = false, feature document-features.workspace = true log.workspace = true -parking_lot = "0.12" +parking_lot.workspace = true raw-window-handle.workspace = true static_assertions = "1.1.0" thiserror.workspace = true diff --git a/crates/epaint/Cargo.toml b/crates/epaint/Cargo.toml index 0a39706c5f4..a8feb337ff9 100644 --- a/crates/epaint/Cargo.toml +++ b/crates/epaint/Cargo.toml @@ -86,7 +86,7 @@ ecolor = { version = "0.25.0", path = "../ecolor" } ab_glyph = "0.2.11" ahash.workspace = true nohash-hasher.workspace = true -parking_lot = "0.12" # Using parking_lot over std::sync::Mutex gives 50% speedups in some real-world scenarios. +parking_lot.workspace = true # Using parking_lot over std::sync::Mutex gives 50% speedups in some real-world scenarios. #! ### Optional dependencies bytemuck = { version = "1.7.2", optional = true, features = ["derive"] }