spine_runtime 0.2.2

Unofficial native Rust port of the Spine 4.3 runtime. Renderer-agnostic.
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 = "spine_runtime"
version = "0.2.2"
authors = ["Brandon Reinhart <brandon@deadmoney.gg>"]
build = false
exclude = [
    ".github/",
    ".claude/",
    "scripts/",
    "tools/",
    "tests/",
    "CLAUDE.md",
    "RELEASING.md",
    "release.toml",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Unofficial native Rust port of the Spine 4.3 runtime. Renderer-agnostic."
documentation = "https://docs.rs/spine_runtime"
readme = "README.md"
keywords = [
    "spine",
    "2d",
    "animation",
    "skeletal",
]
categories = [
    "game-development",
    "graphics",
]
license-file = "LICENSE"
repository = "https://github.com/dead-money/spine_runtime"

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

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

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

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

[[bench]]
name = "frame"
path = "benches/frame.rs"
harness = false

[dependencies.glam]
version = "0.32"

[dependencies.serde_json]
version = "1"
features = ["preserve_order"]

[dependencies.thiserror]
version = "2"

[dev-dependencies.approx]
version = "0.5"

[dev-dependencies.image]
version = "0.25"
features = ["png"]
default-features = false

[dev-dependencies.pretty_assertions]
version = "1"

[dev-dependencies.proptest]
version = "1"

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

[lints.clippy]
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
float_cmp = "allow"
fn_params_excessive_bools = "allow"
many_single_char_names = "allow"
module_name_repetitions = "allow"
similar_names = "allow"
struct_excessive_bools = "allow"
too_many_arguments = "allow"
too_many_lines = "allow"

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
unsafe_code = "deny"

[profile.bench]
debug = 2