-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
40 lines (34 loc) · 1.15 KB
/
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
[package]
name = "rust_particles"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
default = ["native"]
native = ["glam/std"]
[dependencies]
winit = "0.30.5"
egui = "0.30"
# wgpu = { version = "0.19.1" }
# wgpu = { version = "0.19.1", features = ["fragile-send-sync-non-atomic-wasm"] }
eframe = { version = "0.30", default-features = false, features = [
"default_fonts",
"wgpu",
] }
glam = { version = "0.29", default-features = false, features = ["bytemuck"] }
bytemuck = { version = "1.20", features = ["derive"] }
rand = "0.8.5"
log = "0.4"
itertools = "0.13"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
rayon = "1.10"
env_logger = "0.11.5"
[target.'cfg(target_arch = "wasm32")'.dependencies]
wgpu = { version = "23.0", default-features = false, features = ["webgl"] }
# wasm-bindgen-rayon = { version = "1.0", features = ["no-bundler"] }
# wasm-bindgen-rayon = { version = "1.0"}
wasm-bindgen-futures = "0.4"
getrandom = { version = "0.2", features = ["js"] }
instant = { version = "0.1", features = ["wasm-bindgen"] }
[profile.release]
debug = true