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

Modern-Apps.git / games / kart / src / main / rust / Cargo.toml

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