[package]
edition = "2021"
rust-version = "1.85"
name = "ntfs-core"
version = "0.8.0"
authors = ["Albert Hui <albert@securityronin.com>"]
build = false
exclude = [
"/fuzz",
"/.github",
"/docs",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pure-Rust from-scratch NTFS filesystem reader — MFT, attributes, indexes, data runs, over any Read + Seek source"
homepage = "https://github.com/SecurityRonin/ntfs-forensic"
documentation = "https://docs.rs/ntfs-core"
readme = "README.md"
keywords = [
"forensics",
"ntfs",
"filesystem",
"dfir",
"mft",
]
categories = [
"parser-implementations",
"filesystem",
]
license = "Apache-2.0"
repository = "https://github.com/SecurityRonin/ntfs-forensic"
[lib]
name = "ntfs_core"
path = "src/lib.rs"
[[test]]
name = "ntfs_artifacts"
path = "tests/ntfs_artifacts.rs"
[[test]]
name = "parity_mft"
path = "tests/parity_mft.rs"
[[test]]
name = "real_image"
path = "tests/real_image.rs"
[[test]]
name = "usn"
path = "tests/usn.rs"
[dependencies.bitflags]
version = "2"
[dependencies.chrono]
version = "0.4"
[dependencies.forensicnomicon]
version = "0.5"
[dependencies.lznt1]
version = "0.1"
[dependencies.thiserror]
version = "2"
[dev-dependencies.mft]
version = "0.6"
[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"