diff options
author | tcmal <me@aria.rip> | 2024-08-25 17:44:20 +0100 |
---|---|---|
committer | tcmal <me@aria.rip> | 2024-08-25 17:44:20 +0100 |
commit | a748e4c3e3615601ee2afe6d347ef439d8ff50fa (patch) | |
tree | fdd32177e38c2e7e8ed66fe1d6af5c8d06caae55 /stockton-render/Cargo.toml | |
parent | 86a10c5c34157859e33b8d6ae5e51ec4159ed1cc (diff) |
WIP: update gfx-hal
Diffstat (limited to 'stockton-render/Cargo.toml')
-rw-r--r-- | stockton-render/Cargo.toml | 28 |
1 files changed, 3 insertions, 25 deletions
diff --git a/stockton-render/Cargo.toml b/stockton-render/Cargo.toml index aafd43b..eb717c4 100644 --- a/stockton-render/Cargo.toml +++ b/stockton-render/Cargo.toml @@ -6,38 +6,16 @@ authors = ["Oscar <oscar.shrimpton.personal@gmail.com>"] [dependencies] stockton-types = { path = "../stockton-types" } winit = "0.19.1" -gfx-hal = "^0.3" +gfx-hal = "^0.5" arrayvec = "0.4.10" nalgebra-glm = "0.4.0" shaderc = "0.6.1" log = "0.4.0" [features] -default = ["gl"] -metal = ["gfx-backend-metal"] -gl = ["gfx-backend-gl"] -dx11 = ["gfx-backend-dx11"] -dx12 = ["gfx-backend-dx12"] +default = ["vulkan"] vulkan = ["gfx-backend-vulkan"] -[dependencies.gfx-backend-gl] -version = "0.3" -features = ["glutin"] -optional = true - [dependencies.gfx-backend-vulkan] -version = "0.3" -features = ["winit"] -optional = true - -[target.'cfg(any(target_os = "macos", all(target_os = "ios", target_arch = "aarch64")))'.dependencies.gfx-backend-metal] -version = "0.3" -optional = true - -[target.'cfg(windows)'.dependencies.gfx-backend-dx11] -version = "0.3" -optional = true - -[target.'cfg(windows)'.dependencies.gfx-backend-dx12] -version = "0.3" +version = "^0.5" optional = true |