forked from mon/bad_apple_virus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
57 lines (50 loc) · 1.22 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
[package]
name = "bad_apple"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
include-bytes-zstd = "0.1.0"
kira = { version = "0.8.4", default-features = false, features = ["cpal", "ogg"] }
lazy_static = "1.4.0"
[dependencies.windows]
version = "0.42.0"
features = [
# core
"Win32_Foundation",
# window creation
"Win32_UI_WindowsAndMessaging",
"Win32_Graphics_Gdi",
# commandline helper
"Win32_System_Console",
# IMAGE_DOS_HEADER
"Win32_System_SystemServices",
# IProgressDialog
"Win32_UI_Shell",
"Win32_System_Com",
# GetCurrentThreadId
"Win32_System_Threading",
# GetModuleHandleA
"Win32_System_LibraryLoader",
]
# used for hooking functions with more ease
[dependencies.windows-sys]
version = "0.42.0"
features = [
# core
"Win32_Foundation",
# CreateWindowExA
"Win32_UI_WindowsAndMessaging",
]
[target.'cfg(windows)'.build-dependencies]
winres = "0.1.12"
[package.metadata.winres]
FileDescription = "badapple"
ProductName = ""
CompanyName = "https://github.com/mon"
[profile.release]
strip = true
opt-level = "z"
lto = true
panic = "abort"
codegen-units = 1