Modern-Apps.git
Publicgit clone https://git.maproj.org/Modern-Apps.gitModern-Apps.git / library / avatar / src / main / rust / Cargo.toml
Cargo.toml26 lines · 1.0 KiBRaw
| 1 | [package] |
| 2 | name = "yuu_avatar" |
| 3 | version = "0.1.0" |
| 4 | edition = "2021" |
| 5 | description = "Yuu 3D avatar engine: glTF upper-body base mesh, skeletal skinning, preset poses, Vulkan renderer" |
| 6 | license = "GPL-2.0-only" |
| 7 | |
| 8 | [lib] |
| 9 | name = "yuu_avatar" |
| 10 | crate-type = ["cdylib", "rlib"] |
| 11 | |
| 12 | [dependencies] |
| 13 | jni.workspace = true |
| 14 | ash = { workspace = true, default-features = false, features = ["loaded"] } |
| 15 | glam = { workspace = true, features = ["serde"] } |
| 16 | serde = { workspace = true, features = ["derive"] } |
| 17 | serde_json.workspace = true |
| 18 | # glTF 2.0 base-mesh loading (rigged upper-body avatar + skin weights). |
| 19 | gltf = "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. |
| 25 | glow = "0.13" |
| 26 | khronos-egl = { version = "6", features = ["dynamic"] } |