get it working on all platforms again
This commit is contained in:
15
Cargo.toml
15
Cargo.toml
@@ -13,10 +13,9 @@ crate-type = ["lib", "cdylib"]
|
||||
[dependencies]
|
||||
chrono = "0.4"
|
||||
egui = "0.19.0"
|
||||
eframe = "0.19.0"
|
||||
egui_extras = { version = "0.19.0", features = ["image", "svg"] }
|
||||
egui_wgpu_backend = "0.20.0"
|
||||
#egui-winit = "0.19.0"
|
||||
egui_winit_platform = {git = "https://github.com/inferrna/egui_winit_platform.git"}
|
||||
ehttp = "0.2.0"
|
||||
epi = "0.17.0"
|
||||
hex = "0.4.3"
|
||||
@@ -31,11 +30,16 @@ serde = { version = "1", features = ["derive"] } # You only need this if you wan
|
||||
sha2 = "0.10.6"
|
||||
tracing = "0.1.37"
|
||||
tracing-subscriber = "0.3"
|
||||
wgpu = "0.14.0"
|
||||
egui_demo_lib = "0.19"
|
||||
|
||||
#winit = "0.27.1"
|
||||
|
||||
# This dependency will only be included when targeting Android
|
||||
[target.'cfg(target_os = "android")'.dependencies]
|
||||
egui_wgpu_backend = "0.20.0"
|
||||
wgpu = "0.14.0"
|
||||
winit = { git="https://github.com/rust-windowing/winit.git", default-features = false, features = ["android-native-activity"] }
|
||||
egui_winit_platform = {git = "https://github.com/inferrna/egui_winit_platform.git"}
|
||||
|
||||
[target.'cfg(debug_assertions)'.dependencies]
|
||||
simple_logger = "*"
|
||||
android_logger = "0.11.1"
|
||||
@@ -44,9 +48,6 @@ android_logger = "0.11.1"
|
||||
[target.'cfg(not(target_os = "android"))'.dependencies]
|
||||
winit = { git="https://github.com/rust-windowing/winit.git" }
|
||||
|
||||
# This dependency will only be included when targeting Android
|
||||
[target.'cfg(target_os = "android")'.dependencies]
|
||||
winit = { git="https://github.com/rust-windowing/winit.git", default-features = false, features = ["android-native-activity"] }
|
||||
|
||||
# web:
|
||||
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
||||
|
||||
Reference in New Issue
Block a user