Modern-Apps.git
Publicgit clone https://git.maproj.org/Modern-Apps.gitModern-Apps.git / games / kart / src / main / rust / Cargo.toml
Cargo.toml25 lines · 1.0 KiBRaw
| 1 | [package] |
| 2 | name = "kart_engine" |
| 3 | version = "0.1.0" |
| 4 | edition = "2021" |
| 5 | description = "Kart TV racer engine: Sunset Oval track mesh, arcade kart physics, chase cam, items + AI, Vulkan renderer" |
| 6 | license = "GPL-2.0-only" |
| 7 | |
| 8 | [lib] |
| 9 | name = "kart_engine" |
| 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 | # GLES fallback for Vulkan-less devices (ONN 4K box, Mali-G31, armeabi-v7a): |
| 19 | # glow 0.13 loads GL symbols via eglGetProcAddress; khronos-egl 6 (the plan's |
| 20 | # "0.1" pin was never published) provides the EGL display/surface/context |
| 21 | # wrappers. `dynamic` (dlopen at runtime) — NOT `static`: that feature probes |
| 22 | # pkg-config for egl at build time, which fails for Android cross-compiles and |
| 23 | # on hosts without system EGL (e.g. Windows dev machines). |
| 24 | glow = "0.13" |
| 25 | khronos-egl = { version = "6", features = ["dynamic"] } |