mirror of
https://github.com/griffi-gh/kubi.git
synced 2024-12-26 05:38:20 -06:00
93 lines
3.2 KiB
TOML
93 lines
3.2 KiB
TOML
[package]
|
|
name = "kubi"
|
|
version = "0.0.0"
|
|
edition = "2021"
|
|
publish = false
|
|
|
|
[lib]
|
|
name = "kubilib"
|
|
crate-type = ["lib", "cdylib"]
|
|
|
|
[dependencies]
|
|
kubi-shared = { path = "../kubi-shared" }
|
|
kubi-logging = { path = "../kubi-logging" }
|
|
hui = { version = "0.1.0-alpha.4", git = "https://github.com/griffi-gh/hui", rev = "dd5af8b9e2" }
|
|
hui-glium = { version = "0.1.0-alpha.4", git = "https://github.com/griffi-gh/hui", rev = "dd5af8b9e2" }
|
|
hui-winit = { version = "0.1.0-alpha.4", git = "https://github.com/griffi-gh/hui", rev = "dd5af8b9e2" }
|
|
log = "0.4"
|
|
glium = { git = "https://github.com/glium/glium", rev = "a352c667" }
|
|
glutin = "0.31"
|
|
winit = { version = "0.29", features = ["android-native-activity"] }
|
|
glutin-winit = "0.4"
|
|
raw-window-handle = "=0.5.*"
|
|
glam = { version = "0.27", features = ["debug-glam-assert", "fast-math"] }
|
|
image = { version = "0.25", default_features = false, features = ["png"] }
|
|
strum = { version = "0.26", features = ["derive"] }
|
|
hashbrown = "0.14"
|
|
nohash-hasher = "0.2"
|
|
rayon = "1.7"
|
|
shipyard = { git = "https://github.com/leudz/shipyard", rev = "aacf3b1df5", default-features = false, features = ["std", "proc", "thread_local"] }
|
|
anyhow = "1.0"
|
|
flume = "0.11"
|
|
gilrs = { version = "0.10", default_features = false, features = ["xinput"] }
|
|
uflow = "0.7"
|
|
postcard = { version = "1.0", features = ["alloc"] }
|
|
lz4_flex = { version = "0.11", default-features = false, features = ["std"] }
|
|
static_assertions = "1.1"
|
|
tinyset = "0.4"
|
|
serde_json = { version = "1.0", optional = true } #only used for `generate_visualizer_data`
|
|
rand = { version = "0.8", features = ["alloc", "small_rng"]}
|
|
atomic = "0.6"
|
|
|
|
[target.'cfg(target_os = "android")'.dependencies]
|
|
android-activity = "^0.5.2"
|
|
ndk = "0.8"
|
|
|
|
[target.'cfg(target_os = "windows")'.dependencies]
|
|
winapi = { version = "0.3", features = ["wincon"] }
|
|
|
|
[features]
|
|
default = ["raw-evt"]
|
|
raw-evt = [] #required for mouse input, but breaks keyboard on android
|
|
generate_visualizer_data = ["dep:serde_json", "shipyard/serde1"]
|
|
safe_lz4 = ["lz4_flex/safe-encode", "lz4_flex/safe-decode"]
|
|
parallel = ["shipyard/parallel"] # causes some serious issues!
|
|
nightly = ["hashbrown/nightly", "glam/core-simd", "static_assertions/nightly", "lz4_flex/nightly", "kubi-shared/nightly", "rand/nightly"]
|
|
|
|
#part of wip android support
|
|
[package.metadata.android]
|
|
package = "com.ggh.kubi"
|
|
build_targets = ["aarch64-linux-android"]
|
|
assets = "../assets"
|
|
apk_name = "kubi"
|
|
theme = "@android:style/Theme.DeviceDefault.NoActionBar.Fullscreen"
|
|
label = "Kubi"
|
|
|
|
[package.metadata.android.sdk]
|
|
min_sdk_version = 16
|
|
target_sdk_version = 30
|
|
|
|
[[package.metadata.android.uses_feature]]
|
|
glEsVersion = 0x00030000
|
|
required = true
|
|
|
|
[[package.metadata.android.uses_feature]]
|
|
name = "android.hardware.touchscreen.multitouch"
|
|
required = true
|
|
|
|
[[package.metadata.android.uses_feature]]
|
|
name = "android.hardware.touchscreen.multitouch.distinct"
|
|
required = true
|
|
|
|
[package.metadata.android.application.activity]
|
|
label = "Kubi"
|
|
launch_mode = "singleTop"
|
|
orientation = "sensorLandscape"
|
|
config_changes = "orientation|keyboardHidden|screenLayout|screenSize"
|
|
exported = true
|
|
resizeable_activity = true
|
|
|
|
# [package.metadata.android.signing.release]
|
|
# path = "$HOME/.android/debug.keystore"
|
|
# keystore_password = "android"
|