2020-08-18 16:46:07 +00:00
|
|
|
[package]
|
|
|
|
authors = ["Alula <julekonopinska@gmail.com>"]
|
|
|
|
edition = "2018"
|
|
|
|
name = "doukutsu-rs"
|
|
|
|
version = "0.1.0"
|
|
|
|
|
2020-10-07 14:08:12 +00:00
|
|
|
[lib]
|
|
|
|
crate-type = ["lib", "cdylib"]
|
|
|
|
|
|
|
|
[package.metadata.android]
|
|
|
|
android_version = 28
|
|
|
|
target_sdk_version = 28
|
|
|
|
min_sdk_version = 26
|
|
|
|
build_targets = ["aarch64-linux-android"]
|
|
|
|
package_name = "io.github.doukutsu_rs.android"
|
|
|
|
apk_label = "doukutsu-rs"
|
|
|
|
opengles_version = [2, 0]
|
|
|
|
fullscreen = true
|
|
|
|
orientation = "sensorLandscape"
|
|
|
|
permission = [
|
|
|
|
{name = "android.permission.MANAGE_EXTERNAL_STORAGE"},
|
|
|
|
{name = "android.permission.READ_EXTERNAL_STORAGE"},
|
|
|
|
{name = "android.permission.WRITE_EXTERNAL_STORAGE"}
|
|
|
|
]
|
|
|
|
application_metadatas = [
|
|
|
|
{name = "android:hardwareAccelerated", value = "true"},
|
|
|
|
{name = "android:requestLegacyExternalStorage", value = "true"}
|
|
|
|
]
|
|
|
|
|
2020-08-18 16:46:07 +00:00
|
|
|
[profile.release]
|
2020-09-24 13:28:14 +00:00
|
|
|
lto = 'thin'
|
2020-08-18 16:46:07 +00:00
|
|
|
panic = 'abort'
|
|
|
|
|
2020-11-04 23:25:18 +00:00
|
|
|
[profile.dev.package."*"]
|
|
|
|
opt-level = 3
|
|
|
|
|
|
|
|
[profile.dev.build-override]
|
|
|
|
opt-level = 1
|
|
|
|
|
|
|
|
[profile.release.build-override]
|
2020-08-29 00:33:03 +00:00
|
|
|
opt-level = 1
|
|
|
|
|
2020-08-18 16:46:07 +00:00
|
|
|
[dependencies]
|
2020-11-04 23:25:18 +00:00
|
|
|
#cpal = {path = "./3rdparty/cpal"}
|
|
|
|
#gfx_device_gl = {path = "./3rdparty/gfx/src/backend/gl"}
|
|
|
|
#ggez = {path = "./3rdparty/ggez"}
|
|
|
|
#glutin = {path = "./3rdparty/glutin/glutin"}
|
2020-10-07 14:08:12 +00:00
|
|
|
|
2020-08-27 02:43:21 +00:00
|
|
|
bitvec = "0.17.4"
|
2020-08-18 16:46:07 +00:00
|
|
|
byteorder = "1.3"
|
2020-09-11 12:58:50 +00:00
|
|
|
case_insensitive_hashmap = "1.0.0"
|
2020-11-02 01:38:39 +00:00
|
|
|
chrono = "0.4"
|
2020-10-20 20:45:56 +00:00
|
|
|
cpal = {git = "https://github.com/doukutsu-rs/cpal.git", branch = "android-support"}
|
2020-08-19 19:11:32 +00:00
|
|
|
directories = "2"
|
|
|
|
gfx = "0.18"
|
|
|
|
gfx_core = "0.9"
|
2020-10-07 14:08:12 +00:00
|
|
|
gfx_device_gl = {git = "https://github.com/doukutsu-rs/gfx.git", branch = "pre-ll"}
|
2020-11-07 17:17:01 +00:00
|
|
|
ggez = {git = "https://github.com/doukutsu-rs/ggez.git", rev = "aad56b0d173ca9f4aeb28599075b5af49ab9214e"}
|
2020-10-07 14:08:12 +00:00
|
|
|
glutin = {git = "https://github.com/doukutsu-rs/glutin.git", branch = "android-support"}
|
2020-11-24 23:08:27 +00:00
|
|
|
imgui = {git = "https://github.com/Gekkio/imgui-rs.git", rev = "a990a538b66cb67dba3a072bf299b6a51c001447"}
|
|
|
|
imgui-gfx-renderer = {git = "https://github.com/Gekkio/imgui-rs.git", rev = "a990a538b66cb67dba3a072bf299b6a51c001447"}
|
|
|
|
imgui-winit-support = {git = "https://github.com/Gekkio/imgui-rs.git", default-features = false, features = ["winit-23"], rev = "a990a538b66cb67dba3a072bf299b6a51c001447"}
|
2020-10-07 14:08:12 +00:00
|
|
|
image = {version = "0.22", default-features = false, features = ["png_codec", "pnm", "bmp"]}
|
2020-08-19 00:55:21 +00:00
|
|
|
itertools = "0.9.0"
|
2020-08-18 16:46:07 +00:00
|
|
|
lazy_static = "1.4.0"
|
|
|
|
log = "0.4"
|
2020-08-27 02:43:21 +00:00
|
|
|
lru = "0.6.0"
|
|
|
|
num-derive = "0.3.2"
|
2020-08-18 16:46:07 +00:00
|
|
|
num-traits = "0.2.12"
|
|
|
|
paste = "1.0.0"
|
|
|
|
pretty_env_logger = "0.4.0"
|
2020-11-17 02:42:45 +00:00
|
|
|
serde = {version = "1", features = ["derive"]}
|
|
|
|
serde_derive = "1"
|
|
|
|
serde_yaml = "0.8"
|
2020-08-18 16:46:07 +00:00
|
|
|
strum = "0.18.0"
|
|
|
|
strum_macros = "0.18.0"
|
2020-09-16 13:21:30 +00:00
|
|
|
# remove and replace when drain_filter is in stable
|
|
|
|
vec_mut_scan = "0.3.0"
|
2020-09-22 19:31:47 +00:00
|
|
|
webbrowser = "0.5.5"
|
2020-11-28 19:25:51 +00:00
|
|
|
winit = {version = "0.23.0", features = ["serde"]}
|
2020-10-07 14:08:12 +00:00
|
|
|
|
|
|
|
[target.'cfg(target_os = "android")'.dependencies]
|
|
|
|
ndk = "0.2.0"
|
|
|
|
ndk-glue = "0.2.0"
|
|
|
|
jni = "0.17"
|