[package]
edition = "2024"
name = "malmal"
version = "0.1.0"
authors = ["nguyenthuan155632 <nguyenthuan155632@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Upload scanner for images, SVG, PDF and PostScript files"
readme = false
keywords = [
"malware",
"scanner",
"upload",
"security",
"antivirus",
]
categories = [
"parsing",
"command-line-utilities",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/nguyenthuan155632/malmal"
[features]
yara = ["dep:yara-x"]
[lib]
name = "malmal"
path = "src/lib.rs"
[[example]]
name = "throughput"
path = "examples/throughput.rs"
[[test]]
name = "corpus"
path = "tests/corpus.rs"
[[test]]
name = "scan"
path = "tests/scan.rs"
[dependencies.memchr]
version = "2.8.3"
[dependencies.miniz_oxide]
version = "0.9.1"
[dependencies.quick-xml]
version = "0.42.0"
default-features = false
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.sha2]
version = "0.10"
[dependencies.yara-x]
version = "1.23.0"
features = [
"constant-folding",
"exact-atoms",
"fast-regexp",
"hash-module",
"math-module",
"string-module",
]
optional = true
default-features = false
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(fuzzing)"]