[package]
edition = "2024"
name = "fast_ntfs"
version = "1.0.2"
authors = [
"Colin Finck <colin@reactos.org>",
"gembleman",
]
build = false
exclude = [
".github/",
"fuzz/",
"img/ntfs-shell.gif",
"img/ntfs-shell.yml",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Forked a low-level NTFS filesystem library"
documentation = "https://docs.rs/fast_ntfs"
readme = "README.md"
keywords = [
"filesystem",
"nt",
"ntfs",
"windows",
]
categories = [
"filesystem",
"no-std",
"os::windows-apis",
"parser-implementations",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/gembleman/fast_ntfs"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
default = ["std"]
std = [
"arrayvec/std",
"nt-string/std",
"thiserror/std",
"time?/std",
"zerocopy/std",
]
[lib]
name = "fast_ntfs"
path = "src/lib.rs"
[[example]]
name = "ntfs-shell"
path = "examples/ntfs-shell/main.rs"
required-features = ["time"]
[[test]]
name = "attribute_iteration"
path = "tests/attribute_iteration.rs"
[[test]]
name = "attribute_value_io"
path = "tests/attribute_value_io.rs"
[[test]]
name = "header_parsing"
path = "tests/header_parsing.rs"
[[test]]
name = "in_place_file"
path = "tests/in_place_file.rs"
[[test]]
name = "index_entry_validation"
path = "tests/index_entry_validation.rs"
[[test]]
name = "index_subnodes"
path = "tests/index_subnodes.rs"
[[test]]
name = "metadata"
path = "tests/metadata.rs"
[[test]]
name = "preferred_name"
path = "tests/preferred_name.rs"
[[test]]
name = "record_fixup_validation"
path = "tests/record_fixup_validation.rs"
[[test]]
name = "scan_metadata"
path = "tests/scan_metadata.rs"
[[test]]
name = "targeted_attribute"
path = "tests/targeted_attribute.rs"
[[test]]
name = "thread_safety"
path = "tests/thread_safety.rs"
[[test]]
name = "time_conversion"
path = "tests/time_conversion.rs"
[[bench]]
name = "allocations"
path = "benches/allocations.rs"
harness = false
[[bench]]
name = "performance"
path = "benches/performance.rs"
harness = false
[dependencies.arrayvec]
version = "0.7.8"
default-features = false
[dependencies.bitflags]
version = "2.13.0"
[dependencies.derive_more]
version = "2.1.1"
features = [
"display",
"from",
]
default-features = false
[dependencies.nt-string]
version = "0.1.1"
features = ["alloc"]
default-features = false
[dependencies.thiserror]
version = "2.0.18"
default-features = false
[dependencies.time]
version = "0.3.53"
features = ["large-dates"]
optional = true
default-features = false
[dependencies.zerocopy]
version = "0.8.54"
features = ["derive"]
default-features = false
[dev-dependencies.anyhow]
version = "1.0.103"
[dev-dependencies.criterion]
version = "0.8.2"
[dev-dependencies.stats_alloc]
version = "0.1.10"
[dev-dependencies.time]
version = "0.3.53"
features = [
"formatting",
"large-dates",
"macros",
]
default-features = false