-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
58 lines (49 loc) · 1.04 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
[package]
name = "prim"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
name = "libprim"
crate-type = ["cdylib", "rlib"]
path = "src/lib.rs"
#[[bin]]
#name = "prim"
#path = "src/main.rs"
[profile.dev.package."*"]
opt-level = 3
[profile.dev]
opt-level = 1
[profile.release]
lto = true
codegen-units = 1
debug = true
[features]
stats = []
[dependencies]
bytes = "1.3"
bytemuck = { version = "1.12", features = [ "derive" ] }
glam = { version = "0.21", features = ["bytemuck"] }
cfg-if = "1"
winit = "0.27"
env_logger = "0.9"
log = "0.4"
pollster = "0.2"
wgpu = "0.14"
instant = "0.1"
hashers = "1.0"
itertools = "0.10"
rand = "0.8"
bevy_ecs = "0.8"
wgpu_text = "0.6"
[target.'cfg(target_arch = "wasm32")'.dependencies]
console_error_panic_hook = "0.1.6"
console_log = "0.2.0"
wgpu = { version = "0.14", features = ["webgl"]}
wasm-bindgen = "0.2"
wasm-bindgen-futures = "0.4.30"
web-sys = { version = "0.3", features = [
"Document",
"Window",
"Element",
]}