[package]
edition = "2024"
name = "mocari"
version = "0.2.3"
build = false
exclude = [
"assets/",
".github/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A pure Rust Live2D/Cubism-compatible runtime"
readme = "README.md"
keywords = [
"live2d",
"cubism",
"runtime",
"renderer",
"wgpu",
]
categories = [
"rendering",
"game-development",
"graphics",
]
license = "MIT"
repository = "https://github.com/Eatgrapes/Mocari"
[features]
default = []
wgpu = ["dep:wgpu"]
[lib]
name = "mocari"
path = "src/lib.rs"
[[example]]
name = "show_model"
path = "examples/show_model.rs"
required-features = ["wgpu"]
[[test]]
name = "core"
path = "tests/core.rs"
[[test]]
name = "core_deformers"
path = "tests/core_deformers.rs"
[[test]]
name = "core_interpolation"
path = "tests/core_interpolation.rs"
[[test]]
name = "json"
path = "tests/json.rs"
[[test]]
name = "moc3_art_meshes"
path = "tests/moc3_art_meshes.rs"
[[test]]
name = "moc3_parsing"
path = "tests/moc3_parsing.rs"
[[test]]
name = "motion3"
path = "tests/motion3.rs"
[[test]]
name = "physics3"
path = "tests/physics3.rs"
[[test]]
name = "physics_math"
path = "tests/physics_math.rs"
[[test]]
name = "render_common"
path = "tests/render_common.rs"
[[test]]
name = "runtime"
path = "tests/runtime.rs"
[[test]]
name = "sample_zip"
path = "tests/sample_zip.rs"
[[test]]
name = "wgpu_renderer"
path = "tests/wgpu_renderer.rs"
required-features = ["wgpu"]
[dependencies.image]
version = "0.25.9"
features = ["png"]
default-features = false
[dependencies.serde]
version = "1.0.228"
features = ["derive"]
[dependencies.serde_json]
version = "1.0.150"
[dependencies.wgpu]
version = "30.0.0"
features = ["noop"]
optional = true
[dev-dependencies.ab_glyph]
version = "0.2.31"
[dev-dependencies.pollster]
version = "0.4.0"
[dev-dependencies.winit]
version = "0.30.13"
[dev-dependencies.zip]
version = "8.6.0"
features = ["deflate-flate2-zlib-rs"]
default-features = false