[dependencies.anyhow]
version = "1.0.92"
[dependencies.async-stream]
optional = true
version = "0.3"
[dependencies.async-trait]
optional = true
version = "0.1"
[dependencies.base64]
version = "0.22"
[dependencies.binrw]
version = "0.15"
[dependencies.brotli]
version = "3.4"
[dependencies.byteorder]
version = "1.5"
[dependencies.flate2]
version = "1.0"
[dependencies.futures]
optional = true
version = "0.3"
[dependencies.hound]
optional = true
version = "3.5"
[dependencies.image]
version = "0.25"
[dependencies.indexmap]
features = ["serde"]
version = "2.0"
[dependencies.lz4_flex]
version = "0.11"
[dependencies.lzma-rs]
version = "0.3"
[dependencies.num_cpus]
version = "1.16"
[dependencies.obj]
optional = true
version = "0.10"
[dependencies.once_cell]
version = "1.21"
[dependencies.regex]
version = "1.11"
[dependencies.serde]
features = ["derive"]
version = "1.0"
[dependencies.symphonia]
features = ["all"]
optional = true
version = "0.5"
[dependencies.texture2ddecoder]
optional = true
version = "0.1"
[dependencies.thiserror]
version = "2.0"
[dependencies.tokio]
features = ["full"]
optional = true
version = "1.0"
[dependencies.tokio-stream]
optional = true
version = "0.1"
[dependencies.unity-asset-core]
version = "0.1.0"
[dependencies.xz2]
optional = true
version = "0.1"
[dev-dependencies.hex]
version = "0.4"
[[example]]
name = "debug_texture_formats"
path = "examples/debug_texture_formats.rs"
[[example]]
name = "texture_decoding_demo"
path = "examples/texture_decoding_demo.rs"
[features]
async = ["unity-asset-core/async", "tokio", "futures", "async-trait", "tokio-stream", "async-stream"]
audio = ["symphonia", "hound"]
audio-advanced = ["symphonia"]
brotli = []
default = ["texture", "audio", "mesh", "sprite", "texture-advanced"]
full = ["texture", "audio", "mesh", "sprite", "texture-advanced", "mesh-export"]
mesh = []
mesh-export = ["obj"]
minimal = []
sprite = []
texture = []
texture-advanced = ["texture2ddecoder"]
xz2 = ["dep:xz2"]
[lib]
name = "unity_asset_binary"
path = "src/lib.rs"
[package]
authors = ["Mingzhen Zhuang <superfrankie621@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["parser-implementations", "game-development"]
description = "Unity binary file format parser (AssetBundle, SerializedFile)"
documentation = "https://docs.rs/unity-asset-binary"
edition = "2024"
exclude = ["tests/samples/*", "tests/fixtures/*", "*.ab", "*.unity", "*.asset", "*.prefab", "*.meta"]
keywords = ["unity", "binary", "assetbundle", "serialized", "parser"]
license = "MIT"
name = "unity-asset-binary"
readme = false
repository = "https://github.com/Latias94/unity-asset"
resolver = "2"
version = "0.1.0"
[[test]]
name = "audio_processing_tests"
path = "tests/audio_processing_tests.rs"
[[test]]
name = "comprehensive_compatibility_report"
path = "tests/comprehensive_compatibility_report.rs"
[[test]]
name = "gameobject_transform_tests"
path = "tests/gameobject_transform_tests.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 = "typetree_advanced_tests"
path = "tests/typetree_advanced_tests.rs"
[[test]]
name = "unity_object_parsing_tests"
path = "tests/unity_object_parsing_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"
[[test]]
name = "unitypy_typetree_tests"
path = "tests/unitypy_typetree_tests.rs"