[package]
edition = "2021"
rust-version = "1.85"
name = "vhd-core"
version = "0.1.4"
authors = ["Albert Hui"]
build = false
exclude = [
"tests/data/",
"corpus/",
"fuzz/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pure-Rust read-only legacy VHD (Virtual PC) disk image reader"
homepage = "https://github.com/SecurityRonin/vhd-forensic"
documentation = "https://docs.rs/vhd"
readme = false
keywords = [
"forensics",
"vhd",
"disk-image",
"windows",
"container",
]
categories = [
"parser-implementations",
"filesystem",
]
license = "Apache-2.0"
repository = "https://github.com/SecurityRonin/vhd-forensic"
[features]
test-helpers = []
vfs = ["dep:forensic-vfs"]
[lib]
name = "vhd"
path = "src/lib.rs"
[[test]]
name = "corpus"
path = "tests/corpus.rs"
[[test]]
name = "qemu_differential"
path = "tests/qemu_differential.rs"
[[test]]
name = "real_images"
path = "tests/real_images.rs"
[dependencies.forensic-vfs]
version = "0.3"
optional = true
[dependencies.thiserror]
version = "2"
[dev-dependencies.forensic-testgate]
version = "0.1"
[dev-dependencies.tempfile]
version = "3"
[lints.clippy]
expect_used = "deny"
unwrap_used = "deny"
[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.doc_markdown]
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.suspicious]
level = "deny"
priority = -1
[lints.rust]
unsafe_code = "forbid"