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 | 86a10c5c34157859e33b8d6ae5e51ec4159ed1cc (patch) | |
tree | 5fbf52a1f44b232ed52093128868ba531f036441 /stockton-render/Cargo.toml | |
parent | d36efbb9d100894c8989111ae9b4700db2a8a32f (diff) |
refactor(render): update gfx-hal and fix compilation
Diffstat (limited to 'stockton-render/Cargo.toml')
-rw-r--r-- | stockton-render/Cargo.toml | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/stockton-render/Cargo.toml b/stockton-render/Cargo.toml index 01b6caa..aafd43b 100644 --- a/stockton-render/Cargo.toml +++ b/stockton-render/Cargo.toml @@ -2,19 +2,18 @@ name = "stockton-render" version = "0.1.0" authors = ["Oscar <oscar.shrimpton.personal@gmail.com>"] -edition = "2018" [dependencies] stockton-types = { path = "../stockton-types" } winit = "0.19.1" -gfx-hal = "0.2.1" +gfx-hal = "^0.3" arrayvec = "0.4.10" nalgebra-glm = "0.4.0" -shaderc = "0.5.0" +shaderc = "0.6.1" log = "0.4.0" [features] -default = ["vulkan"] +default = ["gl"] metal = ["gfx-backend-metal"] gl = ["gfx-backend-gl"] dx11 = ["gfx-backend-dx11"] @@ -22,22 +21,23 @@ dx12 = ["gfx-backend-dx12"] vulkan = ["gfx-backend-vulkan"] [dependencies.gfx-backend-gl] -version = "0.2" +version = "0.3" features = ["glutin"] optional = true [dependencies.gfx-backend-vulkan] -version = "0.2" +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.2" +version = "0.3" optional = true [target.'cfg(windows)'.dependencies.gfx-backend-dx11] -version = "0.2" +version = "0.3" optional = true [target.'cfg(windows)'.dependencies.gfx-backend-dx12] -version = "0.2" +version = "0.3" optional = true |