mirror of
https://github.com/doukutsu-rs/doukutsu-rs
synced 2024-11-15 18:32:48 +00:00
93 lines
2.8 KiB
TOML
93 lines
2.8 KiB
TOML
[package]
|
|
authors = ["Alula"]
|
|
edition = "2018"
|
|
name = "doukutsu-rs"
|
|
version = "0.1.0"
|
|
|
|
[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 = [3, 1]
|
|
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"}
|
|
]
|
|
|
|
[profile.release]
|
|
lto = 'thin'
|
|
panic = 'abort'
|
|
|
|
[profile.dev.package."*"]
|
|
opt-level = 3
|
|
|
|
[profile.dev.build-override]
|
|
opt-level = 1
|
|
|
|
[profile.release.build-override]
|
|
opt-level = 1
|
|
|
|
[features]
|
|
default = ["scripting"]
|
|
scripting = ["lua-ffi"]
|
|
editor = []
|
|
|
|
[dependencies]
|
|
#cpal = {path = "./3rdparty/cpal"}
|
|
#gfx_device_gl = {path = "./3rdparty/gfx/src/backend/gl"}
|
|
#ggez = {path = "./3rdparty/ggez"}
|
|
#glutin = {path = "./3rdparty/glutin/glutin"}
|
|
#lua-ffi = {path = "./3rdparty/luajit-rs", optional = true}
|
|
|
|
bitvec = "0.17.4"
|
|
byteorder = "1.3"
|
|
case_insensitive_hashmap = "1.0.0"
|
|
chrono = "0.4"
|
|
cpal = {git = "https://github.com/doukutsu-rs/cpal.git", branch = "android-support"}
|
|
directories = "2"
|
|
gfx = "0.18"
|
|
gfx_core = "0.9"
|
|
gfx_device_gl = {git = "https://github.com/doukutsu-rs/gfx.git", branch = "pre-ll"}
|
|
ggez = {git = "https://github.com/doukutsu-rs/ggez.git", rev = "43631b0401271d4bc8fe4a5afba8aad63976dba1"}
|
|
glutin = {git = "https://github.com/doukutsu-rs/glutin.git", branch = "master"}
|
|
imgui = {git = "https://github.com/Gekkio/imgui-rs.git", rev = "7e2293bde67f869750ab0e649fbfbd842fb0c785"}
|
|
imgui-gfx-renderer = {git = "https://github.com/Gekkio/imgui-rs.git", rev = "7e2293bde67f869750ab0e649fbfbd842fb0c785"}
|
|
imgui-winit-support = {git = "https://github.com/Gekkio/imgui-rs.git", default-features = false, features = ["winit-23"], rev = "7e2293bde67f869750ab0e649fbfbd842fb0c785"}
|
|
image = {version = "0.22", default-features = false, features = ["png_codec", "pnm", "bmp"]}
|
|
itertools = "0.9.0"
|
|
lazy_static = "1.4.0"
|
|
log = "0.4"
|
|
lua-ffi = {git = "https://github.com/doukutsu-rs/lua-ffi.git", rev = "1ef3caf772d72068297ddf75df06fd2ef8c1daab", optional = true}
|
|
lru = "0.6.0"
|
|
num-derive = "0.3.2"
|
|
num-traits = "0.2.12"
|
|
paste = "1.0.0"
|
|
pretty_env_logger = "0.4.0"
|
|
serde = {version = "1", features = ["derive"]}
|
|
serde_derive = "1"
|
|
serde_yaml = "0.8"
|
|
strum = "0.18.0"
|
|
strum_macros = "0.18.0"
|
|
# remove and replace when drain_filter is in stable
|
|
vec_mut_scan = "0.3.0"
|
|
webbrowser = "0.5.5"
|
|
winit = {version = "0.24.0", features = ["serde"]}
|
|
|
|
[target.'cfg(target_os = "android")'.dependencies]
|
|
ndk = "0.2"
|
|
ndk-glue = "0.2"
|
|
jni = "0.17"
|