-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
55 lines (47 loc) · 1.34 KB
/
Cargo.toml
File metadata and controls
55 lines (47 loc) · 1.34 KB
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
[package]
name = "polymorph"
version = "1.1.0"
authors = ["xonoxitron <https://github.com/xonoxitron>"]
edition = "2021"
rust-version = "1.70"
description = "Open-source detector for APE, Zig, and WASM polyglot malware"
documentation = "https://github.com/xonoxitron/polymorph"
readme = "README.md"
homepage = "https://github.com/xonoxitron/polymorph"
repository = "https://github.com/xonoxitron/polymorph"
license = "MIT"
keywords = ["security", "malware", "polyglot", "detection", "wasm"]
categories = ["command-line-utilities", "development-tools"]
# ---------------- Core dependencies ----------------
[dependencies]
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
# ---------------- Dev / test only ----------------
[dev-dependencies]
tempfile = "3.8"
criterion = "0.5"
# ---------------- Release profile ----------------
[profile.release]
opt-level = 3
lto = true
codegen-units = 1
strip = true
panic = "abort"
# ---------------- Binary ----------------
[[bin]]
name = "polymorph"
path = "src/main.rs"
# ---------------- Benchmarks ----------------
[[bench]]
name = "benchmark"
harness = false
# ---------------- Examples ----------------
[[example]]
name = "basic_scan"
path = "examples/basic_scan.rs"
[[example]]
name = "batch_scan"
path = "examples/batch_scan.rs"
[[example]]
name = "json_output"
path = "examples/json_output.rs"