dar-core 0.7.0

Pure-Rust read-only parser for Denis Corbin DAR (Disk ARchiver) archives, including the Passware Kit Mobile variant; hardened and fuzz-tested against malicious input.
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
rust-version = "1.85"
name = "dar-core"
version = "0.7.0"
authors = ["Albert Hui"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pure-Rust read-only parser for Denis Corbin DAR (Disk ARchiver) archives, including the Passware Kit Mobile variant; hardened and fuzz-tested against malicious input."
homepage = "https://github.com/SecurityRonin/dar-forensic"
documentation = "https://docs.rs/dar-core"
readme = false
keywords = [
    "forensics",
    "dar",
    "archive",
    "passware",
    "backup",
]
categories = ["parser-implementations"]
license = "MIT"
repository = "https://github.com/SecurityRonin/dar-forensic"

[features]
default = []
serde = ["dep:serde"]

[lib]
name = "dar"
path = "src/lib.rs"

[dependencies.bzip2-rs]
version = "0.1"

[dependencies.flate2]
version = "1"
features = ["rust_backend"]
default-features = false

[dependencies.lz4_flex]
version = "0.11"
features = [
    "std",
    "safe-decode",
]
default-features = false

[dependencies.lzma-rs]
version = "0.3"

[dependencies.lzo]
version = "0.1"
default-features = false

[dependencies.ruzstd]
version = "0.7"

[dependencies.serde]
version = "1"
features = ["derive"]
optional = true

[dependencies.thiserror]
version = "2"

[dev-dependencies.flate2]
version = "1"
features = ["rust_backend"]
default-features = false

[dev-dependencies.serde_json]
version = "1"

[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_precision_loss]
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.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"