Skip to content

Commit

Permalink
Update puffin to 0.18 (#3600)
Browse files Browse the repository at this point in the history
THe profiling macros now contain unsafe code (but in a safe way), so
`#[foribd(unsafe)]` had to become `#[deny(unsafe)]`
  • Loading branch information
emilk authored Nov 21, 2023
1 parent bfadb90 commit 1bbd5a9
Show file tree
Hide file tree
Showing 10 changed files with 17 additions and 17 deletions.
14 changes: 7 additions & 7 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ opt-level = 2 # fast and small wasm, basically same as `opt-level = 's'`
opt-level = 2

[workspace.dependencies]
puffin = "0.17"
puffin = "0.18"
raw-window-handle = "0.5.0"
thiserror = "1.0.37"

Expand Down
2 changes: 1 addition & 1 deletion crates/eframe/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ winapi = "0.3.9"
bytemuck = "1.7"
js-sys = "0.3"
percent-encoding = "2.1"
wasm-bindgen = "0.2.88"
wasm-bindgen = "0.2"
wasm-bindgen-futures = "0.4"
web-sys = { version = "0.3.58", features = [
"BinaryType",
Expand Down
2 changes: 1 addition & 1 deletion crates/egui/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@
#![allow(clippy::float_cmp)]
#![allow(clippy::manual_range_contains)]
#![forbid(unsafe_code)]
#![deny(unsafe_code)]

mod animation_manager;
pub mod containers;
Expand Down
2 changes: 1 addition & 1 deletion crates/egui_demo_lib/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#![allow(clippy::float_cmp)]
#![allow(clippy::manual_range_contains)]
#![forbid(unsafe_code)]
#![deny(unsafe_code)]

mod color_test;
mod demo;
Expand Down
2 changes: 1 addition & 1 deletion crates/egui_extras/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#![allow(clippy::float_cmp)]
#![allow(clippy::manual_range_contains)]
#![forbid(unsafe_code)]
#![deny(unsafe_code)]

#[cfg(feature = "chrono")]
mod datepicker;
Expand Down
2 changes: 1 addition & 1 deletion crates/egui_glow/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ puffin = { workspace = true, optional = true }
# Web:
[target.'cfg(target_arch = "wasm32")'.dependencies]
web-sys = { version = "0.3", features = ["console"] }
wasm-bindgen = { version = "0.2" }
wasm-bindgen = "0.2"


[dev-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion crates/emath/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
//!
#![allow(clippy::float_cmp)]
#![forbid(unsafe_code)]
#![deny(unsafe_code)]

use std::ops::{Add, Div, Mul, RangeInclusive, Sub};

Expand Down
2 changes: 1 addition & 1 deletion crates/epaint/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#![allow(clippy::float_cmp)]
#![allow(clippy::manual_range_contains)]
#![forbid(unsafe_code)]
#![deny(unsafe_code)]

mod bezier;
pub mod image;
Expand Down
4 changes: 2 additions & 2 deletions examples/puffin_profiler/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ eframe = { path = "../../crates/eframe", features = [
"__screenshot", # __screenshot is so we can dump a screenshot using EFRAME_SCREENSHOT_TO
] }
env_logger = "0.10"
puffin = "0.17"
puffin_http = "0.14"
puffin = "0.18"
puffin_http = "0.15"

0 comments on commit 1bbd5a9

Please sign in to comment.