forked from gfx-rs/gfx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
156 lines (125 loc) · 3.46 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
149
150
151
152
153
154
155
156
[package]
name = "gfx_examples"
version = "0.1.0"
workspace = ".."
[features]
default = ["gl"]
mint = ["gfx/mint", "gfx_core/mint"]
metal = ["gfx_device_metal", "gfx_window_metal", "gfx_device_metalll"]
metal_argument_buffer = ["gfx_device_metalll/argument_buffer"]
gl = ["gfx_device_gl", "gfx_window_glutin"]
dx11 = ["gfx_device_dx11", "gfx_window_dxgi"]
dx12 = ["gfx_device_dx12", "gfx_device_dx12ll", "gfx_window_dxgi"]
vulkan = ["gfx_device_vulkan", "gfx_device_vulkanll", "gfx_window_vulkan"]
sdl = ["gfx_window_sdl"]
serialize = ["gfx/serialize", "gfx_core/serialize"]
headless = ["gfx_window_glutin/headless"]
unstable = []
[dependencies]
log = "0.3"
env_logger = "0.4"
glutin = "0.9"
winit = "0.7"
cgmath = "0.15"
gfx_gl = "0.3"
rand = "0.3"
genmesh = "0.5"
noise = "0.4"
image = "0.15"
gfx = { path = "../src/render", version = "0.16" }
gfx_core = { path = "../src/core", version = "0.7.1" }
gfx_corell = { path = "../src/corell", version = "0.1" }
gfx_support = { path = "../src/support", version = "0.7" }
gfx_device_gl = { path = "../src/backend/gl", version = "0.14", optional = true }
gfx_window_glutin = { path = "../src/window/glutin", version = "0.17", optional = true }
[dependencies.gfx_device_vulkan]
path = "../src/backend/vulkan"
version = "0.2"
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.3"
optional = true
[dependencies.gfx_device_metal]
path = "../src/backend/metal"
version = "0.3"
optional = true
[dependencies.gfx_window_metal]
path = "../src/window/metal"
version = "0.4"
optional = true
[dependencies.gfx_device_metalll]
path = "../src/backend/metalll"
version = "0.2"
optional = true
#features = ["native_fence"]
[dependencies.gfx_window_sdl]
path = "../src/window/sdl"
version = "0.7"
optional = true
[target.'cfg(unix)'.dependencies]
gfx_window_glfw = { path = "../src/window/glfw", version = "0.15" }
gfx_window_sdl = { path = "../src/window/sdl", version = "0.7" }
[target.'cfg(windows)'.dependencies]
gfx_device_dx11 = { path = "../src/backend/dx11", version = "0.6", optional = true }
gfx_device_dx12 = { path = "../src/backend/dx12", version = "0.1", optional = true }
gfx_window_dxgi = { path = "../src/window/dxgi", version = "0.9", optional = true }
gfx_device_dx12ll = { path = "../src/backend/dx12ll", version = "0.1", optional = true }
# Support examples.
[[bin]]
name = "blend"
path = "support/blend/main.rs"
[[bin]]
name = "cube"
path = "support/cube/main.rs"
[[bin]]
name = "deferred"
path = "support/deferred/main.rs"
[[bin]]
name = "flowmap"
path = "support/flowmap/main.rs"
[[bin]]
name = "performance"
path = "support/performance/main.rs"
[[bin]]
name = "shadow"
path = "support/shadow/main.rs"
[[bin]]
name = "skybox"
path = "support/skybox/main.rs"
[[bin]]
name = "terrain"
path = "support/terrain/main.rs"
[[bin]]
name = "terrain_tessellated"
path = "support/terrain_tessellated/main.rs"
[[bin]]
name = "instancing"
path = "support/instancing/main.rs"
[[bin]]
name = "ubo_tilemap"
path = "support/ubo_tilemap/main.rs"
[[bin]]
name = "mipmap"
path = "support/mipmap/main.rs"
[[bin]]
name = "particle"
path = "support/particle/main.rs"
[[bin]]
name = "triangle"
path = "support/triangle/main.rs"
# corell examples
[[bin]]
name = "trianglell"
path = "corell/trianglell/main.rs"
# render examples
[[bin]]
name = "triangle_render"
path = "render/triangle/main.rs"
[[bin]]
name = "gamma"
path = "render/gamma/main.rs"