petriage 0.5.0

Cross-platform PE file surface analysis tool for malware analysts
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "petriage"
version = "0.5.0"
build = "build.rs"
exclude = [
    "CLAUDE.md",
    "notes/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Cross-platform PE file surface analysis tool for malware analysts"
homepage = "https://github.com/uky007/petriage"
documentation = "https://docs.rs/petriage"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/uky007/petriage"

[features]
gui = [
    "dep:eframe",
    "dep:egui",
    "dep:egui_extras",
    "dep:rfd",
    "dep:image",
]
tui = [
    "dep:ratatui",
    "dep:crossterm",
]

[lib]
name = "petriage"
path = "src/lib.rs"

[[bin]]
name = "petriage"
path = "src/main.rs"

[[bin]]
name = "petriage-gui"
path = "src/bin/petriage-gui.rs"
required-features = ["gui"]

[[test]]
name = "malformed"
path = "tests/malformed.rs"

[dependencies.clap]
version = "4"
features = ["derive"]

[dependencies.cms]
version = "0.2"

[dependencies.colored]
version = "3"

[dependencies.const-oid]
version = "0.9"

[dependencies.crossterm]
version = "0.28"
optional = true

[dependencies.der]
version = "0.7"
features = ["derive"]

[dependencies.eframe]
version = "0.31"
optional = true

[dependencies.egui]
version = "0.31"
optional = true

[dependencies.egui_extras]
version = "0.31"
features = ["syntect"]
optional = true

[dependencies.goblin]
version = "0.9"

[dependencies.image]
version = "0.25"
features = [
    "ico",
    "png",
    "bmp",
]
optional = true
default-features = false

[dependencies.md-5]
version = "0.10"

[dependencies.ratatui]
version = "0.29"
optional = true

[dependencies.regex]
version = "1"

[dependencies.rfd]
version = "0.15"
optional = true

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.sha1]
version = "0.10"

[dependencies.sha2]
version = "0.10"

[dependencies.x509-cert]
version = "0.2"

[target.'cfg(target_os = "windows")'.build-dependencies.winresource]
version = "0.1"