[package] name = "j_game" version = "0.1.0" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [profile.dev] debug = true [profile.release] debug = true [dependencies] gl_matrix = "0.0.2" j4rs = "0.17.0" j4rs_derive = "0.1.0" miniquad = { git = "https://github.com/jusax23/miniquad", branch = "jni" } #miniquad = { path = '../jucraft/miniquad' } png = "0.17.9" serde = "1.0.177" log = "0.4.14" env_logger = "0.10.0" [target.'cfg(target_os = "android")'.dependencies] jni = "0.20" libc = "0.2" ndk = { version = "0.7", features = ["api-level-23"] } ndk-context = "0.1.1" android_logger = "0.11.0" android-activity = { version = "0.4", features = ["native-activity"] } [[package.metadata.android.permission]] name = "android.permission.READ_EXTERNAL_STORAGE" max_sdk_version = 18 [[package.metadata.android.permission]] name = "android.permission.WRITE_EXTERNAL_STORAGE" max_sdk_version = 18