-
Notifications
You must be signed in to change notification settings - Fork 21
/
Cargo.toml
90 lines (77 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
[package]
name = "vangers"
version = "0.3.0"
authors = ["kvark"]
edition = "2021"
resolver = "2"
default-run = "road"
publish = false
[workspace]
members = [
"lib/ffi",
"lib/m3d",
"lib/splay",
"lib/tiff",
]
[lib]
[features]
default = []
profile = ["profiling/profile-with-tracy"]
[profile.release]
panic = "abort"
[[bin]]
name = "road"
path = "bin/road/main.rs"
[[bin]]
name = "model"
path = "bin/model/main.rs"
[[bin]]
name = "level"
path = "bin/level/main.rs"
[[bin]]
name = "convert"
path = "bin/convert/main.rs"
[dependencies]
# internals
m3d = { path = "lib/m3d" }
splay = { path = "lib/splay" }
tiff = { path = "lib/tiff" }
# library
bytemuck = "1"
byteorder = "1.0"
cgmath = { version = "0.18", features = ["rand"] }
futures = "0.3"
fnv = "1"
log = "0.4"
progress = "0.2"
rand = "0.8"
rayon = "1"
ron = "0.8"
rust-ini = "0.19"
serde = "1.0"
serde_derive = "1.0"
serde_scan = "0.4"
# keep in sync with `lib/ffi/Cargo.toml`
wgpu = { version = "0.17", features = [] }
# binaries
env_logger = "0.10"
getopts = "0.2"
obj = "0.10"
png = "0.17"
winit = "0.28"
# gui
egui = "0.22"
egui_winit_platform = "0.19"
egui_wgpu_backend = "0.25"
[dev-dependencies]
naga = { version = "0.13", features = ["wgsl-in", "validate"] }
[dependencies.profiling]
version = "1.0.1"
default-features = false
[patch.crates-io]
#wgpu = { path = "../wgpu/wgpu" }
#wgpu-hal = { path = "../wgpu/wgpu-hal" }
#wgpu-core = { path = "../wgpu/wgpu-core" }
#wgpu-types = { path = "../wgpu/wgpu-types" }
[patch."https://github.com/gfx-rs/naga"]
#naga = { path = "../naga" }