From 1cd519f0d9e10c6114f1af9bbc0ea681a62415c3 Mon Sep 17 00:00:00 2001 From: ardocrat Date: Mon, 10 Apr 2023 23:46:07 +0300 Subject: [PATCH] fix: rust native-activity --- Cargo.toml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 465b3cb..e0bdac4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -28,10 +28,12 @@ openssl-sys = { version = "0.9.82", features = ["vendored"] } #grin_wallet_controller = "5.1.0" #grin_wallet_config = "5.1.0" #grin_wallet_util = "5.1.0" + egui = "0.21.0" -egui-winit = { version = "0.21.1", features = ['default', 'bytemuck', 'android-game-activity'] } +egui-winit = "0.21.1" wgpu = "0.15.1" egui_wgpu_backend = "0.22.0" +epi = "0.17.0" egui_winit_platform = "0.18.0" pollster = "0.3.0" egui_demo_lib = "0.21.0" @@ -39,9 +41,6 @@ egui_demo_lib = "0.21.0" ## grin_servers futures = "0.3" -[patch.crates-io] -egui-winit = { path = '../egui/crates/egui-winit' } - [build-dependencies] built = { version = "0.6.0", features = ["git2"]} @@ -51,7 +50,7 @@ winit = { version = "0.28.3" } [target.'cfg(target_os = "android")'.dependencies] android_logger = "0.13.1" -winit = { version = "0.28.3", features = [ "android-game-activity" ] } +winit = { version = "0.28.3", features = [ "android-native-activity" ] } [lib] name="grin_android"