103 lines
2.2 KiB
TOML
103 lines
2.2 KiB
TOML
[package]
|
|
name = "forestiles"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
[lib]
|
|
name = "forestiles"
|
|
path = "src/lib.rs"
|
|
crate-type=[
|
|
"staticlib",
|
|
"cdylib",
|
|
"rlib"
|
|
]
|
|
|
|
[[bin]]
|
|
path = "src/lib.rs"
|
|
name = "forestiles"
|
|
|
|
[dependencies]
|
|
bevy = { version = "0.15", default-features = false, features = [
|
|
"android-native-activity",
|
|
"android_shared_stdcxx",
|
|
"animation",
|
|
"bevy_asset",
|
|
"bevy_audio",
|
|
"bevy_color",
|
|
"bevy_core_pipeline",
|
|
"bevy_gilrs",
|
|
"bevy_gizmos",
|
|
"bevy_gltf",
|
|
"bevy_mesh_picking_backend",
|
|
"bevy_pbr",
|
|
# "bevy_picking",
|
|
"bevy_render",
|
|
"bevy_scene",
|
|
"bevy_sprite",
|
|
"bevy_sprite_picking_backend",
|
|
"bevy_state",
|
|
"bevy_text",
|
|
"bevy_ui",
|
|
"bevy_ui_picking_backend",
|
|
"bevy_window",
|
|
"bevy_winit",
|
|
"custom_cursor",
|
|
"default_font",
|
|
"hdr",
|
|
"multi_threaded",
|
|
"png",
|
|
"smaa_luts",
|
|
"sysinfo_plugin",
|
|
"tonemapping_luts",
|
|
"vorbis",
|
|
"webgl2",
|
|
"wayland",
|
|
]}
|
|
bevy-inspector-egui = { version = "0.28", default-features = false, features = [
|
|
"bevy_pbr",
|
|
"bevy_image",
|
|
"bevy_render",
|
|
"egui_open_url"
|
|
]}
|
|
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 = 3
|
|
|
|
[package.metadata.android]
|
|
package = "org.forestiles.example"
|
|
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" |