Modern Apps git
git clone https://git.maproj.org/Modern-Apps.git
cov/c3 ▾

Modern-Apps.git / library / avatar / src / main / rust / Cargo.toml

Cargo.toml26 lines · 1.0 KiBRaw
1[package]
2name = "yuu_avatar"
3version = "0.1.0"
4edition = "2021"
5description = "Yuu 3D avatar engine: glTF upper-body base mesh, skeletal skinning, preset poses, Vulkan renderer"
6license = "GPL-2.0-only"
7
8[lib]
9name = "yuu_avatar"
10crate-type = ["cdylib", "rlib"]
11
12[dependencies]
13jni.workspace = true
14ash = { workspace = true, default-features = false, features = ["loaded"] }
15glam = { workspace = true, features = ["serde"] }
16serde = { workspace = true, features = ["derive"] }
17serde_json.workspace = true
18# glTF 2.0 base-mesh loading (rigged upper-body avatar + skin weights).
19gltf = "1.4"
20# GLES fallback for Vulkan-less devices (ONN 4K box, Mali-G31, armeabi-v7a):
21# glow 0.13 loads GL symbols via eglGetProcAddress; khronos-egl 6 provides the
22# EGL display/surface/context wrappers. `dynamic` (dlopen at runtime) — NOT
23# `static`: that feature probes pkg-config for egl at build time, which fails
24# for Android cross-compiles and on hosts without system EGL.
25glow = "0.13"
26khronos-egl = { version = "6", features = ["dynamic"] }