mirror of
https://github.com/griffi-gh/kubi.git
synced 2024-11-21 22:38:41 -06:00
make some required changes
This commit is contained in:
parent
d00d7fad91
commit
5a99d08f8e
|
@ -5,6 +5,7 @@ edition = "2021"
|
|||
publish = false
|
||||
|
||||
[lib]
|
||||
name = "kubimain"
|
||||
crate-type = ["lib", "cdylib"]
|
||||
|
||||
[dependencies]
|
||||
|
@ -12,7 +13,7 @@ kubi-shared = { path = "../kubi-shared" }
|
|||
kubi-logging = { path = "../kubi-logging" }
|
||||
log = "0.4"
|
||||
wgpu = "0.16"
|
||||
winit = "0.28"
|
||||
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"] }
|
||||
|
@ -30,7 +31,7 @@ tinyset = "0.4"
|
|||
serde_json = { version = "1.0", optional = true } #only used for `generate_visualizer_data`
|
||||
|
||||
[target.'cfg(target_os = "android")'.dependencies]
|
||||
android-activity = "0.4"
|
||||
android-activity = { version = "0.4", features = ["native-activity"] }
|
||||
|
||||
[target.'cfg(target_os = "windows")'.dependencies]
|
||||
winapi = "0.3"
|
||||
|
|
|
@ -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