[package] name = "forestiles" version = "0.3.0" edition = "2021" [lib] name = "forestiles" path = "src/lib.rs" crate-type=[ "cdylib" ] [[bin]] path = "src/lib.rs" name = "forestiles" [dependencies] bevy = { version = "0.15", default-features = false, features = [ "android-native-activity", "android_shared_stdcxx", "bevy_color", "bevy_core_pipeline", "bevy_render", "bevy_state", "bevy_text", "bevy_ui", "bevy_ui_picking_backend", "bevy_window", "bevy_winit", "default_font", "multi_threaded", "sysinfo_plugin", "webgl2", "wayland", ]} bevy-inspector-egui = { version = "0.28", default-features = false, features = [ "bevy_image", "bevy_render", "egui_open_url" ]} mevy = "0.1" log = "0.4" rand = { version = "0.8", features = ["small_rng"] } voronoice = "0.2" noise = "0.9" [target.'cfg(target_arch = "wasm32")'.dependencies] console_error_panic_hook = "0.1.6" console_log = "1.0" wgpu = { version = "22", features = ["webgl"]} wasm-bindgen = "0.2" wasm-bindgen-futures = "0.4" web-sys = { version = "0.3", features = [ "Document", "Window", "Element", ]} getrandom ={ version = "*", features = ["js"]} [target.'cfg(target_os = "android")'.dependencies] android_logger = "0.14" # Enable a small amount of optimization in the dev profile. [profile.dev] opt-level = 1 # Enable a large amount of optimization in the dev profile for dependencies. # [profile.dev.package."*"] # opt-level = 1 [package.metadata.android] package = "org.forestiles.game" apk_name = "forestiles" strip = "strip" # see https://github.com/rust-mobile/cargo-apk assets = "assets" build_targets = ["aarch64-linux-android", "armv7-linux-androideabi"] [package.metadata.android.sdk] target_sdk_version = 31 [package.metadata.android.application] label = "Forestiles"