-
Notifications
You must be signed in to change notification settings - Fork 12
/
Cargo.toml
76 lines (69 loc) · 1.89 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
[package]
authors = ["etke"]
categories = ["command-line-utilities"]
description = "Fast multi-platform (ELF/PE/MachO) binary checksec command line utility and library."
documentation = "https://docs.rs/checksec"
edition = "2021"
homepage = "https://crates.io/crates/checksec"
include = [
"src/*.rs",
"Cargo.toml",
"README.md",
"LICENSE",
]
keywords = ["checksec", "binary", "security"]
license = "Apache-2.0"
name = "checksec"
readme = "README.md"
repository = "https://github.com/etke/checksec.rs"
version = "0.0.9"
[profile.release]
codegen-units = 1 # Reduce number of codegen units to increase optimizations
lto = true # Enable Link Time Optimization
opt-level = 'z' # Optimize for size
panic = 'abort' # Abort on panic
[dependencies]
clap = {version = "4.0.14", features = ["cargo"]}
colored = {version = "2.0.0", optional = true}
colored_json = {version = "3.0.1", optional = true}
either = "1.8.1"
glob = "0.3.0"
goblin = "0.6.0"
iced-x86 = {version = "1.18.0", optional = true}
ignore = "0.4.18"
itertools = "0.10.5"
memmap2 = "0.5.7"
rayon = "1.7.0"
scroll = "0.11.0"
scroll_derive = "0.11.0"
serde = {version = "1.0.145", features = ["derive"]}
serde_derive = "1.0.145"
serde_json = "1.0.86"
sysinfo = "0.28.2"
[target.'cfg(target_os="windows")'.dependencies]
windows = {version = "0.42.0", features = [
"Win32_Foundation",
"Win32_Security",
"Win32_System_Diagnostics_Debug",
"Win32_System_Diagnostics_ToolHelp",
"Win32_System_Kernel",
"Win32_System_Memory",
"Win32_System_Threading",
]}
[target.'cfg(target_os="linux")'.dependencies]
xattr = {version = "1.0.0", optional = true}
[lib]
name = "checksec"
path = "src/lib.rs"
[[bin]]
name = "checksec"
path = "src/main.rs"
[features]
color = ["colored", "colored_json", "xattr"]
default = ["elf", "macho", "pe", "color", "maps", "disassembly"]
disassembly = ["iced-x86"]
elf = ["shared"]
macho = ["shared"]
maps = []
pe = []
shared = []