-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathCargo.toml
50 lines (44 loc) · 1.66 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
cargo-features = ["edition2024", "profile-rustflags"]
[package]
name = "rusted-assault-cube"
version = "2.3.1"
edition = "2024"
authors = ["luadebug Lin Evelynn [email protected]"]
publish = false
[dependencies]
windows = { git = "https://github.com/microsoft/windows-rs", features = ["Win32_System_Console",
"Win32_System_SystemServices", "Win32_System_LibraryLoader", "Win32_System_Threading", "Win32_Security",
"Win32_System_Memory", "Win32_System_Diagnostics", "Win32_System_Diagnostics_Debug", "Win32_Graphics",
"Win32_UI", "Win32_UI_Input", "Win32_UI_Input_KeyboardAndMouse", "Win32_Graphics_Gdi",
"Win32_UI_WindowsAndMessaging", "Win32_System_ProcessStatus"] }
hudhook = { git = "https://github.com/veeenu/hudhook/", features = ["opengl3", "imgui-freetype",
"imgui-docking", "imgui-tables-api"] }
tracing-subscriber = "0.3.18"
once_cell = "1.19.0"
ilhook = "2.1.1"
serde = { version = "1.0.204", features = ["derive"] }
log = "0.4.22"
anyhow = "1.0.86"
serde_yml = "0.0.12"
gnal_tsur = "0.1.0"
pkg-config = "0.3.30"
imgui-sys = { version = "0.12.0", features = ["use-vcpkg"] }
lazy_static = "1.5.0"
[lib]
crate-type = ["cdylib"]
[profile.dev]
debug = true
#rustflags = ["-C", "target-feature=+crt-static"]
#rustflags = ["-C", "link-arg=-fuse-ld=lld"]
#rustflags = ["-C", "link-arg=-fuse-ld=mold"]
[profile.release]
incremental = true
lto = true
opt-level = "s" #z
debug = false
strip = true
#rustflags = ["-C", "target-feature=+crt-static"]
#rustflags = ["-C", "link-arg=-fuse-ld=lld"]
#rustflags = ["-C", "link-arg=-fuse-ld=mold"]
[target.'cfg(target_os="windows")'.build-dependencies]
vcpkg = "0.2.15"