[package]
edition = "2021"
rust-version = "1.85"
name = "hfsplus-forensic"
version = "0.2.6"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Forensic-grade, from-scratch Apple HFS+/HFSX reader — volume header geometry, catalog B-tree directory listing, and data-fork file extraction over a byte buffer"
homepage = "https://github.com/SecurityRonin/hfsplus-forensic"
documentation = "https://docs.rs/hfsplus-forensic"
readme = "README.md"
keywords = [
"forensics",
"hfs",
"hfsplus",
"filesystem",
"dfir",
]
categories = [
"parser-implementations",
"filesystem",
]
license = "Apache-2.0"
repository = "https://github.com/SecurityRonin/hfsplus-forensic"
[features]
vfs = ["dep:forensic-vfs"]
[lib]
name = "hfsplus_forensic"
path = "src/lib.rs"
[[test]]
name = "catalog"
path = "tests/catalog.rs"
[[test]]
name = "decmpfs_integration"
path = "tests/decmpfs_integration.rs"
[[test]]
name = "findings"
path = "tests/findings.rs"
[[test]]
name = "vfs_hfs"
path = "tests/vfs_hfs.rs"
[dependencies.flate2]
version = "1"
[dependencies.forensic-vfs]
version = "0.7"
optional = true
[dependencies.forensicnomicon]
version = "1"
[dependencies.lzfse_rust]
version = "0.2"
[dependencies.lzvn]
version = "0.1"
package = "lzvn-core"
[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"