forestiles/Cargo.toml
2024-12-24 18:59:27 +01:00

61 lines
1.7 KiB
TOML

[package]
name = "forestiles"
version = "0.1.0"
edition = "2021"
[lib]
crate-type=["cdylib"]
[[bin]]
path = "src/lib.rs"
name = "forestiles"
[package.metadata.android]
package = "com.forestiles.arkitu"
build_targets = ["armv7-linux-androideabi", "aarch64-linux-android", "i686-linux-android", "x86_64-linux-android"]
[dependencies]
# bevy = { version = "0.15", default-features = false, features = [
# "bevy_color","bevy_core_pipeline","bevy_render","bevy_winit","bevy_window","multi_threaded","wayland","bevy_sprite",
# "bevy_picking","bevy_mesh_picking_backend","bevy_ui_picking_backend","bevy_sprite_picking_backend"
# ]}
bevy = { version = "0.15" }
bevy-inspector-egui = { version = "0.28" }
winit = { version = "0.30", features = ["rwh_05", "android-native-activity"] }
env_logger = "0.11"
log = "0.4"
wgpu = "22.1"
cfg-if = "1"
pollster = "0.3"
bytemuck = { version = "1.18", features = [ "derive" ] }
rand = { version = "0.8", features = ["small_rng"] }
nalgebra = "0.33"
voronoice = "0.2"
noise = "0.9"
lazy_static = "1.5"
image = { version = "0.25", default-features = false, features = ["rayon", "png"]}
[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