Path: blob/main/examples/mobile/android_basic/Cargo.toml
6595 views
[package]1name = "bevy_mobile_example"2# Version is required by `cargo-apk`, though this value will never change.3version = "0.0.0"4edition = "2024"5description = "Example for building an iOS or Android app with Bevy"6publish = false7license = "MIT OR Apache-2.0"89[lib]10name = "bevy_mobile_example"11crate-type = ["staticlib", "cdylib"]1213[dependencies]14bevy = { path = "../../", default-features = false, features = [15"android-native-activity",16"android_shared_stdcxx",17"animation",18"bevy_animation",19"bevy_asset",20"bevy_audio",21"bevy_color",22"bevy_core_pipeline",23"bevy_gilrs",24"bevy_gizmos",25"bevy_gltf",26"bevy_pbr",27"bevy_render",28"bevy_scene",29"bevy_sprite",30"bevy_state",31"bevy_text",32"bevy_ui",33"bevy_winit",34"default_font",35"hdr",36"ktx2",37"multi_threaded",38"png",39"sysinfo_plugin",40"tonemapping_luts",41"vorbis",42"webgl2",43"x11",44"zstd",45] }4647[package.metadata.android]48package = "org.bevyengine.example"49apk_name = "bevyexample"50assets = "../../assets"51resources = "../../assets/android-res"52# This strips debug symbols from the shared libraries, drastically reducing APK size. If you need them, remove the option.53strip = "strip"54build_targets = ["aarch64-linux-android", "armv7-linux-androideabi"]5556[package.metadata.android.sdk]57target_sdk_version = 335859[package.metadata.android.application]60icon = "@mipmap/ic_launcher"61label = "Bevy Example"6263[lints]64workspace = true6566[package.metadata.docs.rs]67rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"]68all-features = true697071