-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
37 lines (34 loc) · 833 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
[package]
name = "rust-webgl-tetrahedron"
version = "0.1.0"
authors = ["Benjamin Hinchliff <[email protected]>"]
edition = "2018"
description = "it's rendering with WebGL from rust compiled to WebAssembly"
repository = "https://github.com/BenjaminHinchliff/rust-wasm-webgl"
license = "GPLv3"
[lib]
crate-type = ["cdylib"]
[dependencies]
wasm-bindgen = "0.2"
js-sys = "0.3"
console_error_panic_hook = "0.1"
nalgebra = "0.21"
console_log = { version = "0.2", features = ["color"] }
log = "0.4"
gltf = { version = "0.15", features = ["utils", "import"] }
[dependencies.web-sys]
version = "0.3"
features = [
"Document",
"Element",
"HtmlCanvasElement",
"WebGlBuffer",
"WebGlRenderingContext",
"WebGlProgram",
"WebGlShader",
"WebGlUniformLocation",
"ImageData",
"WebGlTexture",
"Window",
"console",
]