-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
34 lines (30 loc) · 1023 Bytes
/
Cargo.toml
File metadata and controls
34 lines (30 loc) · 1023 Bytes
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
[package]
name = "rfdll-injector"
version = "0.1.0"
edition = "2024"
[dependencies]
reqwest = { version = "0.13.2", features = ["json", "blocking"] }
sha2 = "0.11.0"
anyhow = "1.0"
ntapi = "0.4.3"
pelite = "0.10.0"
winapi = { version = "0.3.9", features = [
"errhandlingapi", # For GetLastError
"winbase", # For CreateFileMappingA
"memoryapi", # For MapViewOfFile (usually needs explicit enabling too)
"libloaderapi", # For GetModuleHandleA, GetProcAddress
"tlhelp32", # For CreateToolhelp32Snapshot, etc.
"minwindef", # Almost always needed for DWORD, MAX_PATH, etc.
"winnt", # For HANDLE and memory protection constants, etc.
"processthreadsapi", # For GetCurrentThread
] }
clap = { version = "4.6.0", features = ["derive"] }
obfuse = "1.0.1"
# is_elevated = "0.1.2"
[profile.dev]
panic = "abort"
[profile.release]
debug = false
strip = "symbols"
lto = true # 链接时优化,进一步减小体积
# opt-level = "z" # 优化体积而非速度