-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
32 lines (29 loc) · 962 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
[workspace]
resolver = "2"
members = [
"projects/libs-wasm",
"src/shared-wasm",
"src/public/experiments/wasm/balls/crate",
"src/public/experiments/wasm/projection/crate",
"src/public/experiments/wasm/ray-tracing/crate",
"src/public/experiments/wasm/ssao/crate",
"src/public/experiments/strokes/stroke-wasm1/crate",
"src/public/experiments/paintings/tile-fields/crate",
"src/public/experiments/squeegee-wasm/crate",
"src/public/tests/shapes/bevel-lines-2d-wasm/crate",
]
[workspace.dependencies]
tvs-libs = { path = "projects/libs-wasm" }
wasm-bindgen = "0.2"
web-sys = "0.3"
js-sys = "0.3"
serde = { version = "1.0", features = ["derive"] }
serde-wasm-bindgen = "0.6.3"
bytemuck = { version = "1.2.0", features = ["derive"] }
# palette = '0.7.2'
console_error_panic_hook = "0.1.7"
# noise = "0.8"
[profile.release]
# Tell `rustc` to optimize for small code size.
opt-level = "s"
lto = true # this makes all the #[inline] anotation unneccessary