-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
42 lines (34 loc) · 719 Bytes
/
Copy pathCargo.toml
File metadata and controls
42 lines (34 loc) · 719 Bytes
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
[package]
name = "nbody"
version = "0.1.0"
edition = "2021"
[lib]
crate-type = ["cdylib", "lib"]
[features]
default = ["console_error_panic_hook"]
[dependencies]
wasm-bindgen = "0.2.100"
console_error_panic_hook = { version = "0.1.7", optional = true }
rand = "0.10.0"
getrandom = { version = "0.4.1", features = ["wasm_js"] }
js-sys = "0.3.65"
rand_distr = "0.6.0"
[dependencies.web-sys]
version = "0.3.4"
features = [
'Document',
'Element',
'Window',
'console',
'HtmlCanvasElement',
'HtmlInputElement',
'CanvasRenderingContext2d',
'Path2d',
'WebGlBuffer',
'WebGlVertexArrayObject',
'WebGl2RenderingContext',
'WebGlProgram',
'WebGlShader',
'Performance',
'WebGlUniformLocation'
]