forked from gfx-rs/gfx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
148 lines (117 loc) · 3.04 KB
/
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
[package]
name = "gfx_app"
version = "0.4.0"
description = "GFX example application framework"
homepage = "https://github.com/gfx-rs/gfx"
keywords = ["graphics", "gamedev"]
license = "Apache-2.0"
authors = ["The Gfx-rs Developers"]
documentation = "https://docs.rs/gfx_app"
[features]
default = []
sdl = ["gfx_window_sdl"]
vulkan = ["gfx_device_vulkan", "gfx_device_vulkanll", "gfx_window_vulkan"]
metal = ["gfx_device_metal", "gfx_window_metal"]
unstable = []
[lib]
name = "gfx_app"
[dependencies]
log = "0.3"
env_logger = "0.3"
glutin = "0.7.1"
winit = "0.5.1"
gfx_core = { path = "src/core", version = "0.6" }
gfx_corell = { path = "src/corell", version = "0.1" }
gfx = { path = "src/render", version = "0.14" }
gfx_macros = { path = "src/macros", version = "0.2" }
gfx_device_gl = { path = "src/backend/gl", version = "0.13" }
gfx_window_glutin = { path = "src/window/glutin", version = "0.14" }
[dependencies.gfx_device_vulkan]
path = "src/backend/vulkan"
version = "0.1"
optional = true
[dependencies.gfx_device_vulkanll]
path = "src/backend/vulkanll"
version = "0.1"
optional = true
[dependencies.gfx_window_vulkan]
path = "src/window/vulkan"
version = "0.1"
optional = true
[dependencies.gfx_device_metal]
path = "src/backend/metal"
version = "0.1"
optional = true
[dependencies.gfx_window_metal]
path = "src/window/metal"
version = "0.1"
optional = true
[dependencies.gfx_window_sdl]
path = "src/window/sdl"
version = "0.5"
optional = true
[target.'cfg(unix)'.dependencies]
gfx_window_glfw = { path = "src/window/glfw", version = "0.13" }
gfx_window_sdl = { path = "src/window/sdl", version = "0.5" }
[target.'cfg(windows)'.dependencies]
gfx_device_dx11 = { path = "src/backend/dx11", version = "0.5" }
# gfx_device_dx12ll = { path = "src/backend/dx12ll", version = "0.1" }
gfx_window_dxgi = { path = "src/window/dxgi", version = "0.6" }
[[example]]
name = "blend"
path = "examples/blend/main.rs"
[[example]]
name = "cube"
path = "examples/cube/main.rs"
[[example]]
name = "deferred"
path = "examples/deferred/main.rs"
[[example]]
name = "flowmap"
path = "examples/flowmap/main.rs"
[[example]]
name = "gamma"
path = "examples/gamma/main.rs"
[[example]]
name = "performance"
path = "examples/performance/main.rs"
[[example]]
name = "shadow"
path = "examples/shadow/main.rs"
[[example]]
name = "skybox"
path = "examples/skybox/main.rs"
[[example]]
name = "terrain"
path = "examples/terrain/main.rs"
[[example]]
name = "terrain_tessellated"
path = "examples/terrain_tessellated/main.rs"
[[example]]
name = "triangle"
path = "examples/triangle/main.rs"
[[example]]
name = "instancing"
path = "examples/instancing/main.rs"
[[example]]
name = "ubo_tilemap"
path = "examples/ubo_tilemap/main.rs"
[[example]]
name = "mipmap"
path = "examples/mipmap/main.rs"
[[example]]
name = "particle"
path = "examples/particle/main.rs"
[[example]]
name = "trianglell"
path = "examples/trianglell/main.rs"
[dev-dependencies]
cgmath = "0.7"
gfx_gl = "0.3"
rand = "0.3"
genmesh = "0.4"
noise = "0.1"
image = "0.12.3"
winit = "0.5"
[target.x86_64-unknown-linux-gnu.dev-dependencies]
glfw = "0.12"