forestiles/Cargo.toml

87 lines
1.8 KiB
TOML
Raw Normal View History

2024-08-18 18:02:10 +01:00
[package]
name = "forestiles"
2025-01-15 18:09:20 +00:00
version = "0.2.0"
2024-08-18 18:02:10 +01:00
edition = "2021"
2024-08-24 21:44:13 +01:00
[lib]
2024-12-26 10:43:58 +00:00
name = "forestiles"
path = "src/lib.rs"
crate-type=[
"staticlib",
"cdylib",
"rlib"
]
2024-08-24 21:44:13 +01:00
[[bin]]
path = "src/lib.rs"
name = "forestiles"
2024-08-18 18:02:10 +01:00
[dependencies]
2024-12-26 10:43:58 +00:00
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",
]}
2024-12-26 11:46:03 +00:00
bevy-inspector-egui = { version = "0.28", default-features = false, features = [
"bevy_image",
"bevy_render",
"egui_open_url"
]}
2024-08-18 18:02:10 +01:00
log = "0.4"
2024-08-23 17:04:26 +01:00
rand = { version = "0.8", features = ["small_rng"] }
voronoice = "0.2"
noise = "0.9"
2024-08-18 18:02:10 +01:00
[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",
2024-08-29 08:52:03 +01:00
]}
getrandom ={ version = "*", features = ["js"]}
[target.'cfg(target_os = "android")'.dependencies]
2024-08-31 09:41:16 +01:00
android_logger = "0.14"
2024-12-24 17:59:27 +00:00
# Enable a small amount of optimization in the dev profile.
[profile.dev]
opt-level = 1
2025-01-12 12:48:13 +00:00
[profile.release]
debug = true
2024-12-24 17:59:27 +00:00
# Enable a large amount of optimization in the dev profile for dependencies.
[profile.dev.package."*"]
opt-level = 3
2024-12-26 10:43:58 +00:00
[package.metadata.android]
package = "org.forestiles.example"
apk_name = "forestiles"
2024-12-26 11:46:03 +00:00
strip = "strip"
2024-12-26 10:43:58 +00:00
# see https://github.com/rust-mobile/cargo-apk
2024-12-26 11:46:03 +00:00
assets = "assets"
2024-12-26 10:43:58 +00:00
build_targets = ["aarch64-linux-android", "armv7-linux-androideabi"]
[package.metadata.android.sdk]
target_sdk_version = 31
[package.metadata.android.application]
label = "Forestiles"