[package]
edition = "2021"
rust-version = "1.85"
name = "dmg-core"
version = "0.1.5"
authors = ["Albert Hui"]
build = false
exclude = [
"tests/",
"../fuzz/",
".github/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pure-Rust forensic Apple Disk Image (DMG/UDIF) reader"
homepage = "https://github.com/SecurityRonin/dmg-forensic"
documentation = "https://docs.rs/dmg-core"
readme = "README.md"
keywords = [
"forensics",
"dmg",
"disk-image",
"apple",
"udif",
]
categories = [
"parser-implementations",
"filesystem",
]
license = "Apache-2.0"
repository = "https://github.com/SecurityRonin/dmg-forensic"
[features]
vfs = ["dep:forensic-vfs"]
[lib]
name = "dmg"
path = "src/lib.rs"
[dependencies.base64]
version = "0.22"
[dependencies.bzip2-rs]
version = "0.1.2"
[dependencies.flate2]
version = "1"
[dependencies.forensic-vfs]
version = "0.3"
optional = true
[dependencies.lzfse_rust]
version = "0.2.1"
[dependencies.lzma-rs]
version = "0.3.0"
[dependencies.quick-xml]
version = "0.41"
[dependencies.safe-read]
version = "0.2"
[dependencies.thiserror]
version = "2"
[dev-dependencies.tempfile]
version = "3"
[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.expect_used]
level = "deny"
priority = 0
[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.clippy.unwrap_used]
level = "deny"
priority = 0
[lints.rust]
unsafe_code = "forbid"