unity-asset-decode 0.2.0

Decode/export helpers for Unity assets (Texture/Audio/Sprite/Mesh) built on unity-asset-binary
Documentation
[dependencies.hound]
optional = true
version = "3.5"

[dependencies.image]
optional = true
version = "0.25"

[dependencies.indexmap]
features = ["serde"]
version = "2"

[dependencies.obj]
optional = true
version = "0.10"

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

[dependencies.symphonia]
features = ["all"]
optional = true
version = "0.5"

[dependencies.texture2ddecoder]
optional = true
version = "0.1"

[dependencies.unity-asset-binary]
version = "0.2.0"

[dependencies.unity-asset-core]
version = "0.2.0"

[dev-dependencies.hex]
version = "0.4"

[dev-dependencies.tempfile]
version = "3.24"

[[example]]
name = "debug_texture_formats"
path = "examples/debug_texture_formats.rs"
required-features = ["texture"]

[[example]]
name = "export_textures"
path = "examples/export_textures.rs"
required-features = ["texture"]

[[example]]
name = "texture_decoding_demo"
path = "examples/texture_decoding_demo.rs"
required-features = ["texture"]

[features]
audio = ["dep:symphonia", "dep:hound"]
default = []
full = ["texture", "texture-advanced", "audio", "mesh", "mesh-export", "sprite"]
mesh = []
mesh-export = ["mesh", "dep:obj"]
sprite = ["texture"]
texture = ["dep:image"]
texture-advanced = ["texture", "dep:texture2ddecoder"]

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

[package]
authors = ["Mingzhen Zhuang <superfrankie621@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["parsing", "game-development"]
description = "Decode/export helpers for Unity assets (Texture/Audio/Sprite/Mesh) built on unity-asset-binary"
documentation = "https://docs.rs/unity-asset-decode"
edition = "2024"
homepage = "https://github.com/Latias94/unity-asset"
keywords = ["unity", "assets", "decode", "export", "parser"]
license = "MIT"
name = "unity-asset-decode"
readme = false
repository = "https://github.com/Latias94/unity-asset"
resolver = "2"
version = "0.2.0"

[package.metadata.docs.rs]
all-features = false
features = ["full"]
no-default-features = true
rustdoc-args = ["--cfg", "docsrs"]

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

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

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

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

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

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

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

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

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

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