[package]
edition = "2021"
rust-version = "1.96"
name = "trash-forensic"
version = "0.2.0"
authors = ["Albert Hui <albert@securityronin.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Forensic anomaly analysis for trash / deleted-file artifacts across Windows, Linux, macOS, Android, and iOS — purged-content, path-traversal, deletion-time, and expired-residue detection, emitting forensicnomicon findings"
homepage = "https://github.com/SecurityRonin/trash-forensic"
documentation = "https://docs.rs/trash-forensic"
readme = "README.md"
keywords = [
"forensics",
"trash",
"recycle-bin",
"dfir",
"anti-forensics",
]
categories = ["parser-implementations"]
license = "Apache-2.0"
repository = "https://github.com/SecurityRonin/trash-forensic"
[features]
android = ["trash-core/android"]
default = [
"windows",
"linux",
"macos",
"android",
"ios",
]
ios = ["trash-core/ios"]
linux = ["trash-core/linux"]
macos = ["trash-core/macos"]
serde = [
"dep:serde",
"trash-core/serde",
"forensicnomicon/serde",
]
windows = ["trash-core/windows"]
[lib]
name = "trash_forensic"
path = "src/lib.rs"
[[test]]
name = "analyse"
path = "tests/analyse.rs"
[dependencies.chrono]
version = "0.4"
features = ["std"]
default-features = false
[dependencies.forensicnomicon]
version = "0.5"
[dependencies.serde]
version = "1"
features = ["derive"]
optional = true
[dependencies.trash-core]
version = "0.2.0"
[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.correctness]
level = "deny"
priority = -1
[lints.clippy.expect_used]
level = "deny"
priority = 0
[lints.clippy.items_after_statements]
level = "allow"
priority = 1
[lints.clippy.manual_let_else]
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.similar_names]
level = "allow"
priority = 1
[lints.clippy.suspicious]
level = "deny"
priority = -1
[lints.clippy.too_many_lines]
level = "allow"
priority = 1
[lints.clippy.unwrap_used]
level = "deny"
priority = 0
[lints.rust]
unsafe_code = "forbid"