mirror of
https://github.com/griffi-gh/kubi.git
synced 2024-11-12 18:38:43 -06:00
93 lines
3.1 KiB
TOML
93 lines
3.1 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 = { git = "https://github.com/griffi-gh/hui", rev = "3a50d2d0dde" }
|
|
hui-winit = { git = "https://github.com/griffi-gh/hui", rev = "3a50d2d0dde", features = ["winit_30"] }
|
|
log = "0.4"
|
|
wgpu = { version = "0.20", features = ["webgl"] }
|
|
pollster = "0.3"
|
|
bytemuck = { version = "1.15", features = ["derive"] }
|
|
winit = { version = "0.30", features = ["android-native-activity"] }
|
|
raw-window-handle = "0.6"
|
|
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.10"
|
|
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.6"
|
|
ndk = "0.9"
|
|
|
|
[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"
|