### Cargo.toml for spine2d-wgpu 0.2.0 Source: https://docs.rs/crate/spine2d-wgpu/0.2.0/source/Cargo.toml The Cargo.toml file for the spine2d-wgpu crate, version 0.2.0. It defines package metadata, dependencies including spine2d and wgpu, and feature flags for JSON support. It also lists development dependencies and example configurations. ```toml [package] name = "spine2d-wgpu" version = "0.2.0" edition.workspace = true rust-version.workspace = true authors.workspace = true license.workspace = true repository.workspace = true homepage.workspace = true documentation = "https://docs.rs/spine2d-wgpu" description = "wgpu renderer integration for the spine2d runtime" readme = "../README.md" keywords = ["spine", "spine2d", "wgpu", "animation", "skeletal"] categories = ["game-development", "rendering"] [dependencies] spine2d = { path = "../spine2d", version = "0.2.0", default-features = false } wgpu.workspace = true bytemuck.workspace = true [features] default = [] json = ["spine2d/json"] [dev-dependencies] winit = "0.30" pollster = "0.4" image = { version = "0.25", default-features = false, features = ["png"] } egui = "0.33.3" egui-winit = "0.33.3" egui-wgpu = { version = "0.33.3", features = ["winit"] } [[example]] name = "basic" required-features = ["json"] [[example]] name = "spine_runtimes" required-features = ["json"] [package.metadata.docs.rs] no-default-features = true all-features = false features = [] rustdoc-args = ["--cfg", "docsrs"] ``` -------------------------------- ### Build and Documentation Generation Command (Rust) Source: https://docs.rs/crate/spine2d-wgpu/0.2.0/builds/2748118/x86_64-unknown-linux-gnu This snippet shows the command used to build and generate documentation for the spine2d-wgpu crate. It utilizes Docker and `cargo rustdoc` with specific configurations for the docs.rs environment and target platform. ```shell # rustc version rustc 1.94.0-nightly (24139cf84 2025-12-20)# docs.rs version docsrs 0.1.0 (e6d7c66e 2025-12-21 )# build log [INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/spine2d-wgpu-0.2.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/spine2d-wgpu-0.2.0/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace-builder/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace-builder/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "6442450944" "--cpus" "6" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--features" "" "--no-default-features" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20251220-1.94.0-nightly-24139cf84\", \"--static-root-path\", \"/-/rustdoc.static/\", \"--cap-lints\", \"warn\", \"--extern-html-root-takes-precedence\"]" "--offline" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs/{pkg_name}/{version}/x86_64-unknown-linux-gnu\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "x86_64-unknown-linux-gnu", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] aebba0806c717daf3c4b750be14521359cdc57afe067f140ce04fa6dfe1427a2 [INFO] running `Command { std: "docker" "start" "-a" "aebba0806c717daf3c4b750be14521359cdc57afe067f140ce04fa6dfe1427a2", kill_on_drop: false }` [INFO] [stderr] warning: Rustdoc did not scrape the following examples because they require dev-dependencies: basic, spine_runtimes [INFO] [stderr] If you want Rustdoc to scrape these examples, then add `doc-scrape-examples = true` [INFO] [stderr] to the [[example]] target configuration of at least one example. [INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op [INFO] [stderr] Documenting spine2d-wgpu v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.38s [INFO] [stderr] Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/spine2d_wgpu/index.html [INFO] running `Command { std: "docker" "inspect" "aebba0806c717daf3c4b750be14521359cdc57afe067f140ce04fa6dfe1427a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aebba0806c717daf3c4b750be14521359cdc57afe067f140ce04fa6dfe1427a2", kill_on_drop: false }` [INFO] [stdout] aebba0806c717daf3c4b750be14521359cdc57afe067f140ce04fa6dfe1427a2 ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.