diff --git a/Cargo.toml b/Cargo.toml index 421972fc9ef..8a9f48a2c38 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -48,6 +48,7 @@ opt-level = 2 [workspace.dependencies] +#TODO(emilk): make more things workspace dependencies ahash = { version = "0.8.6", default-features = false, features = [ "no-rng", # we don't need DOS-protection, so we let users opt-in to it instead "std", @@ -55,6 +56,7 @@ ahash = { version = "0.8.6", default-features = false, features = [ criterion = { version = "0.5.1", default-features = false } document-features = "0.2" glow = "0.13" +nohash-hasher = "0.2" puffin = "0.19" puffin_http = "0.16" raw-window-handle = "0.6.0" diff --git a/crates/egui/Cargo.toml b/crates/egui/Cargo.toml index aeb17f5b33a..cf7dd686027 100644 --- a/crates/egui/Cargo.toml +++ b/crates/egui/Cargo.toml @@ -84,7 +84,7 @@ unity = ["epaint/unity"] epaint = { version = "0.25.0", path = "../epaint", default-features = false } ahash.workspace = true -nohash-hasher = "0.2" +nohash-hasher.workspace = true #! ### Optional dependencies accesskit = { version = "0.12", optional = true } diff --git a/crates/epaint/Cargo.toml b/crates/epaint/Cargo.toml index b671e1935cc..ea788806a5b 100644 --- a/crates/epaint/Cargo.toml +++ b/crates/epaint/Cargo.toml @@ -85,8 +85,8 @@ ecolor = { version = "0.25.0", path = "../ecolor" } ab_glyph = "0.2.11" ahash.workspace = true -nohash-hasher = "0.2" -parking_lot = "0.12" # Using parking_lot over std::sync::Mutex gives 50% speedups in some real-world scenarios. +nohash-hasher.workspace = true +parking_lot = "0.12" # 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"] }