[dependencies.async-stream]
optional = true
version = "0.3"
[dependencies.async-trait]
optional = true
version = "0.1"
[dependencies.binrw]
version = "0.15"
[dependencies.brotli]
version = "3.4"
[dependencies.byteorder]
version = "1.5"
[dependencies.flate2]
version = "1.1"
[dependencies.futures]
optional = true
version = "0.3"
[dependencies.indexmap]
features = ["serde"]
version = "2"
[dependencies.lz4_flex]
version = "0.12"
[dependencies.lzma-rs]
version = "0.3"
[dependencies.memmap2]
optional = true
version = "0.9"
[dependencies.num_cpus]
version = "1.16"
[dependencies.once_cell]
version = "1.21"
[dependencies.regex]
version = "1.12"
[dependencies.serde]
features = ["derive"]
version = "1"
[dependencies.serde_json]
version = "1"
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
features = ["full"]
optional = true
version = "1.48"
[dependencies.tokio-stream]
optional = true
version = "0.1"
[dependencies.unity-asset-core]
version = "0.2.0"
[dev-dependencies.hex]
version = "0.4"
[dev-dependencies.tempfile]
version = "3.24"
[[example]]
name = "load_and_list"
path = "examples/load_and_list.rs"
[[example]]
name = "scan_pptrs"
path = "examples/scan_pptrs.rs"
[[example]]
name = "sniff_kind"
path = "examples/sniff_kind.rs"
[[example]]
name = "typetree_registry_json"
path = "examples/typetree_registry_json.rs"
[features]
async = ["unity-asset-core/async", "tokio", "futures", "async-trait", "tokio-stream", "async-stream"]
default = []
mmap = ["dep:memmap2"]
[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"]
homepage = "https://github.com/Latias94/unity-asset"
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.2.0"
[package.metadata.docs.rs]
all-features = false
features = []
no-default-features = true
rustdoc-args = ["--cfg", "docsrs"]
[[test]]
name = "bundle_lazy_decompress_tests"
path = "tests/bundle_lazy_decompress_tests.rs"
[[test]]
name = "bundle_limits_tests"
path = "tests/bundle_limits_tests.rs"
[[test]]
name = "gameobject_transform_tests"
path = "tests/gameobject_transform_tests.rs"
[[test]]
name = "numeric_array_fastpath_tests"
path = "tests/numeric_array_fastpath_tests.rs"
[[test]]
name = "peek_name_tests"
path = "tests/peek_name_tests.rs"
[[test]]
name = "pptr_scan_tests"
path = "tests/pptr_scan_tests.rs"
[[test]]
name = "referenced_object_tests"
path = "tests/referenced_object_tests.rs"
[[test]]
name = "typelessdata_tests"
path = "tests/typelessdata_tests.rs"
[[test]]
name = "typetree_advanced_tests"
path = "tests/typetree_advanced_tests.rs"
[[test]]
name = "typetree_registry_tests"
path = "tests/typetree_registry_tests.rs"
[[test]]
name = "unity_object_parsing_tests"
path = "tests/unity_object_parsing_tests.rs"
[[test]]
name = "unitypy_typetree_tests"
path = "tests/unitypy_typetree_tests.rs"