blob-decoder 0.1.1

Identify and decode opaque forensic blobs of unknown type — scored, cited candidates, recursively unwrapping nested wrappers (base64 → gzip → binary-plist).
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.88.0"
name = "blob-decoder"
version = "0.1.1"
authors = ["Albert Hui <albert@securityronin.com>"]
build = false
exclude = [
    "docs/",
    "fuzz/",
    ".github/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Identify and decode opaque forensic blobs of unknown type — scored, cited candidates, recursively unwrapping nested wrappers (base64 → gzip → binary-plist)."
readme = "README.md"
keywords = [
    "forensics",
    "dfir",
    "decode",
    "plist",
    "base64",
]
categories = [
    "parser-implementations",
    "command-line-utilities",
]
license = "Apache-2.0"
repository = "https://github.com/SecurityRonin/blob-decoder"

[features]
cli = ["dep:clap"]
default = ["cli"]

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

[[bin]]
name = "blob-decode"
path = "src/main.rs"
required-features = ["cli"]

[[test]]
name = "api"
path = "tests/api.rs"

[[test]]
name = "cli"
path = "tests/cli.rs"

[[test]]
name = "fixtures"
path = "tests/fixtures.rs"

[[test]]
name = "identifiers"
path = "tests/identifiers.rs"

[[test]]
name = "magic"
path = "tests/magic.rs"

[[test]]
name = "nested"
path = "tests/nested.rs"

[[test]]
name = "protobuf"
path = "tests/protobuf.rs"

[[test]]
name = "robustness"
path = "tests/robustness.rs"

[dependencies.base64]
version = "0.22"

[dependencies.clap]
version = "4"
features = ["derive"]
optional = true

[dependencies.flate2]
version = "1"

[dependencies.hex]
version = "0.4"

[dependencies.plist]
version = "1"

[dependencies.protobuf-forensic-core]
version = "0.1"

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

[dependencies.serde_json]
version = "1"

[dependencies.snap]
version = "1"

[dependencies.thiserror]
version = "2"

[dependencies.uuid]
version = "1"

[lints.clippy]
correctness = "deny"
expect_used = "deny"
suspicious = "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_precision_loss]
level = "allow"
priority = 1

[lints.clippy.cast_sign_loss]
level = "allow"
priority = 1

[lints.clippy.doc_lazy_continuation]
level = "allow"
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.rust]
unsafe_code = "forbid"