Skip to content

Commit a93c951

Browse files
authored
Increase allowed windows version range to 0.53-0.57 and bump MSRV to 1.70 (#233)
* Increase allowed `windows` version range to `0.53-0.57` * Bump MSRV to `1.70` for `windows-rs 0.57`
1 parent 66bf249 commit a93c951

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

.github/workflows/ci.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ name: CI
44

55
jobs:
66
check_msrv:
7-
name: Check MSRV (1.69.0)
7+
name: Check MSRV (1.70.0)
88
strategy:
99
matrix:
1010
include:
@@ -17,7 +17,7 @@ jobs:
1717
runs-on: ${{ matrix.os }}
1818
steps:
1919
- uses: actions/checkout@v4
20-
- uses: dtolnay/rust-toolchain@1.69.0
20+
- uses: dtolnay/rust-toolchain@1.70.0
2121
# Note that examples are extempt from the MSRV check, so that they can use newer Rust features
2222
- run: cargo check --workspace --features ${{ matrix.features }} --no-default-features
2323

Cargo.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ homepage = "https://github.com/Traverse-Research/gpu-allocator"
1010
repository = "https://github.com/Traverse-Research/gpu-allocator"
1111
keywords = ["vulkan", "memory", "allocator"]
1212
documentation = "https://docs.rs/gpu-allocator/"
13-
rust-version = "1.69"
13+
rust-version = "1.70"
1414

1515
include = [
1616
"/README.md",
@@ -41,7 +41,7 @@ metal = { version = "0.28.0", git = "https://github.com/gfx-rs/metal-rs", rev =
4141
winapi = { version = "0.3.9", features = ["d3d12", "winerror", "impl-default", "impl-debug"], optional = true }
4242

4343
[target.'cfg(windows)'.dependencies.windows]
44-
version = ">=0.53,<=0.56"
44+
version = ">=0.53,<=0.57"
4545
features = [
4646
"Win32_Graphics_Direct3D12",
4747
"Win32_Graphics_Dxgi_Common",
@@ -57,7 +57,7 @@ env_logger = "0.10"
5757
winapi = { version = "0.3.9", features = ["d3d12", "d3d12sdklayers", "dxgi1_6", "winerror", "impl-default", "impl-debug", "winuser", "windowsx", "libloaderapi"] }
5858

5959
[target.'cfg(windows)'.dev-dependencies.windows]
60-
version = ">=0.53,<=0.56"
60+
version = ">=0.53,<=0.57"
6161
features = [
6262
"Win32_Graphics_Direct3D",
6363
"Win32_Graphics_Direct3D12",

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
[![LICENSE](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE-MIT)
77
[![LICENSE](https://img.shields.io/badge/license-apache-blue.svg?logo=apache)](LICENSE-APACHE)
88
[![Contributor Covenant](https://img.shields.io/badge/contributor%20covenant-v1.4%20adopted-ff69b4.svg)](../main/CODE_OF_CONDUCT.md)
9-
[![MSRV](https://img.shields.io/badge/rustc-1.69.0+-ab6000.svg)](https://blog.rust-lang.org/2023/04/20/Rust-1.69.0.html)
9+
[![MSRV](https://img.shields.io/badge/rustc-1.70.0+-ab6000.svg)](https://blog.rust-lang.org/2023/06/01/Rust-1.70.0.html)
1010

1111
[![Banner](banner.png)](https://traverseresearch.nl)
1212

@@ -163,7 +163,7 @@ allocator.free(&allocation).unwrap();
163163

164164
## Minimum Supported Rust Version
165165

166-
The MSRV for this crate and the `vulkan`, `d3d12` and `metal` features is Rust 1.69. Any other features such as the `visualizer` (with all the `egui` dependencies) may have a higher requirement and are not tested in our CI.
166+
The MSRV for this crate and the `vulkan`, `d3d12` and `metal` features is Rust 1.70. Any other features such as the `visualizer` (with all the `egui` dependencies) may have a higher requirement and are not tested in our CI.
167167

168168
## License
169169

README.tpl

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
[![LICENSE](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE-MIT)
77
[![LICENSE](https://img.shields.io/badge/license-apache-blue.svg?logo=apache)](LICENSE-APACHE)
88
[![Contributor Covenant](https://img.shields.io/badge/contributor%20covenant-v1.4%20adopted-ff69b4.svg)](../main/CODE_OF_CONDUCT.md)
9-
[![MSRV](https://img.shields.io/badge/rustc-1.69.0+-ab6000.svg)](https://blog.rust-lang.org/2023/04/20/Rust-1.69.0.html)
9+
[![MSRV](https://img.shields.io/badge/rustc-1.70.0+-ab6000.svg)](https://blog.rust-lang.org/2023/06/01/Rust-1.70.0.html)
1010

1111
[![Banner](banner.png)](https://traverseresearch.nl)
1212

@@ -21,7 +21,7 @@ gpu-allocator = "0.26.0"
2121

2222
## Minimum Supported Rust Version
2323

24-
The MSRV for this crate and the `vulkan`, `d3d12` and `metal` features is Rust 1.69. Any other features such as the `visualizer` (with all the `egui` dependencies) may have a higher requirement and are not tested in our CI.
24+
The MSRV for this crate and the `vulkan`, `d3d12` and `metal` features is Rust 1.70. Any other features such as the `visualizer` (with all the `egui` dependencies) may have a higher requirement and are not tested in our CI.
2525

2626
## License
2727

0 commit comments

Comments
 (0)