-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
62 lines (53 loc) · 1.53 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
59
60
61
62
[package]
name = "voidin"
version = "0.69.0"
edition = "2021"
default-run = "model"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[workspace]
members = ["crates/*"]
[workspace.dependencies]
glam = { version = "^0.24", features = ["rand", "bytemuck"] }
bytemuck = { version = "^1.13", features = ["derive"] }
color-eyre = "^0.6"
log = "^0.4"
env_logger = "0.10.0"
ahash = "^0.8"
wgpu = { version = "^0.17", features = ["spirv", "naga", "glsl"] }
rand = { version = "^0.8", features = ["small_rng"] }
winit = "^0.28"
png = "^0.17"
dolly = "0.4.2"
either = "1.8.1"
tobj = "4.0.0"
half = { version = "2.2.1", features = ["bytemuck"] }
[dependencies]
bvh = { path = "crates/bvh" }
app = { path = "crates/app" }
dyn_import = { path = "crates/dyn_import" }
wgpu = { workspace = true }
winit = { workspace = true }
color-eyre = { workspace = true }
glam = { workspace = true }
rand = { workspace = true }
bytemuck = { workspace = true }
log = { workspace = true }
half = { workspace = true }
tobj = { workspace = true }
[profile.dev.package."*"]
opt-level = 1
[profile.dev.package.app]
opt-level = 0
[profile.dev.package.dyn_import]
opt-level = 0
[profile.hyper]
inherits = "release"
panic = "abort" # Strip expensive panic clean-up logic
codegen-units = 1 # Compile crates one after another so the compiler can optimize better
lto = true # Enables link to optimizations
strip = true # Remove debug symbols
[profile.profiling]
inherits = "release"
debug = true
strip = false
panic = "unwind"