-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
35 lines (30 loc) · 837 Bytes
/
Cargo.toml
File metadata and controls
35 lines (30 loc) · 837 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
[package]
name = "voxel"
version = "0.1.0"
edition = "2021"
default-run = "voxel-desktop"
[lib]
crate-type = ["cdylib", "rlib"]
path = "src/lib.rs"
[[bin]]
name = "voxel-desktop"
path = "src/main.rs"
[dependencies]
anyhow = "1"
bytemuck = { version = "1", features = ["derive"] }
glam = { version = "0.29", features = ["bytemuck"] }
image = { version = "0.25", default-features = false, features = ["png"] }
noise = "0.9"
wgpu = "0.20"
winit = "0.30"
fastrand = "2.1"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
pollster = "0.4"
[target.'cfg(target_arch = "wasm32")'.dependencies]
console_error_panic_hook = "0.1"
js-sys = "0.3"
wasm-bindgen = "0.2"
wasm-bindgen-futures = "0.4"
web-sys = { version = "0.3", features = ["Window", "Response"] }
web-time = "1"
wgpu = { version = "0.20", features = ["webgpu", "webgl"] }