Skip to content

Commit c7e3c3c

Browse files
committed
Merge remote-tracking branch 'origin/main' into no-std-support
2 parents c3e2d51 + 0c5fc95 commit c7e3c3c

7 files changed

Lines changed: 36 additions & 454 deletions

File tree

Cargo.toml

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,8 @@ objc2-metal = { version = "0.3", default-features = false, features = [
4848
"std",
4949
], optional = true }
5050

51-
[target.'cfg(windows)'.dependencies]
52-
# Only needed for public-winapi interop helpers
53-
winapi = { version = "0.3.9", features = ["d3d12", "winerror", "impl-default", "impl-debug"], optional = true }
54-
5551
[target.'cfg(windows)'.dependencies.windows]
56-
version = ">=0.53,<=0.59"
52+
version = ">=0.53, <=0.61"
5753
features = [
5854
"Win32_Graphics_Direct3D12",
5955
"Win32_Graphics_Dxgi_Common",
@@ -65,12 +61,9 @@ optional = true
6561
ash = { version = "0.38", default-features = false, features = ["debug", "loaded"] }
6662
env_logger = "0.10"
6763

68-
[target.'cfg(windows)'.dev-dependencies]
69-
winapi = { version = "0.3.9", features = ["d3d12", "d3d12sdklayers", "dxgi1_6", "winerror", "impl-default", "impl-debug", "winuser", "windowsx", "libloaderapi"] }
70-
7164
[target.'cfg(windows)'.dev-dependencies.windows]
7265
# API-breaks since Windows 0.58 only affect our examples
73-
version = ">=0.58,<=0.59"
66+
version = ">=0.58, <=0.61"
7467
features = [
7568
"Win32_Graphics_Direct3D",
7669
"Win32_Graphics_Direct3D12",
@@ -86,10 +79,6 @@ objc2-metal = { version = "0.3", default-features = false, features = [
8679
name = "vulkan-buffer"
8780
required-features = ["vulkan", "ash/loaded"]
8881

89-
[[example]]
90-
name = "d3d12-buffer"
91-
required-features = ["d3d12", "public-winapi"]
92-
9382
[[example]]
9483
name = "d3d12-buffer-winrs"
9584
required-features = ["d3d12"]
@@ -104,8 +93,6 @@ visualizer = ["dep:egui", "dep:egui_extras"]
10493
vulkan = ["dep:ash"]
10594
d3d12 = ["dep:windows"]
10695
metal = ["dep:objc2", "dep:objc2-metal", "dep:objc2-foundation"]
107-
# Expose helper functionality for winapi types to interface with gpu-allocator, which is primarily windows-rs driven
108-
public-winapi = ["dep:winapi"]
10996
# Enables the FreeListAllocator when `std` is not enabled by using the `hashbrown` crate
11097
hashbrown = ["dep:hashbrown"]
11198

README.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,6 @@ gpu-allocator = "0.27.0"
1919

2020
This crate provides a fully written in Rust memory allocator for Vulkan, DirectX 12 and Metal.
2121

22-
## [Windows-rs] and [winapi]
23-
24-
`gpu-allocator` recently migrated from [winapi] to [windows-rs] but still provides convenient helpers to convert to and from [winapi] types, enabled when compiling with the `public-winapi` crate feature.
25-
26-
[Windows-rs]: https://github.com/microsoft/windows-rs
27-
[winapi]: https://github.com/retep998/winapi-rs
28-
2922
## Setting up the Vulkan memory allocator
3023

3124
```rust

examples/d3d12-buffer.rs

Lines changed: 0 additions & 283 deletions
This file was deleted.

0 commit comments

Comments
 (0)