Selectively update dependencies to reduce total number (#7488)

<!--
Please read the "Making a PR" section of
[`CONTRIBUTING.md`](https://github.com/emilk/egui/blob/main/CONTRIBUTING.md)
before opening a Pull Request!

* Keep your PR:s small and focused.
* The PR title is what ends up in the changelog, so make it descriptive!
* If applicable, add a screenshot or gif.
* If it is a non-trivial addition, consider adding a demo for it to
`egui_demo_lib`, or a new example.
* Do NOT open PR:s from your `master` branch, as that makes it hard for
maintainers to test and add commits to your PR.
* Remember to run `cargo fmt` and `cargo clippy`.
* Open the PR as a draft until you have self-reviewed it and run
`./scripts/check.sh`.
* When you have addressed a PR comment, mark it as resolved.

Please be patient! I will review your PR, but my time is limited!
-->

* [x] I have followed the instructions in the PR template

Update some of the core dependencies and run cargo update for selected
dependencies to remove total number and older versions.
This commit is contained in:
Oscar Gustafsson 2025-09-04 09:42:46 +02:00 committed by GitHub
parent 01ee9c72d5
commit b9414bd4cc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 252 additions and 277 deletions

File diff suppressed because it is too large Load Diff

View File

@ -77,7 +77,7 @@ ahash = { version = "0.8.11", default-features = false, features = [
backtrace = "0.3"
bitflags = "2.6"
bytemuck = "1.23.2"
criterion = { version = "0.5.1", default-features = false }
criterion = { version = "0.7", default-features = false }
dify = { version = "0.7", default-features = false }
document-features = "0.2.10"
glow = "0.16"
@ -95,7 +95,7 @@ profiling = { version = "1.0.16", default-features = false }
puffin = "0.19"
puffin_http = "0.16"
raw-window-handle = "0.6.0"
ron = "0.10.1"
ron = "0.11"
serde = { version = "1", features = ["derive"] }
similar-asserts = "1.4.2"
smallvec = "1"
@ -107,7 +107,7 @@ wasm-bindgen-futures = "0.4"
web-sys = "0.3.73"
web-time = "1.1.0" # Timekeeping for native and web
wgpu = { version = "25.0.0", default-features = false }
windows-sys = "0.59"
windows-sys = "0.60"
winit = { version = "0.30.12", default-features = false }
[workspace.lints.rust]

View File

@ -271,4 +271,4 @@ wgpu = { workspace = true, optional = true }
# Native dev dependencies for testing
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
directories = "5"
directories = "6"

View File

@ -1,10 +1,12 @@
use criterion::{Criterion, black_box, criterion_group, criterion_main};
use criterion::{Criterion, criterion_group, criterion_main};
use epaint::{
AlphaFromCoverage, ClippedShape, Color32, Mesh, PathStroke, Pos2, Rect, Shape, Stroke,
TessellationOptions, Tessellator, TextureAtlas, Vec2, pos2, tessellator::Path,
};
use std::hint::black_box;
#[global_allocator]
static GLOBAL: mimalloc::MiMalloc = mimalloc::MiMalloc; // Much faster allocator