-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathCargo.toml
78 lines (65 loc) · 1.65 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
[package]
name = "squad-mortar-helper"
version = "0.4.2"
edition = "2021"
authors = ["William Venner <[email protected]>"]
publish = false
[workspace]
members = [
"vision-common",
"vision-gpu",
"vision-cpu",
"vision-ocr",
"heightmap-ripper",
"web",
"util"
]
[[bin]]
path = "src/main.rs"
name = "smh"
[features]
default = ["gpu"]
gpu = ["smh-vision-gpu"]
gpu-ptx-vendored = ["smh-vision-gpu/gpu-ptx-vendored"]
force-gpu-debug = ["smh-vision-gpu/force-gpu-debug"]
force-gpu-ptx-optimised = ["smh-vision-gpu/force-gpu-ptx-optimised"]
[profile.release]
debug = 1
codegen-units = 1
lto = "thin"
[dependencies]
smh-util = { path = "util" }
smh-vision-common = { path = "vision-common" }
smh-vision-cpu = { path = "vision-cpu" }
smh-vision-ocr = { path = "vision-ocr" }
smh-heightmap-ripper = { path = "heightmap-ripper" }
smh-web = { path = "web" }
ctrlc = "3"
scrap = "0"
crc32fast = "1"
magic_static = "3"
thiserror = "1"
lazy_static = "1"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
xz2 = { git = "https://github.com/alexcrichton/xz2-rs.git", features = ["static"], rev = "949294ec" }
# UI
glium = "0.30"
imgui = "0"
imgui-glium-renderer = "0"
imgui-winit-support = "0"
winit = "0.25"
clipboard = "0"
build-time = "0"
bumpalo = { version = "3", features = ["collections"] }
walkdir = "2"
sysreq = "0"
semver = "1"
[target.'cfg(all(any(windows, target_os = "linux"), target_arch = "x86_64"))'.dependencies]
smh-vision-gpu = { path = "vision-gpu", optional = true }
[target.'cfg(windows)'.dependencies]
winapi = { version = "0.3.9", features = ["winuser"] }
[target.'cfg(windows)'.build-dependencies]
winres = "0"
[build-dependencies]
build_cfg = "1"