Skip to content

Commit e823491

Browse files
authored
Update some crate dependencies (#3594)
Nothing major
1 parent 8c68035 commit e823491

File tree

10 files changed

+30
-27
lines changed

10 files changed

+30
-27
lines changed

.github/workflows/rust.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ jobs:
118118
- name: wasm-bindgen
119119
uses: jetli/wasm-bindgen-action@v0.1.0
120120
with:
121-
version: "0.2.87"
121+
version: "0.2.88"
122122

123123
- run: ./scripts/wasm_bindgen_check.sh --skip-setup
124124

Cargo.lock

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

Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ opt-level = 2
3737

3838
[workspace.dependencies]
3939
puffin = "0.17"
40+
raw-window-handle = "0.5.0"
4041
thiserror = "1.0.37"
4142

4243
wgpu = "0.18.0"

crates/eframe/Cargo.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ egui-winit = { version = "0.23.0", path = "../egui-winit", default-features = fa
126126
image = { version = "0.24", default-features = false, features = [
127127
"png",
128128
] } # Needed for app icon
129-
raw-window-handle = { version = "0.5.0" }
129+
raw-window-handle.workspace = true
130130
winit = { version = "0.28.1", default-features = false }
131131

132132
# optional native:
@@ -158,7 +158,7 @@ winapi = "0.3.9"
158158
bytemuck = "1.7"
159159
js-sys = "0.3"
160160
percent-encoding = "2.1"
161-
wasm-bindgen = "0.2.87"
161+
wasm-bindgen = "0.2.88"
162162
wasm-bindgen-futures = "0.4"
163163
web-sys = { version = "0.3.58", features = [
164164
"BinaryType",
@@ -206,6 +206,6 @@ web-sys = { version = "0.3.58", features = [
206206

207207
# optional web:
208208
egui-wgpu = { version = "0.23.0", path = "../egui-wgpu", optional = true } # if wgpu is used, use it without (!) winit
209-
raw-window-handle = { version = "0.5.2", optional = true }
209+
raw-window-handle = { workspace = true, optional = true }
210210
tts = { version = "0.25", optional = true, default-features = false }
211211
wgpu = { workspace = true, optional = true }

crates/egui-winit/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ egui = { version = "0.23.0", path = "../egui", default-features = false, feature
5959
"log",
6060
] }
6161
log = { version = "0.4", features = ["std"] }
62-
raw-window-handle = "0.5.0"
62+
raw-window-handle.workspace = true
6363
web-time = { version = "0.2" } # We use web-time so we can (maybe) compile for web
6464
winit = { version = "0.28", default-features = false }
6565

crates/egui_demo_app/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,6 @@ rfd = { version = "0.11", optional = true }
7373

7474
# web:
7575
[target.'cfg(target_arch = "wasm32")'.dependencies]
76-
wasm-bindgen = "=0.2.87"
76+
wasm-bindgen = "=0.2.88"
7777
wasm-bindgen-futures = "0.4"
7878
web-sys = "0.3"

crates/egui_demo_app/src/web.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#![allow(clippy::mem_forget)] // False positives from #[wasm_bindgen] macro
2+
13
use eframe::wasm_bindgen::{self, prelude::*};
24

35
use crate::WrapApp;

crates/egui_demo_lib/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ egui = { version = "0.23.0", path = "../egui", default-features = false }
4242
egui_extras = { version = "0.23.0", path = "../egui_extras" }
4343
egui_plot = { version = "0.23.0", path = "../egui_plot" }
4444
log = { version = "0.4", features = ["std"] }
45-
unicode_names2 = { version = "0.6.0", default-features = false }
45+
unicode_names2 = { version = "0.6.0", default-features = false } # this old version has fewer dependencies
4646

4747
#! ### Optional dependencies
4848
chrono = { version = "0.4", optional = true, features = ["js-sys", "wasmbind"] }

crates/egui_glow/Cargo.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ egui = { version = "0.23.0", path = "../egui", default-features = false, feature
5151
bytemuck = "1.7"
5252
glow = "0.12"
5353
log = { version = "0.4", features = ["std"] }
54-
memoffset = "0.6"
54+
memoffset = "0.7"
5555

5656
#! ### Optional dependencies
5757
## Enable this when generating docs.
@@ -69,8 +69,8 @@ wasm-bindgen = { version = "0.2" }
6969

7070

7171
[dev-dependencies]
72-
glutin = "0.30" # examples/pure_glow
73-
raw-window-handle = "0.5.0"
72+
glutin = "0.30" # examples/pure_glow
73+
raw-window-handle.workspace = true
7474
glutin-winit = "0.3.0"
7575

7676

scripts/setup_web.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ cd "$script_path/.."
77
rustup target add wasm32-unknown-unknown
88

99
# For generating JS bindings:
10-
cargo install wasm-bindgen-cli --version 0.2.87
10+
cargo install wasm-bindgen-cli --version 0.2.88

0 commit comments

Comments
 (0)