[workspace] #members = ["wallet", "config"] [package] name = "grin-android" version = "0.1.0" edition = "2021" build = "src/build/build.rs" [features] #static_ssl = ['openssl/vendored'] [dependencies] log = "0.4" #android-activity = { version = "0.4", features = ["game-activity"] } #grin_api = "5.1.2" #grin_chain = "5.1.2" grin_config = "5.1.2" grin_core = "5.1.2" #grin_keychain = "5.1.2" #grin_p2p = "5.1.2" grin_servers = "5.1.2" #grin_store = "5.1.2" grin_util = "5.1.2" openssl-sys = { version = "0.9.82", features = ["vendored"] } #grin_wallet_api = "5.1.0" #grin_wallet_libwallet = "5.1.0" #grin_wallet_controller = "5.1.0" #grin_wallet_config = "5.1.0" #grin_wallet_util = "5.1.0" egui = "0.20.1" pollster = "0.3.0" tracing-subscriber = "0.3" egui_demo_lib = "0.20.0" eframe = { version = "0.20.1", features = [ "wgpu" ] } ## grin_servers futures = "0.3" [patch.crates-io] winit = { git = "https://github.com/rib/winit", branch = "android-activity" } [build-dependencies] built = { version = "0.6.0", features = ["git2"]} [target.'cfg(not(target_os = "android"))'.dependencies] env_logger = "0.10.0" winit = { version = "0.27.2" } [target.'cfg(target_os = "android")'.dependencies] android_logger = "0.13.1" jni = "0.21.1" winit = { version = "0.27.2", features = [ "android-game-activity" ] } [lib] name="grin_android" crate_type=["cdylib"]