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