forked from gfx-rs/gfx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
67 lines (59 loc) · 1.59 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
[package]
name = "gfx-backend-gl"
version = "0.4.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"
build = "build.rs"
[lib]
name = "gfx_backend_gl"
[features]
default = []
wgl = []
[dependencies]
arrayvec = "0.5"
bitflags = "1"
log = { version = "0.4" }
gfx-hal = { path = "../../hal", version = "0.4" }
auxil = { path = "../../auxil/auxil", version = "0.2", package = "gfx-auxil", features = ["spirv_cross"] }
smallvec = "0.6"
glow = "0.3.0-alpha3"
parking_lot = "0.9"
spirv_cross = { version = "0.16", features = ["glsl"] }
lazy_static = "1"
raw-window-handle = "0.3"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
glutin = { version = "0.22.0-alpha5", optional = true }
[target.'cfg(target_arch = "wasm32")'.dependencies]
js-sys = "0.3.6"
wasm-bindgen = "0.2.51"
[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",
]
[target.'cfg(windows)'.dependencies]
winapi = { version = "0.3", features = ["libloaderapi", "windef", "wingdi", "winuser"] }
[build-dependencies]
gl_generator = "0.11"