-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathCargo.toml
46 lines (38 loc) · 1013 Bytes
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
[package]
name = "quake"
version = "0.1.0"
authors = ["Matthew Collins <[email protected]>"]
edition = "2018"
[features]
default = [ "vulkan" ]
metal = ["gfx-backend-metal"]
gl = ["gfx-backend-gl"]
dx11 = ["gfx-backend-dx11"]
dx12 = ["gfx-backend-dx12"]
vulkan = ["gfx-backend-vulkan"]
[dependencies]
byteorder = "1.3.2"
cgmath = "0.17.0"
error-chain = "0.12.1"
winit = "0.19.1"
env_logger = "0.6.2"
shaderc = { version = "0.5.0", features = [ "build-from-source" ] }
log = "0.4.8"
[dependencies.gfx-hal]
version = "0.2.0"
[dependencies.gfx-backend-gl]
version = "0.2.0"
features = ["glutin"]
optional = true
[dependencies.gfx-backend-vulkan]
version = "0.2.0"
optional = true
[target.'cfg(any(target_os = "macos", all(target_os = "ios", target_arch = "aarch64")))'.dependencies.gfx-backend-metal]
version = "0.2.0"
optional = true
[target.'cfg(windows)'.dependencies.gfx-backend-dx11]
version = "0.2.0"
optional = true
[target.'cfg(windows)'.dependencies.gfx-backend-dx12]
version = "0.2.0"
optional = true