[package]
edition = "2021"
rust-version = "1.93"
name = "forensic-mount"
version = "0.6.0"
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"
[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.15"
[target."cfg(windows)".dependencies.dokan]
version = "0.3"
[target."cfg(windows)".dependencies.widestring]
version = "0.4"
[lints.clippy]
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_sign_loss = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
needless_pass_by_value = "allow"
similar_names = "allow"
too_many_lines = "allow"
[lints.clippy.correctness]
level = "deny"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.clippy.suspicious]
level = "deny"
priority = -1
[lints.rust]
unsafe_code = "forbid"