[package]
edition = "2021"
rust-version = "1.85"
name = "forensic-vfs"
version = "0.4.2"
authors = ["Albert Hui"]
build = false
exclude = [
"fuzz/",
"tests/data/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Read-only forensic virtual-filesystem contracts: the ImageSource positioned-read byte source, layered PathSpec locators, and the FileSystem navigation trait — the KNOWLEDGE leaf every disk/container/filesystem reader in the fleet implements"
homepage = "https://github.com/SecurityRonin/forensic-vfs"
documentation = "https://docs.rs/forensic-vfs"
readme = false
keywords = [
"forensics",
"vfs",
"disk-image",
"filesystem",
"dfir",
]
categories = [
"filesystem",
"parser-implementations",
"no-std::no-alloc",
]
license = "Apache-2.0"
repository = "https://github.com/SecurityRonin/forensic-vfs"
[features]
default = []
findings = ["dep:forensicnomicon"]
serde = [
"dep:serde",
"forensicnomicon-core/serde",
]
[lib]
name = "forensic_vfs"
path = "src/lib.rs"
[[test]]
name = "contracts"
path = "tests/contracts.rs"
[[test]]
name = "coverage"
path = "tests/coverage.rs"
[dependencies.forensicnomicon]
version = "1"
optional = true
[dependencies.forensicnomicon-core]
version = "1.2"
[dependencies.serde]
version = "1"
features = ["derive"]
optional = true
[dependencies.state-history-forensic]
version = "0.1"
[dependencies.thiserror]
version = "2"
[dev-dependencies.serde_json]
version = "1"
[dev-dependencies.tempfile]
version = "3"
[lints.clippy]
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_sign_loss = "allow"
doc_markdown = "allow"
expect_used = "deny"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
unwrap_used = "deny"
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
unsafe_code = "forbid"