2023-07-28 21:04:54 +02:00
|
|
|
[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
|
|
|
|
|
2023-07-30 14:17:54 +02:00
|
|
|
[profile.dev]
|
|
|
|
debug = true
|
|
|
|
|
|
|
|
[profile.release]
|
|
|
|
debug = true
|
|
|
|
|
2023-07-28 21:04:54 +02:00
|
|
|
[dependencies]
|
|
|
|
gl_matrix = "0.0.2"
|
|
|
|
j4rs = "0.17.0"
|
2023-07-30 14:17:54 +02:00
|
|
|
j4rs_derive = "0.1.0"
|
|
|
|
miniquad = { git = "https://github.com/jusax23/miniquad", branch = "jni" }
|
|
|
|
#miniquad = { path = '../jucraft/miniquad' }
|
2023-07-28 21:04:54 +02:00
|
|
|
png = "0.17.9"
|
|
|
|
serde = "1.0.177"
|
2023-07-30 14:17:54 +02:00
|
|
|
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
|
|
|
|
|