[package]
edition = "2021"
rust-version = "1.80"
name = "atx-core"
version = "0.1.1"
authors = ["Albert Hui <albert@securityronin.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Reader/decoder for Apple ATX (AAPL) texture-image containers — iOS UI image caches (snapshots, posters, avatars, wallpapers). Parses the chunked AAPL container, decodes ASTC (incl. LZFSE-wrapped) payloads to RGBA."
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/SecurityRonin/atx-forensic"
[lib]
name = "atx_core"
path = "src/lib.rs"
[[example]]
name = "decode_atx"
path = "examples/decode_atx.rs"
[[test]]
name = "corpus"
path = "tests/corpus.rs"
[dependencies.astc-decode]
version = "0.3"
[dependencies.lzfse_rust]
version = "0.2"
[dependencies.thiserror]
version = "2"
[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.doc_markdown]
level = "allow"
priority = 1
[lints.clippy.missing_errors_doc]
level = "allow"
priority = 1
[lints.clippy.module_name_repetitions]
level = "allow"
priority = 1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.clippy.unnested_or_patterns]
level = "allow"
priority = 1
[lints.rust]
unsafe_code = "forbid"