WebGPU Voxel Game
1[package]
2name = "bl0ck"
3version = "0.1.0"
4edition = "2021"
5
6[dependencies]
7winit = { version = "0.30" }
8env_logger = "0.11"
9log = "0.4"
10wgpu = "24"
11cfg-if = "1"
12wasm-bindgen = "0.2"
13web-sys = "0.3"
14pollster = "0.4"
15bytemuck = { version = "1.18", features = ["derive"] }
16image = { version = "0.25", default-features = false, features = ["png", "jpeg"] }
17thiserror = "2"
18glam = { version = "0.29", features = ["bytemuck"] }
19tobj = { version = "4", default-features = false, features = ["async", "tokio"] }
20futures = "0.3"
21itertools = "0.14"
22egui = "0.31"
23egui-wgpu = "0.31"
24egui-winit = { version = "0.31", default-features = false }
25bincode = "2.0.0-RC.3"
26instant = "0.1"
27base64 = "0.22.1"
28tokio = { version = "1", features = ["full"]}
29block-mesh = "0.2.0"
30ndshape = "0.3.0"
31
32[build-dependencies]
33fs_extra = "1.3"
34
35[lib]
36crate-type = ["cdylib", "rlib"]
37
38[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
39rand = "0.9.0"
40rusqlite = { version = "0.34.0", features = ["bundled"] }
41
42[target.'cfg(target_arch = "wasm32")'.dependencies]
43console_error_panic_hook = "0.1.6"
44console_log = "1.0"
45wgpu = { version = "24", features = ["webgl"] }
46wasm-bindgen = "0.2"
47wasm-bindgen-futures = "0.4"
48web-sys = { version = "0.3", features = [
49 "Document",
50 "Window",
51 "Element",
52 "Location",
53 "Storage"
54] }
55reqwest = "0.12"
56instant = { version = "0.1", features = ["wasm-bindgen"] }