-
Notifications
You must be signed in to change notification settings - Fork 543
/
Copy pathCargo.toml
75 lines (66 loc) · 1.62 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
[package]
name = "gfx-backend-gl"
version = "0.9.0"
description = "OpenGL backend for gfx-rs"
homepage = "https://github.com/gfx-rs/gfx"
repository = "https://github.com/gfx-rs/gfx"
keywords = ["graphics", "gamedev"]
license = "MIT OR Apache-2.0"
authors = ["The Gfx-rs Developers"]
readme = "README.md"
documentation = "https://docs.rs/gfx-backend-gl"
workspace = "../../.."
edition = "2018"
[lib]
name = "gfx_backend_gl"
[features]
default = []
cross = ["spirv_cross", "auxil", "naga/spv-out"]
[dependencies]
arrayvec = "0.5"
bitflags = "1"
fxhash = "0.2.1"
log = "0.4"
hal = { package = "gfx-hal", path = "../../hal", version = "0.9" }
glow = "0.9"
parking_lot = "0.11"
raw-window-handle = "0.3"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
egl = { package = "khronos-egl", version = "4.1", features = ["dynamic"] }
libloading = "0.7"
[dependencies.auxil]
package = "gfx-auxil"
path = "../../auxil/auxil"
version = "0.10"
features = ["spirv_cross"]
optional = true
[dependencies.spirv_cross]
version = "0.23"
features = ["glsl"]
optional = true
[dependencies.naga]
git = "https://github.com/gfx-rs/naga"
tag = "gfx-26"
features = ["spv-in", "glsl-out"]
[target.'cfg(target_arch = "wasm32")'.dependencies]
js-sys = "0.3.6"
wasm-bindgen = "0.2.60"
[target.'cfg(target_arch = "wasm32")'.dependencies.web-sys]
version = "0.3.6"
features = [
"console",
"Document",
"Element",
"HtmlCanvasElement",
"HtmlElement",
"Node",
"Performance",
"WebGlBuffer",
"WebGlRenderingContext",
"WebGl2RenderingContext",
"WebGlProgram",
"WebGlSampler",
"WebGlShader",
"WebGlTexture",
"Window",
]