75 lines
1.8 KiB
TOML
75 lines
1.8 KiB
TOML
[package]
|
|
name = "yuno"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
exclude = ["dist", "build", "assets", "credits"]
|
|
|
|
[profile.dev.package."*"]
|
|
opt-level = 3
|
|
|
|
[profile.dev]
|
|
opt-level = 1
|
|
|
|
# This is used by trunk as it doesn't support custom profiles: https://github.com/trunk-rs/trunk/issues/605
|
|
# xbuild also uses this profile for building android AABs because I couldn't find a configuration for it
|
|
[profile.release]
|
|
opt-level = "s"
|
|
lto = true
|
|
codegen-units = 1
|
|
strip = true
|
|
|
|
# Profile for distribution
|
|
[profile.dist]
|
|
inherits = "release"
|
|
opt-level = 3
|
|
lto = true
|
|
codegen-units = 1
|
|
strip = true
|
|
|
|
[features]
|
|
dev = ["bevy/dynamic_linking"]
|
|
|
|
# All of Bevy's default features exept for the audio related ones (bevy_audio, vorbis), since they clash with bevy_kira_audio
|
|
# and android_shared_stdcxx, since that is covered in `mobile`
|
|
[dependencies]
|
|
bevy = { version = "0.14", default-features = false, features = [
|
|
"animation",
|
|
"bevy_asset",
|
|
"bevy_state",
|
|
"bevy_color",
|
|
"bevy_gilrs",
|
|
"bevy_scene",
|
|
"bevy_winit",
|
|
"bevy_core_pipeline",
|
|
"bevy_pbr",
|
|
"bevy_gltf",
|
|
"bevy_render",
|
|
"bevy_sprite",
|
|
"bevy_text",
|
|
"bevy_ui",
|
|
"multi_threaded",
|
|
"png",
|
|
"hdr",
|
|
"x11",
|
|
"bevy_gizmos",
|
|
"tonemapping_luts",
|
|
"smaa_luts",
|
|
"default_font",
|
|
"webgl2",
|
|
"sysinfo_plugin",
|
|
] }
|
|
bevy_kira_audio = { version = "0.20" }
|
|
bevy_asset_loader = { version = "0.21", features = ["2d"] }
|
|
webbrowser = { version = "1", features = ["hardened"] }
|
|
|
|
# keep the following in sync with Bevy's dependencies
|
|
winit = { version = "0.30", default-features = false }
|
|
image = { version = "0.25", default-features = false }
|
|
## This greatly improves WGPU's performance due to its heavy use of trace! calls
|
|
log = { version = "0.4", features = [
|
|
"max_level_debug",
|
|
"release_max_level_warn",
|
|
] }
|
|
thiserror = "1.0.63"
|
|
bevy_ecs_tilemap = { version = "0.14.0" }
|
|
tiled = { version = "0.12.0", features = ["wasm"] }
|