[package]
edition = "2021"
rust-version = "1.85"
name = "aff4"
version = "0.2.2"
authors = ["Albert Hui"]
build = false
exclude = [
"tests/data/",
"corpus/",
"fuzz/",
".github/",
"deny.toml",
"renovate.json",
".pre-commit-config.yaml",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pure-Rust read-only AFF4 (Advanced Forensic Format 4) disk image reader"
homepage = "https://github.com/SecurityRonin/aff4-forensic"
readme = false
keywords = [
"forensics",
"aff4",
"disk-image",
"container",
]
categories = [
"parser-implementations",
"filesystem",
]
license = "Apache-2.0"
repository = "https://github.com/SecurityRonin/aff4-forensic"
[features]
test-helpers = ["dep:zip"]
[lib]
name = "aff4"
path = "src/lib.rs"
[[test]]
name = "corpus"
path = "tests/corpus.rs"
[[test]]
name = "encrypted"
path = "tests/encrypted.rs"
[dependencies.aes]
version = "0.8"
[dependencies.aes-kw]
version = "0.2"
[dependencies.flate2]
version = "1"
[dependencies.lz4_flex]
version = "0.11"
[dependencies.pbkdf2]
version = "0.12"
default-features = false
[dependencies.sha2]
version = "0.10"
[dependencies.snap]
version = "1"
[dependencies.thiserror]
version = "2"
[dependencies.xts-mode]
version = "0.5"
[dependencies.zip]
version = "2"
features = ["deflate"]
optional = true
default-features = false
[dependencies.zip-forensic-core]
version = "0.1"
[dev-dependencies.lz4_flex]
version = "0.11"
[dev-dependencies.md-5]
version = "0.10"
[dev-dependencies.proptest]
version = "1"
[dev-dependencies.tempfile]
version = "3"
[dev-dependencies.zip]
version = "2"
features = ["deflate"]
default-features = false
[lints.clippy]
unwrap_used = "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.doc_markdown]
level = "allow"
priority = 1
[lints.clippy.items_after_statements]
level = "allow"
priority = 1
[lints.clippy.missing_errors_doc]
level = "allow"
priority = 1
[lints.clippy.missing_fields_in_debug]
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.rust]
unsafe_code = "deny"