-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
49 lines (42 loc) · 904 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
40
41
42
43
44
45
46
47
48
49
[package]
name = "webgl_render_area"
version = "0.1.0"
categories = ["wasm"]
edition = "2021"
[lib]
crate-type = ["lib","cdylib"]
[profile.release]
lto = true
[dependencies]
wasm-bindgen = "0.2.45"
js-sys = "0.3.56"
svgtypes = "0.8.0"
csscolorparser = {version = "0.5.0", default-features = false}
cgmatrix = "0.2.1"
# dev dependencies
console_error_panic_hook = "0.1.5"
# rand = "0.8.5"
# getrandom = { version = "0.2", features = ["js"] }
[dependencies.web-sys]
version = "0.3.56"
features = [
"console",
'Document',
'Element',
'HtmlCanvasElement',
'WebGlBuffer',
'WebGlVertexArrayObject',
'WebGl2RenderingContext',
'WebGlProgram',
'WebGlShader',
'WebGlTexture',
'WebGlFramebuffer',
'WebGlRenderbuffer',
'WebGlUniformLocation',
'Window',
]
[dev-dependencies]
serde_json = "1.0.79"
wasm-bindgen-test = "0.3.29"
[profile.test]
opt-level = 3