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

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

Cargo.toml27 lines · 1.1 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
14jni_bridge = { path = "../../../../../library/jni-bridge/src/main/rust" }
15ash = { workspace = true, default-features = false, features = ["loaded"] }
16glam = { workspace = true, features = ["serde"] }
17serde = { workspace = true, features = ["derive"] }
18serde_json.workspace = true
19# glTF 2.0 base-mesh loading (rigged upper-body avatar + skin weights).
20gltf = "1.4"
21# GLES fallback for Vulkan-less devices (ONN 4K box, Mali-G31, armeabi-v7a):
22# glow 0.13 loads GL symbols via eglGetProcAddress; khronos-egl 6 provides the
23# EGL display/surface/context wrappers. `dynamic` (dlopen at runtime) — NOT
24# `static`: that feature probes pkg-config for egl at build time, which fails
25# for Android cross-compiles and on hosts without system EGL.
26glow = "0.13"
27khronos-egl = { version = "6", features = ["dynamic"] }