mirror of
https://github.com/storytold/egui.git
synced 2026-11-24 11:32:28 +01:00
Update dependencies (#8515)
Updated: `enum-map` 3.1, `env_logger` 0.11.11, `font-types` 0.12.4, `image` 0.25.10, `log` 0.4.34, `smallvec` 1.16, `webbrowser` 1.2.4, plus transitive bumps. `syn` is now allowed to be duplicated in `deny.toml`: the ecosystem is migrating from syn 2 to syn 3, and syn is build-time only, so the duplicate costs compile time, not binary size. That unblocks `enum-map` 3.1, `serde` 1.0.229 and `thiserror` 2.0.20. Held back (comments in `Cargo.toml` explain why): `accesskit*` (kittest 0.4), `glow` (wgpu 30), `harfrust`/`skrifa` (fontique, glifo), `resvg` (tiny-skia via winit), `smithay-clipboard` (winit), `wasm-bindgen` family. * [x] I have followed the instructions in the PR template 🤖 Generated with [Claude Code](https://claude.com/claude-code)
This commit is contained in:
1 parent
f2de65f636
commit
7809b4fd9a
4 files changed
+359
-312
No files matched your search
+340
-293
File diff suppressed because it is too large.
Load diff
+14
-14
@@ -72,9 +72,9 @@ egui_kittest = { version = "0.36.1", path = "crates/egui_kittest", default-featu
|
||||
egui_system_fonts = { version = "0.36.1", path = "crates/egui_system_fonts", default-features = false }
|
||||
eframe = { version = "0.36.1", path = "crates/eframe", default-features = false }
|
||||
|
||||
accesskit = "0.24.1"
|
||||
accesskit = "0.24.1" # Can't update to 0.25: kittest 0.4 needs accesskit 0.24, so bumping splits it into two versions
|
||||
accesskit_consumer = "0.35.0" # Can't update to 0.36+: kittest 0.4 pins accesskit_consumer 0.35, so bumping splits it into two versions
|
||||
accesskit_winit = "0.32.0" # Can't update to 0.33: it needs accesskit_macos 0.26.2, which pulls accesskit_consumer 0.37, duplicating the 0.35 that kittest 0.4 needs. For the same reason, `accesskit_macos` is held at 0.26.0 in `Cargo.lock`.
|
||||
accesskit_winit = "0.32.0" # Can't update to 0.33: it needs accesskit_macos 0.26.2, which pulls accesskit_consumer 0.37, duplicating the 0.35 that kittest 0.4 needs. For the same reason, `accesskit_macos` is held at 0.26.0 and `accesskit_atspi_common` at 0.18.0 in `Cargo.lock`.
|
||||
ahash = { version = "0.8.12", default-features = false, features = [
|
||||
"no-rng", # we don't need DOS-protection, so we let users opt-in to it instead
|
||||
"std",
|
||||
@@ -91,9 +91,9 @@ dify = { version = "0.8.0", default-features = false }
|
||||
directories = "6.0"
|
||||
document-features = "0.2.12"
|
||||
ehttp = { version = "0.7.1", default-features = false }
|
||||
enum-map = "2.7" # Can't update to 3.1: its `enum-map-derive` moved to syn 3, duplicating the syn 2 that most other proc-macro crates still use
|
||||
env_logger = { version = "0.11.8", default-features = false } # 0.11.9+ pulls env_filter 1.x/2.x, duplicating the 0.1.x that android_logger needs
|
||||
font-types = { version = "0.12.2", default-features = false, features = ["std"] }
|
||||
enum-map = "3.1"
|
||||
env_logger = { version = "0.11.11", default-features = false }
|
||||
font-types = { version = "0.12.4", default-features = false, features = ["std"] }
|
||||
fontique = { version = "0.11.1", default-features = false, features = [
|
||||
"system",
|
||||
"fontconfig-dlopen", # Load libfontconfig at runtime, so builds don't need its headers
|
||||
@@ -101,13 +101,13 @@ fontique = { version = "0.11.1", default-features = false, features = [
|
||||
glow = "0.17.0" # Can't update to 0.18: wgpu 30's wgpu-hal pins glow 0.17, so bumping splits it into two versions
|
||||
glutin = { version = "0.32.3", default-features = false }
|
||||
glutin-winit = { version = "0.5.0", default-features = false }
|
||||
harfrust = "0.12.0"
|
||||
image = { version = "0.25.6", default-features = false } # Can't update to 0.25.7+: it needs png 0.18, which only matches resvg once resvg moves to tiny-skia 0.12 — blocked, see resvg below
|
||||
harfrust = "0.12.0" # Can't update to 0.13: it needs read-fonts 0.43, but fontique 0.11 pins read-fonts 0.41, so bumping splits read-fonts into two versions
|
||||
image = { version = "0.25.10", default-features = false } # `flate2` is held at 1.1.9 in `Cargo.lock`: 1.1.10 moved to miniz_oxide 0.9, duplicating the 0.8 that png needs
|
||||
itertools = "0.15.0"
|
||||
jiff = { version = "0.2.35", default-features = false }
|
||||
js-sys = "0.3.103"
|
||||
kittest = { version = "0.4.0" }
|
||||
log = { version = "0.4.33", features = ["std"] }
|
||||
log = { version = "0.4.34", features = ["std"] }
|
||||
mimalloc = "0.1.52"
|
||||
mime_guess2 = { version = "2.3", default-features = false }
|
||||
mint = "0.5.9"
|
||||
@@ -127,26 +127,25 @@ puffin_http = "0.17.0"
|
||||
rand = "0.10.2"
|
||||
raw-window-handle = "0.6.2"
|
||||
rayon = "1.12"
|
||||
resvg = { version = "0.45.1", default-features = false } # Can't update to 0.47+: it needs tiny-skia 0.12, but winit 0.30's sctk-adwaita 0.10 is stuck on tiny-skia 0.11, so bumping duplicates tiny-skia. (0.46 keeps tiny-skia 0.11 but its fontconfig-parser duplicates roxmltree.)
|
||||
resvg = { version = "0.45.1", default-features = false } # Can't update to 0.46+: it needs tiny-skia 0.12, but winit 0.30's sctk-adwaita 0.10 is stuck on tiny-skia 0.11, so bumping duplicates tiny-skia
|
||||
rfd = "0.17.2"
|
||||
rmp-serde = "1.3"
|
||||
ron = "0.12.2"
|
||||
self_cell = "1.3"
|
||||
# `serde_derive` is held at 1.0.228 in `Cargo.lock`: 1.0.229 moved to syn 3, duplicating the syn 2 that most other proc-macro crates still use
|
||||
serde = { version = "1.0", features = ["derive"] }
|
||||
serde_bytes = "0.11.19"
|
||||
similar-asserts = "2.0"
|
||||
skrifa = { version = "0.44.0", default-features = false, features = [
|
||||
"std",
|
||||
"autohint_shaping",
|
||||
] } # Can't update to 0.45: it needs read-fonts 0.42, but harfrust 0.12 pins read-fonts 0.41, so bumping splits read-fonts into two versions
|
||||
smallvec = "1.15"
|
||||
] } # Can't update to 0.45+: `glifo` (via vello_cpu 0.2) pins skrifa 0.44, so bumping splits skrifa into two versions
|
||||
smallvec = "1.16"
|
||||
smithay-clipboard = "0.7.2" # 0.7.3 pulls smithay-client-toolkit 0.20 (calloop 0.14), duplicating the 0.19/0.13 that winit 0.30 needs
|
||||
static_assertions = "1.1"
|
||||
syntect = { version = "5.3", default-features = false }
|
||||
sys-locale = "0.3.2"
|
||||
tempfile = "3.27"
|
||||
thiserror = "2.0" # Held at 2.0.18 in `Cargo.lock`: `thiserror-impl` 2.0.19 moved to syn 3, duplicating the syn 2 that most other proc-macro crates still use
|
||||
thiserror = "2.0"
|
||||
tokio = "1.53"
|
||||
toml = { version = "1.1", default-features = false }
|
||||
type-map = "0.5.1"
|
||||
@@ -165,7 +164,8 @@ wasm-bindgen-futures = "0.4.76"
|
||||
wayland-cursor = { version = "0.31.14", default-features = false }
|
||||
web-sys = "0.3.103"
|
||||
web-time = "1.1" # Timekeeping for native and web
|
||||
webbrowser = "1.2.2" # 1.2.2 fixes RUSTSEC-2026-0257 (`BROWSER` argument injection)
|
||||
webbrowser = "1.2.4" # 1.2.2 fixes RUSTSEC-2026-0257 (`BROWSER` argument injection)
|
||||
# `wgpu` is held at 30.0.0 in `Cargo.lock`: 30.0.1 needs wasm-bindgen-futures 0.4.77, which would force a wasm-bindgen bump
|
||||
wgpu = { version = "30.0", default-features = false, features = ["std"] }
|
||||
windows-sys = "0.61.2"
|
||||
winit = { version = "0.30.13", default-features = false }
|
||||
|
||||
@@ -383,7 +383,6 @@ impl CodeTheme {
|
||||
// function, but at the cost of more code duplication.
|
||||
#[expect(clippy::needless_pass_by_value)]
|
||||
fn dark_with_font_id(font_id: egui::FontId) -> Self {
|
||||
#![expect(clippy::mem_forget)]
|
||||
use egui::{Color32, TextFormat};
|
||||
Self {
|
||||
dark_mode: true,
|
||||
@@ -401,7 +400,6 @@ impl CodeTheme {
|
||||
// The syntect version takes it by value
|
||||
#[expect(clippy::needless_pass_by_value)]
|
||||
fn light_with_font_id(font_id: egui::FontId) -> Self {
|
||||
#![expect(clippy::mem_forget)]
|
||||
use egui::{Color32, TextFormat};
|
||||
Self {
|
||||
dark_mode: false,
|
||||
|
||||
@@ -47,24 +47,26 @@ deny = [
|
||||
]
|
||||
|
||||
skip = [
|
||||
{ name = "base64" }, # ureq-proto depends on 0.23, syntect's plist on 0.22
|
||||
{ name = "bit-set" }, # wgpu's naga depends on 0.8, syntect's (used by egui_extras) fancy-regex depends on 0.5
|
||||
{ name = "bit-vec" }, # dependency of bit-set in turn, different between 0.6 and 0.5
|
||||
{ name = "bitflags" }, # old 1.0 version via glutin, png, spirv, …
|
||||
{ name = "env_filter" }, # 0.1.4 only used by android_logger, which is only used by the hello_android example
|
||||
{ name = "env_filter" }, # android_logger depends on 0.1, env_logger 0.11.11 on 2.0
|
||||
{ name = "foldhash" }, # pulled by the duplicated hashbrown versions
|
||||
{ name = "getrandom" }, # ring / rustls (and thus ehttp) still depend on getrandom 0.2
|
||||
{ name = "hashbrown" }, # wgpu's naga depends on 0.16, accesskit depends on 0.15
|
||||
{ name = "itertools" }, # puffin 0.20 depends on 0.14, criterion 0.8 on 0.13
|
||||
{ name = "jni-sys" }, # 0.3.1 depends on 0.4
|
||||
{ name = "kurbo" }, # Old version because of resvg
|
||||
{ name = "kurbo" }, # resvg 0.45's svgtypes depends on 0.11, peniko (via vello_cpu) on 0.13
|
||||
{ name = "phf" }, # mime_guess2 -> 0.11, unicode_names2 -> 0.13
|
||||
{ name = "png" }, # glifo (vello_cpu's text feature, for bitmap emoji) depends on 0.18, image 0.25.6 on 0.17
|
||||
{ name = "png" }, # glifo (vello_cpu's text feature, for bitmap emoji) depends on 0.18, image 0.25 on 0.17
|
||||
{ name = "phf_generator" }, # same phf split as phf
|
||||
{ name = "phf_shared" }, # same phf split as phf
|
||||
{ name = "rand_core" }, # rand ecosystem is migrating 0.8 -> 0.10; phf_generator's rand 0.8 needs rand_core 0.6, getrandom 0.4/chacha20 need rand_core 0.10
|
||||
{ name = "redox_syscall" }, # old version via winit
|
||||
{ name = "roxmltree" }, # fontique (Android backend) depends on 0.21, resvg's usvg on 0.20
|
||||
{ name = "rustc-hash" }, # Small enough
|
||||
{ name = "syn" }, # ecosystem is in the process of migrating from 2.x to 3.x; build-time only
|
||||
{ name = "thiserror" }, # ecosystem is in the process of migrating from 1.x to 2.x
|
||||
{ name = "thiserror-impl" }, # same as above
|
||||
]
|
||||
|
||||
Reference in new issue
Block a user