unity-formats 0.2.2

Reads Unity games' data files: SerializedFiles, scenes, meshes, textures, shader programs and Animator data
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 = "unity-formats"
version = "0.2.2"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Reads Unity games' data files: SerializedFiles, scenes, meshes, textures, shader programs and Animator data"
documentation = "https://docs.rs/unity-formats"
readme = "README.md"
keywords = [
    "unity",
    "assets",
    "modding",
    "serialized-file",
    "game-assets",
]
categories = [
    "parser-implementations",
    "game-development",
]
license = "GPL-3.0-or-later"
repository = "https://github.com/Kalmarv/unity-formats"

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

[[example]]
name = "bundle_census"
path = "examples/bundle_census.rs"

[[example]]
name = "inspect_player"
path = "examples/inspect_player.rs"

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

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

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

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

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

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

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

[dependencies.half]
version = "=2.7.1"
default-features = false

[dependencies.primase-foundations]
version = "0.3.0"
features = ["compress"]

[dependencies.serde]
version = "1"
features = [
    "std",
    "derive",
]
default-features = false

[dependencies.serde_json]
version = "=1.0.154"
features = [
    "std",
    "preserve_order",
    "float_roundtrip",
]
default-features = false

[dependencies.thiserror]
version = "=2.0.21"
features = ["std"]
default-features = false

[dev-dependencies.primase-testdata]
version = "0.1.3"

[dev-dependencies.sha2]
version = "=0.11.1"
default-features = false

[lints.clippy]
dbg_macro = "warn"
disallowed_methods = "allow"
disallowed_types = "allow"
float_cmp = "allow"
iter_over_hash_type = "deny"
todo = "warn"
unwrap_used = "warn"

[lints.rust]
missing_debug_implementations = "warn"
unsafe_code = "deny"
unused_must_use = "deny"

[profile.dev]
debug = "line-tables-only"

[profile.dev.package."*"]
opt-level = 2
debug = 0

[profile.test]
opt-level = 1