diff --git a/Cargo.toml b/Cargo.toml index eb98c0baa6f..10d616864db 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -82,6 +82,7 @@ image = { version = "0.25", default-features = false } log = { version = "0.4", features = ["std"] } nohash-hasher = "0.2" parking_lot = "0.12" +profiling = "1.0" puffin = "0.19" puffin_http = "0.16" ron = "0.8" @@ -95,7 +96,6 @@ web-sys = "0.3.70" wgpu = { version = "22.1.0", default-features = false } windows-sys = "0.52" winit = { version = "0.30.5", default-features = false } -profiling = "1.0" [workspace.lints.rust] unsafe_code = "deny" diff --git a/crates/eframe/Cargo.toml b/crates/eframe/Cargo.toml index bdbed8c9027..be70c59575b 100644 --- a/crates/eframe/Cargo.toml +++ b/crates/eframe/Cargo.toml @@ -114,10 +114,10 @@ ahash.workspace = true document-features.workspace = true log.workspace = true parking_lot.workspace = true +profiling.workspace = true raw-window-handle.workspace = true static_assertions = "1.1.0" web-time.workspace = true -profiling.workspace = true # Optional dependencies diff --git a/crates/egui-winit/Cargo.toml b/crates/egui-winit/Cargo.toml index 88348bb538d..1dd880d8bb4 100644 --- a/crates/egui-winit/Cargo.toml +++ b/crates/egui-winit/Cargo.toml @@ -60,6 +60,7 @@ egui = { workspace = true, default-features = false, features = ["log"] } ahash.workspace = true log.workspace = true nix = { version = "0.26.4", default-features = false, optional = true } +profiling.workspace = true raw-window-handle.workspace = true web-time.workspace = true winit = { workspace = true, default-features = false } @@ -72,7 +73,6 @@ accesskit_winit = { version = "0.22", optional = true } ## Enable this when generating docs. document-features = { workspace = true, optional = true } -profiling.workspace = true serde = { workspace = true, optional = true } webbrowser = { version = "1.0.0", optional = true } diff --git a/crates/egui/Cargo.toml b/crates/egui/Cargo.toml index ccb686c4955..c67af07d308 100644 --- a/crates/egui/Cargo.toml +++ b/crates/egui/Cargo.toml @@ -81,6 +81,7 @@ epaint = { workspace = true, default-features = false } ahash.workspace = true nohash-hasher.workspace = true +profiling.workspace = true #! ### Optional dependencies accesskit = { version = "0.16", optional = true } @@ -91,6 +92,5 @@ backtrace = { workspace = true, optional = true } document-features = { workspace = true, optional = true } log = { workspace = true, optional = true } -profiling.workspace=true ron = { workspace = true, optional = true } serde = { workspace = true, optional = true, features = ["derive", "rc"] } diff --git a/crates/egui_extras/Cargo.toml b/crates/egui_extras/Cargo.toml index a4b83f65582..41fbcf0a462 100644 --- a/crates/egui_extras/Cargo.toml +++ b/crates/egui_extras/Cargo.toml @@ -69,6 +69,7 @@ egui = { workspace = true, default-features = false } ahash.workspace = true enum-map = { version = "2", features = ["serde"] } log.workspace = true +profiling.workspace = true #! ### Optional dependencies @@ -91,7 +92,6 @@ image = { workspace = true, optional = true } # file feature mime_guess2 = { version = "2", optional = true, default-features = false } -profiling.workspace=true syntect = { version = "5", optional = true, default-features = false, features = [ "default-fancy", diff --git a/crates/egui_glow/Cargo.toml b/crates/egui_glow/Cargo.toml index 2e997260888..ef2d451dd2b 100644 --- a/crates/egui_glow/Cargo.toml +++ b/crates/egui_glow/Cargo.toml @@ -57,8 +57,8 @@ ahash.workspace = true bytemuck.workspace = true glow.workspace = true log.workspace = true -profiling.workspace=true memoffset = "0.9" +profiling.workspace = true #! ### Optional dependencies ## Enable this when generating docs. diff --git a/crates/epaint/Cargo.toml b/crates/epaint/Cargo.toml index 472d1160ead..0a4afde26b5 100644 --- a/crates/epaint/Cargo.toml +++ b/crates/epaint/Cargo.toml @@ -74,6 +74,7 @@ ab_glyph = "0.2.11" ahash.workspace = true nohash-hasher.workspace = true parking_lot.workspace = true # Using parking_lot over std::sync::Mutex gives 50% speedups in some real-world scenarios. +profiling = { workspace = true} #! ### Optional dependencies bytemuck = { workspace = true, optional = true, features = ["derive"] } @@ -89,8 +90,6 @@ serde = { workspace = true, optional = true, features = ["derive", "rc"] } epaint_default_fonts = { workspace = true, optional = true } -profiling = { workspace = true} - # native: [target.'cfg(not(target_arch = "wasm32"))'.dependencies] backtrace = { workspace = true, optional = true }