-
Notifications
You must be signed in to change notification settings - Fork 39
/
Cargo.toml
54 lines (49 loc) · 1.67 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
[package]
name = "coffee-ldr"
version = "0.2.0"
authors = ["biscoito <[email protected]>"]
description = "Coffee: A COFF loader made in Rust"
documentation = "https://docs.rs/coffee-ldr/latest"
license = "GPL-3.0-or-later"
homepage = "https://github.com/hakaioffsec/coffee"
repository = "https://github.com/hakaioffsec/coffee"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[profile.release]
# Optimize for size on release.
strip = "debuginfo"
codegen-units = 1
opt-level = "z"
lto = true
[dependencies]
base64 = "0.22.1" # For base64 decoding binary arguments.
byteorder = "1.4.3" # For endianess conversion.
clap = { version = "4.3.5", features = ["derive"] } # For command line parsing.
color-eyre = "0.6.2" # For error handling.
goblin = { version = "0.8.2", features = [
"alloc",
] } # For parsing COFF files. object can be used too.
printf-compat = "0.1.1" # For printf formatting.
tracing = "0.1.37" # For logging.
tracing-subscriber = "0.3.17" # For logging.
widestring = "1.0.2" # For wide string support.
# Windows APIs.
windows = { version = "0.56.0", features = [
"Win32_Foundation",
"Win32_System_Memory",
"Win32_System_SystemServices",
"Win32_System_LibraryLoader",
"Win32_System_Threading",
"Win32_Security",
"Win32_System_Diagnostics_Debug",
] }
# Pure type definitions for Windows APIs.
windows-sys = { version = "0.52.0", features = [
"Win32_Foundation",
"Win32_System_Memory",
"Win32_System_SystemServices",
"Win32_System_LibraryLoader",
"Win32_System_Threading",
"Win32_Security",
"Win32_System_Diagnostics_Debug",
] }