-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
30 lines (25 loc) · 748 Bytes
/
Cargo.toml
File metadata and controls
30 lines (25 loc) · 748 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
[package]
name = "minecraft-clone"
version = "0.1.0"
edition = "2024"
[lib]
crate-type = ["cdylib", "rlib"]
[features]
#reload = ["wgpu/naga"]
reload = []
[dependencies]
log = "0.4.22"
winit = { version = "0.30.12" }
bytemuck = { version = "1.18.0", features = ["derive"] }
glam = "0.30.5"
rand = "0.9.2"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
wgpu = { version = "26.0.1" }
env_logger = "0.11.5"
pollster = "0.4.0"
[target.'cfg(target_arch = "wasm32")'.dependencies]
wgpu = { version = "26.0.1", features = ["webgl", "webgpu"] }
wasm-bindgen = "0.2.93"
wasm-bindgen-futures = "0.4.43"
web-sys = { version = "0.3.70", features = ["console", "Element", "Performance"] }
getrandom = { version = "0.3.3", features = ["wasm_js"] }