[package]
edition = "2021"
rust-version = "1.85"
name = "vhdx-core"
version = "0.2.1"
authors = ["Albert Hui"]
build = false
exclude = ["tests/data/"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pure-Rust VHDX (Hyper-V) virtual-disk container library — reader (writer planned), hardened for forensic use"
homepage = "https://github.com/SecurityRonin/vhdx-forensic"
documentation = "https://docs.rs/vhdx-core"
readme = "README.md"
keywords = [
"forensics",
"vhdx",
"disk-image",
"windows",
"hyper-v",
]
categories = [
"parser-implementations",
"filesystem",
]
license = "MIT"
repository = "https://github.com/SecurityRonin/vhdx-forensic"
[lib]
name = "vhdx"
path = "src/lib.rs"
[[test]]
name = "compat"
path = "tests/compat.rs"
[[test]]
name = "corpus"
path = "tests/corpus.rs"
[[test]]
name = "corpus_differential"
path = "tests/corpus_differential.rs"
[[test]]
name = "differential"
path = "tests/differential.rs"
[[test]]
name = "log_replay"
path = "tests/log_replay.rs"
[[test]]
name = "real_images"
path = "tests/real_images.rs"
[dependencies.thiserror]
version = "2"
[dev-dependencies.tempfile]
version = "3"
[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.format_collect]
level = "allow"
priority = 1
[lints.clippy.format_push_string]
level = "allow"
priority = 1
[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.rust]
unsafe_code = "forbid"