Skip to content

Commit 948db61

Browse files
authored
Update to puffin 0.19 (#3940)
…and some other smaller crate updates
1 parent dda9f79 commit 948db61

File tree

5 files changed

+21
-19
lines changed

5 files changed

+21
-19
lines changed

Cargo.lock

+14-13
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+2-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ opt-level = 2
5050
[workspace.dependencies]
5151
criterion = { version = "0.5.1", default-features = false }
5252
glow = "0.13"
53-
puffin = "0.18"
53+
puffin = "0.19"
54+
puffin_http = "0.16"
5455
raw-window-handle = "0.6.0"
5556
thiserror = "1.0.37"
5657
web-time = "0.2" # Timekeeping for native and web

crates/egui/src/context.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ impl Plugins {
9090
callback,
9191
} in callbacks
9292
{
93-
crate::profile_scope!(_name);
93+
crate::profile_scope!("plugin", _name);
9494
(callback)(ctx);
9595
}
9696
}

crates/egui_demo_app/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ log = { version = "0.4", features = ["std"] }
5353
# Optional dependencies:
5454

5555
bytemuck = { version = "1.7.1", optional = true }
56-
puffin = { version = "0.18", optional = true }
57-
puffin_http = { version = "0.15", optional = true }
56+
puffin = { workspace = true, optional = true }
57+
puffin_http = { workspace = true, optional = true }
5858
# Enable both WebGL & WebGPU when targeting the web (these features have no effect when not targeting wasm32)
5959
wgpu = { workspace = true, features = ["webgpu", "webgl"], optional = true }
6060

examples/puffin_profiler/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,5 @@ env_logger = { version = "0.10", default-features = false, features = [
2121
"auto-color",
2222
"humantime",
2323
] }
24-
puffin = "0.18"
25-
puffin_http = "0.15"
24+
puffin = "0.19"
25+
puffin_http = "0.16"

0 commit comments

Comments
 (0)