[package]
edition = "2021"
rust-version = "1.85"
name = "vmdk-core"
version = "0.6.4"
authors = ["Albert Hui"]
build = false
exclude = [
"tests/data/",
"fuzz/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pure-Rust read-only VMware VMDK disk image reader (monolithicSparse, streamOptimized, twoGbMaxExtentFlat/Sparse, monolithicFlat)"
homepage = "https://github.com/SecurityRonin/vmdk-forensic"
documentation = "https://docs.rs/vmdk-core"
readme = "README.md"
keywords = [
"forensics",
"vmdk",
"disk-image",
"vmware",
"container",
]
categories = [
"parser-implementations",
"filesystem",
]
license = "MIT"
repository = "https://github.com/SecurityRonin/vmdk-forensic"
[features]
full-encoding = ["dep:encoding_rs"]
serde = ["dep:serde"]
test-helpers = []
trace = ["dep:tracing"]
[lib]
name = "vmdk"
path = "src/lib.rs"
[[example]]
name = "emit_fixture"
path = "examples/emit_fixture.rs"
required-features = ["test-helpers"]
[[test]]
name = "corpus"
path = "tests/corpus.rs"
[[test]]
name = "real_images"
path = "tests/real_images.rs"
[[test]]
name = "synthetic"
path = "tests/synthetic.rs"
[dependencies.encoding_rs]
version = "0.8"
optional = true
[dependencies.flate2]
version = "1"
[dependencies.md-5]
version = "0.10"
[dependencies.serde]
version = "1"
features = ["derive"]
optional = true
[dependencies.sha2]
version = "0.10"
[dependencies.thiserror]
version = "2"
[dependencies.tracing]
version = "0.1"
optional = true
[dev-dependencies.proptest]
version = "1"
[dev-dependencies.serde_json]
version = "1"
[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.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"