1
0
mirror of https://github.com/emilk/egui.git synced 2026-09-02 14:50:03 -04:00

Update some crate dependencies (#3594)

Nothing major
This commit is contained in:
Emil Ernerfeldt
2023-11-21 16:07:56 +01:00
committed by GitHub
parent 8c68035b66
commit e823491240
10 changed files with 30 additions and 27 deletions

View File

@@ -126,7 +126,7 @@ egui-winit = { version = "0.23.0", path = "../egui-winit", default-features = fa
image = { version = "0.24", default-features = false, features = [
"png",
] } # Needed for app icon
raw-window-handle = { version = "0.5.0" }
raw-window-handle.workspace = true
winit = { version = "0.28.1", default-features = false }
# optional native:
@@ -158,7 +158,7 @@ winapi = "0.3.9"
bytemuck = "1.7"
js-sys = "0.3"
percent-encoding = "2.1"
wasm-bindgen = "0.2.87"
wasm-bindgen = "0.2.88"
wasm-bindgen-futures = "0.4"
web-sys = { version = "0.3.58", features = [
"BinaryType",
@@ -206,6 +206,6 @@ web-sys = { version = "0.3.58", features = [
# optional web:
egui-wgpu = { version = "0.23.0", path = "../egui-wgpu", optional = true } # if wgpu is used, use it without (!) winit
raw-window-handle = { version = "0.5.2", optional = true }
raw-window-handle = { workspace = true, optional = true }
tts = { version = "0.25", optional = true, default-features = false }
wgpu = { workspace = true, optional = true }

View File

@@ -59,7 +59,7 @@ egui = { version = "0.23.0", path = "../egui", default-features = false, feature
"log",
] }
log = { version = "0.4", features = ["std"] }
raw-window-handle = "0.5.0"
raw-window-handle.workspace = true
web-time = { version = "0.2" } # We use web-time so we can (maybe) compile for web
winit = { version = "0.28", default-features = false }

View File

@@ -73,6 +73,6 @@ rfd = { version = "0.11", optional = true }
# web:
[target.'cfg(target_arch = "wasm32")'.dependencies]
wasm-bindgen = "=0.2.87"
wasm-bindgen = "=0.2.88"
wasm-bindgen-futures = "0.4"
web-sys = "0.3"

View File

@@ -1,3 +1,5 @@
#![allow(clippy::mem_forget)] // False positives from #[wasm_bindgen] macro
use eframe::wasm_bindgen::{self, prelude::*};
use crate::WrapApp;

View File

@@ -42,7 +42,7 @@ egui = { version = "0.23.0", path = "../egui", default-features = false }
egui_extras = { version = "0.23.0", path = "../egui_extras" }
egui_plot = { version = "0.23.0", path = "../egui_plot" }
log = { version = "0.4", features = ["std"] }
unicode_names2 = { version = "0.6.0", default-features = false }
unicode_names2 = { version = "0.6.0", default-features = false } # this old version has fewer dependencies
#! ### Optional dependencies
chrono = { version = "0.4", optional = true, features = ["js-sys", "wasmbind"] }

View File

@@ -51,7 +51,7 @@ egui = { version = "0.23.0", path = "../egui", default-features = false, feature
bytemuck = "1.7"
glow = "0.12"
log = { version = "0.4", features = ["std"] }
memoffset = "0.6"
memoffset = "0.7"
#! ### Optional dependencies
## Enable this when generating docs.
@@ -69,8 +69,8 @@ wasm-bindgen = { version = "0.2" }
[dev-dependencies]
glutin = "0.30" # examples/pure_glow
raw-window-handle = "0.5.0"
glutin = "0.30" # examples/pure_glow
raw-window-handle.workspace = true
glutin-winit = "0.3.0"