[package]
edition = "2024"
rust-version = "1.99"
name = "unityrs-export"
version = "1.0.0"
authors = ["Scott Benes <scobenes@gmail.com>"]
build = false
include = [
"/src/**",
"/LICENSE-*",
"/NOTICE-*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Unity asset exports beside the textures: sprites, the NGUI atlas cutter and its crops, and the UnityPy extractor tree."
readme = "README.md"
keywords = [
"unity",
"unitypy",
"sprite",
"extract",
"gamedev",
]
categories = [
"game-development",
"multimedia::images",
]
license = "(MIT OR Apache-2.0) AND MIT"
repository = "https://github.com/scobenes/unityrs"
[features]
gltf = [
"dep:unityrs-anim",
"dep:unityrs-gltf",
"dep:unityrs-scene",
]
test-counters = ["unityrs-core/test-counters"]
test-hooks = []
vorbis = ["unityrs-audio/vorbis"]
[lib]
name = "unityrs_export"
path = "src/lib.rs"
[dependencies.md5]
version = "=0.11.0"
default-features = false
package = "md-5"
[dependencies.thiserror]
version = "=2.0.21"
[dependencies.unityrs-anim]
version = "1.0.0"
optional = true
[dependencies.unityrs-audio]
version = "1.0.0"
default-features = false
[dependencies.unityrs-core]
version = "1.0.0"
[dependencies.unityrs-gltf]
version = "1.0.0"
optional = true
[dependencies.unityrs-imageio]
version = "1.0.0"
[dependencies.unityrs-mesh]
version = "1.0.0"
[dependencies.unityrs-meshdecode]
version = "1.0.0"
[dependencies.unityrs-scene]
version = "1.0.0"
optional = true
[dependencies.unityrs-texture]
version = "1.0.0"
[dev-dependencies.aes]
version = "=0.8.4"
[dev-dependencies.flate2]
version = "=1.1.10"
features = [
"zlib-rs",
"runtime_detection",
]
default-features = false
[dev-dependencies.serde_json]
version = "=1.0.154"
[dev-dependencies.sha2]
version = "=0.11.1"
[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)"]