Skip to content

chore: bump dependencies to latest major versions#361

Open
pannous wants to merge 1 commit intoLea-fish:mainfrom
pannous:bump-deps
Open

chore: bump dependencies to latest major versions#361
pannous wants to merge 1 commit intoLea-fish:mainfrom
pannous:bump-deps

Conversation

@pannous
Copy link
Copy Markdown

@pannous pannous commented Mar 20, 2026

Summary

Updates all direct dependencies to their latest major versions, fixing compilation against nightly Rust.

Dependencies updated

Crate Old New Notes
winit 0.29 0.30 WindowBuilder→WindowAttributes, with_window_builder→with_window_attributes
glutin 0.31 0.32 build_surface_attributes returns Result
glutin-winit 0.4 0.5 Matches glutin 0.32
raw-window-handle 0.5 0.6 HasRawWindowHandle→HasWindowHandle
glow 0.13 0.17 PixelUnpackData/PixelPackData::Slice now wraps Option<&[u8]>
bevy_ecs 0.13 0.15 Commands::add→queue, get_entity() returns Result
rand 0.8 0.9 thread_rng()→rng(), distributions→distr, gen→random
rand_pcg 0.3 0.9
getrandom 0.2 0.3 js feature renamed to wasm_js
reqwest 0.11 0.12
rfd 0.14 0.17
dashmap 5.5 6.1
dirs 5 6
zip 0.6 2
atomic_float 0.1 1.1

Not updated: cgmath 0.17 (blocked by collision crate dependency constraint).

Test plan

  • cargo build passes with no errors on nightly Rust (aarch64-apple-darwin)
  • Client launches and connects to a local server

Updated major version bumps across all crates:
- atomic_float 0.1 → 1.1, dirs 5 → 6, dashmap 5.5 → 6.1
- zip 0.6 → 2, getrandom 0.2 → 0.3 (js feature renamed to wasm_js)
- rand 0.8 → 0.9, rand_pcg 0.3 → 0.9 (thread_rng→rng, distributions→distr, gen→random)
- reqwest 0.11 → 0.12, rfd 0.14 → 0.17
- glow 0.13 → 0.17 (PixelUnpackData/PixelPackData::Slice now takes Option)
- bevy_ecs 0.13 → 0.15 (Command moved to world, Commands::add→queue, get_entity returns Result)
- winit 0.29 → 0.30 (WindowBuilder→WindowAttributes, with_window_builder→with_window_attributes)
- glutin 0.31 → 0.32, glutin-winit 0.4 → 0.5 (build_surface_attributes returns Result)
- raw-window-handle 0.5 → 0.6 (HasRawWindowHandle→HasWindowHandle)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant