[package]
edition = "2021"
rust-version = "1.85"
name = "exec-pe-core"
version = "0.3.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "PE (Portable Executable) binary format parser for forensic analysis"
readme = false
license = "Apache-2.0"
repository = "https://github.com/SecurityRonin/exec-pe-forensic"
[lib]
name = "exec_pe_core"
path = "src/lib.rs"
[[test]]
name = "canonical_finding_tests"
path = "tests/canonical_finding_tests.rs"
[dependencies.forensicnomicon]
version = "1"
[dependencies.goblin]
version = "0.10"
features = [
"pe32",
"pe64",
"std",
]
default-features = false
[dependencies.hex]
version = "0.4"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.sha2]
version = "0.10"
[dependencies.thiserror]
version = "2"
[dev-dependencies.tempfile]
version = "3"
[lints.clippy]
correctness = "deny"
suspicious = "deny"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.cast_possible_truncation]
level = "allow"
priority = 1
[lints.clippy.cast_possible_wrap]
level = "allow"
priority = 1
[lints.clippy.cast_precision_loss]
level = "allow"
priority = 1
[lints.clippy.cast_sign_loss]
level = "allow"
priority = 1
[lints.clippy.expect_used]
level = "deny"
priority = 0
[lints.clippy.items_after_statements]
level = "allow"
priority = 1
[lints.clippy.missing_errors_doc]
level = "allow"
priority = 1
[lints.clippy.missing_panics_doc]
level = "allow"
priority = 1
[lints.clippy.module_name_repetitions]
level = "allow"
priority = 1
[lints.clippy.must_use_candidate]
level = "allow"
priority = 1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.clippy.struct_excessive_bools]
level = "allow"
priority = 1
[lints.clippy.too_many_lines]
level = "allow"
priority = 1
[lints.clippy.unwrap_used]
level = "deny"
priority = 0
[lints.rust]
unsafe_code = "deny"