-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathCargo.toml
39 lines (35 loc) · 915 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
[package]
name = "uni-gl"
version = "0.3.0"
authors = [
"Edwin Cheng <[email protected]>",
"jice <[email protected]>"
]
description = "Unrust native/wasm openGL/webGL compatibility layer"
license = "MIT"
documentation = "https://docs.rs/uni-gl"
repository = "https://github.com/unrust/uni-gl"
keywords = ["opengl", "wasm", "webgl"]
edition = "2021"
exclude = ["www/*"]
[lib]
crate-type = ["cdylib", "rlib"]
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
gl = "0.14.0"
[target.wasm32-unknown-unknown.dependencies]
wasm-bindgen = "0.2.83"
js-sys = "0.3.60"
web-sys = { version = "0.3.60", features = [
"HtmlCanvasElement",
"WebGlRenderingContext",
"WebGl2RenderingContext",
"WebGlBuffer",
"WebGlShader",
"WebGlProgram",
"WebGlVertexArrayObject",
"WebGlUniformLocation",
"WebGlTexture",
"WebGlFramebuffer",
] }
[dev-dependencies]
uni-app = "0.3.*"