mirror of
https://github.com/griffi-gh/kubi.git
synced 2024-11-25 08:18:43 -06:00
Compare commits
3 commits
4a200fa059
...
e243d1a179
Author | SHA1 | Date | |
---|---|---|---|
griffi-gh | e243d1a179 | ||
griffi-gh | 5a99d08f8e | ||
griffi-gh | d00d7fad91 |
1002
Cargo.lock
generated
1002
Cargo.lock
generated
File diff suppressed because it is too large
Load diff
|
@ -70,6 +70,11 @@ cargo install cargo-apk
|
|||
cargo target add aarch64-linux-android
|
||||
```
|
||||
|
||||
***wgpu branch**: latest git version of cargo-apk may be required!*
|
||||
```bash
|
||||
cargo install --git https://github.com/rust-mobile/cargo-apk cargo-apk
|
||||
```
|
||||
|
||||
**Build:**
|
||||
|
||||
`--no-default-features` is required for keyboard input!\
|
||||
|
|
|
@ -5,13 +5,15 @@ edition = "2021"
|
|||
publish = false
|
||||
|
||||
[lib]
|
||||
name = "kubimain"
|
||||
crate-type = ["lib", "cdylib"]
|
||||
|
||||
[dependencies]
|
||||
kubi-shared = { path = "../kubi-shared" }
|
||||
kubi-logging = { path = "../kubi-logging" }
|
||||
log = "0.4"
|
||||
glium = { git = "https://github.com/glium/glium", rev = "5d50e7" }
|
||||
wgpu = "0.16"
|
||||
winit = { version = "0.28", features = ["android-native-activity"] }
|
||||
glam = { version = "0.24", features = ["debug-glam-assert", "fast-math"] }
|
||||
image = { version = "0.24", default_features = false, features = ["png"] }
|
||||
strum = { version = "0.25", features = ["derive"] }
|
||||
|
@ -25,13 +27,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`
|
||||
|
||||
[target.'cfg(target_os = "android")'.dependencies]
|
||||
ndk = "0.7"
|
||||
ndk-glue = "0.7"
|
||||
android-activity = { version = "0.4", features = ["native-activity"] }
|
||||
|
||||
[target.'cfg(target_os = "windows")'.dependencies]
|
||||
winapi = "0.3"
|
||||
|
@ -42,7 +42,7 @@ 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"]
|
||||
nightly = ["hashbrown/nightly", "glam/core-simd", "lz4_flex/nightly", "kubi-shared/nightly"]
|
||||
|
||||
#part of wip android support
|
||||
[package.metadata.android]
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
#![cfg_attr(
|
||||
all(windows, not(debug_assertions)),
|
||||
all(windows, not(debug_assertions)),
|
||||
windows_subsystem = "windows"
|
||||
)]
|
||||
|
||||
fn main() {
|
||||
kubi::kubi_main();
|
||||
kubimain::kubi_main()
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue