Update parking_lot dependency (#6287)

wgpu-hal does not compile with parking_lot versions that don't contain const Mutex::new.
This commit is contained in:
mahkoh 2024-09-18 15:53:50 +02:00 committed by GitHub
parent fc85e4f970
commit ab9a78c64b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 1 deletions

View File

@ -144,6 +144,10 @@ By @bradwerth [#6216](https://github.com/gfx-rs/wgpu/pull/6216).
- Replace `winapi` code to use the `windows` crate. By @MarijnS95 in [#5956](https://github.com/gfx-rs/wgpu/pull/5956) and [#6173](https://github.com/gfx-rs/wgpu/pull/6173) - Replace `winapi` code to use the `windows` crate. By @MarijnS95 in [#5956](https://github.com/gfx-rs/wgpu/pull/5956) and [#6173](https://github.com/gfx-rs/wgpu/pull/6173)
#### HAL
- Update `parking_lot` to `0.12`. By @mahkoh in [#6287](https://github.com/gfx-rs/wgpu/pull/6287)
## 22.0.0 (2024-07-17) ## 22.0.0 (2024-07-17)
### Overview ### Overview

View File

@ -105,7 +105,7 @@ noise = { version = "0.8", git = "https://github.com/Razaekel/noise-rs.git", rev
nv-flip = "0.1" nv-flip = "0.1"
obj = "0.10" obj = "0.10"
once_cell = "1.19.0" once_cell = "1.19.0"
parking_lot = ">=0.11, <0.13" # parking_lot 0.12 switches from `winapi` to `windows`; permit either parking_lot = "0.12.1"
pico-args = { version = "0.5.0", features = [ pico-args = { version = "0.5.0", features = [
"eq-separator", "eq-separator",
"short-space-opt", "short-space-opt",