[package]
edition = "2021"
rust-version = "1.93"
name = "forensic-mount"
version = "0.6.1"
authors = ["Albert Hui <albert@securityronin.com>"]
build = false
exclude = [
"tests/data/*",
"scripts/smoke/*",
".github/*",
"fuzz/*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Mount forensic disk images, archives, and memory dumps as a filesystem on Linux, macOS, and Windows — ext4/NTFS/exFAT/HFS+/APFS/ISO, EWF/VMDK containers, zip/7z/tar, LiME/AVML/crash dumps"
homepage = "https://github.com/SecurityRonin/4n6mount"
documentation = "https://docs.rs/forensic-mount"
readme = "README.md"
keywords = [
"forensics",
"fuse",
"dfir",
"filesystem",
"memory-forensics",
]
categories = [
"filesystem",
"command-line-utilities",
]
license = "Apache-2.0"
repository = "https://github.com/SecurityRonin/4n6mount"
[package.metadata.deb]
depends = "$auto, fuse3"
section = "utils"
priority = "optional"
extended-description = "Mount forensic disk images, archives, and memory dumps as a read-only filesystem with a copy-on-write overlay, deleted-file recovery, timelines, and hash filtering. Requires FUSE (fuse3) at runtime."
assets = [
[
"target/release/4n6mount",
"usr/bin/",
"755",
],
[
"README.md",
"usr/share/doc/4n6mount/README.md",
"644",
],
[
"LICENSE",
"usr/share/doc/4n6mount/LICENSE",
"644",
],
]
[features]
default = []
memory = [
"dep:memf-format",
"dep:memf-core",
"dep:memf-session",
"dep:memf-symbols",
"dep:memf-windows",
"dep:memf-linux",
"dep:forensic-vfs-resolver",
]
[lib]
name = "forensic_mount"
path = "src/lib.rs"
[[bin]]
name = "4n6mount"
path = "src/main.rs"
[[example]]
name = "mkdump"
path = "examples/mkdump.rs"
required-features = ["memory"]
[[test]]
name = "e2e_archive_read"
path = "tests/e2e_archive_read.rs"
[[test]]
name = "e2e_image_read"
path = "tests/e2e_image_read.rs"
[[test]]
name = "e2e_multipartition"
path = "tests/e2e_multipartition.rs"
[[test]]
name = "peel_open"
path = "tests/peel_open.rs"
[dependencies.archive-core]
version = "0.1.0"
features = ["vfs"]
[dependencies.clap]
version = "4"
features = ["derive"]
[dependencies.forensic-vfs]
version = "0.7"
[dependencies.forensic-vfs-engine]
version = "0.1.7"
[dependencies.forensic-vfs-resolver]
version = "0.3"
optional = true
[dependencies.libc]
version = "0.2"
[dependencies.md-5]
version = "0.10"
[dependencies.memf-core]
version = "0.2"
optional = true
[dependencies.memf-format]
version = "0.3"
optional = true
[dependencies.memf-linux]
version = "0.3"
optional = true
[dependencies.memf-session]
version = "0.3"
optional = true
[dependencies.memf-symbols]
version = "0.2"
optional = true
[dependencies.memf-windows]
version = "0.3"
optional = true
[dependencies.rusqlite]
version = "0.31"
features = ["bundled"]
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.sha2]
version = "0.10"
[dependencies.tempfile]
version = "3"
[dev-dependencies.archive-core]
version = "0.1.0"
[dev-dependencies.flate2]
version = "1"
[dev-dependencies.zip]
version = "2"
features = ["deflate"]
default-features = false
[target."cfg(unix)".dependencies.fuser]
version = "0.16"
features = ["libfuse"]
[target."cfg(windows)".dependencies.dokan]
version = "0.3"
[target."cfg(windows)".dependencies.widestring]
version = "0.4"
[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_sign_loss]
level = "allow"
priority = 1
[lints.clippy.correctness]
level = "deny"
priority = -1
[lints.clippy.expect_used]
level = "deny"
priority = 0
[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.needless_pass_by_value]
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"