unityrs-texture 1.0.0

Texture2D decoders with UnityPy 1.25.2's output: the formats it decodes with Pillow's raw and bcn decoders, the ETC and EAC formats, and the ASTC LDR formats.
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 = "2024"
rust-version = "1.99"
name = "unityrs-texture"
version = "1.0.0"
authors = ["Scott Benes <scobenes@gmail.com>"]
build = "build.rs"
include = [
    "/src/**",
    "/LICENSE-*",
    "/NOTICE-*",
    "/build.rs",
    "/encoder_allocator.hpp",
    "/encoder_bridge.cpp",
    "/vendor/**",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Texture2D decoders with UnityPy 1.25.2's output: the formats it decodes with Pillow's raw and bcn decoders, the ETC and EAC formats, and the ASTC LDR formats."
readme = "README.md"
keywords = [
    "unity",
    "texture",
    "astc",
    "etc2",
    "bcn",
]
categories = [
    "multimedia::images",
    "game-development",
    "graphics",
]
license = "(MIT OR Apache-2.0) AND MIT AND MIT-CMU AND BSD-3-Clause AND BSD-2-Clause-Views AND Apache-2.0 AND LicenseRef-Crunch AND Zlib"
repository = "https://github.com/scobenes/unityrs"

[features]
encode = ["dep:cc"]

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

[dependencies.thiserror]
version = "=2.0.21"

[dependencies.unityrs-core]
version = "1.0.0"

[dependencies.unityrs-imageio]
version = "1.0.0"

[dependencies.unityrs-meshdecode]
version = "1.0.0"

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

[dev-dependencies.sha2]
version = "=0.11.1"

[build-dependencies.cc]
version = "=1.10.0"
optional = true

[lints.clippy]
missing_errors_doc = "allow"
module_name_repetitions = "allow"
todo = "forbid"
unimplemented = "forbid"

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
unsafe_op_in_unsafe_fn = "deny"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(unityrs_no_counters)"]