| Crates.io | spine2d |
| lib.rs | spine2d |
| version | 0.2.0 |
| created_at | 2025-12-21 04:43:46.121152+00 |
| updated_at | 2025-12-21 15:21:44.13778+00 |
| description | Pure Rust runtime for Spine 4.3 (unofficial) |
| homepage | https://github.com/Latias94/spine2d |
| repository | https://github.com/Latias94/spine2d |
| max_upload_size | |
| id | 1997388 |
| size | 1,454,538 |
Experimental, pure Rust runtime for Spine 4.3 (unofficial).

spine-c / spine-cpp runtimes.
Compatibility and behavioural parity are an explicit goal, but you should treat this as an
experimental implementation and manage the integration risk accordingly.wasm32-unknown-unknown (web) and native targets.spine-c, spine-cpp).spine2d: core runtime + parsing + renderer-agnostic render output.
spine2d-wgpu: wgpu renderer integration built on top of spine2d.
spine2d-web: Trunk + wgpu web demo/viewer (wasm32-unknown-unknown).
spine-runtimes and import example exports into assets/ for testing/demos.
Make sure you comply with the Spine license terms for your usage and redistribution.
Import examples locally: python3 ./scripts/prepare_spine_runtimes_web_assets.py --scope tests
Some smoke tests can parse official exported example JSON files from the upstream spine-runtimes repository.
These files are not committed here by default.
python3 ./scripts/fetch_spine_runtimes_examples.py --mode json --scope tests./scripts/import_spine_runtimes_examples.zsh --mode json --scope testscargo test -p spine2d --features json,upstream-smoke.skel parsing): cargo test -p spine2d --features json,binary,upstream-smokecargo run -p spine2d-wgpu --example basic --features json--mode export):python3 ./scripts/fetch_spine_runtimes_examples.py --mode export --scope testscargo run -p spine2d-wgpu --example spine_runtimes --features json -- spineboy run --speed 1.0
AnimationState::apply to avoid accumulated constraint drift.rustup target add wasm32-unknown-unknowncargo install trunk --lockedcd spine2d-web && trunk serve
assets/spine-runtimes/web_manifest.json exists (generated by script; not committed).devicePixelRatio and reconfigures the surface on resize.python3 ./scripts/prepare_spine_runtimes_web_assets.py --scope testscd spine2d-web && trunk serve
assets/spine-runtimes/web_manifest.json and populate the Example dropdown.?example=spineboy&anim=runDual-licensed under MIT OR Apache-2.0. See LICENSE-MIT and LICENSE-APACHE.
Spine is developed by Esoteric Software. This project is not affiliated with them. Using Spine runtimes and Spine data generally requires a Spine Editor license. See the official license terms: https://esotericsoftware.com/spine-editor-license