60 lines
2.6 KiB
TOML
60 lines
2.6 KiB
TOML
# ▄████████▄ + ███ + ▄█████████ ███ +
|
|
# ███▀ ▀███ + + ███ ███▀ + ███ + +
|
|
# ███ + ███ ███ ███ █████████ ███ ███ ███ ███
|
|
# ███ +███ ███ ███ ███ ███▐██████ ███ ███ ███
|
|
# ███ + ███ ███+ ███ +███ ███ + ███ ███ + ███
|
|
# ███▄ ▄███ ███▄ ███ ███ + ███ + ███ ███▄ ███
|
|
# ▀████████▀ + ▀███████ ███▄ ███▄ ▀████ ▀███████
|
|
# + + + ███
|
|
# + ▀████████████████████████████████████████████████████▀
|
|
|
|
[package]
|
|
name = "outfly"
|
|
version = "0.8.1"
|
|
edition = "2021"
|
|
homepage = "https://codeberg.org/hut/outfly"
|
|
repository = "https://codeberg.org/hut/outfly"
|
|
categories = ["game", "aerospace", "simulation"]
|
|
keywords = ["game", "space", "3d"]
|
|
license = "GPL-3.0-only"
|
|
rust-version = "1.76.0"
|
|
build = "src/build/build.rs"
|
|
|
|
[dependencies]
|
|
regex = "1"
|
|
bevy = { version = "0.13.2", default-features = false, features = ["animation", "bevy_asset", "bevy_audio", "bevy_scene", "bevy_winit", "bevy_core_pipeline", "bevy_pbr", "bevy_gltf", "bevy_render", "bevy_text", "bevy_ui", "jpeg", "multi-threaded", "tonemapping_luts", "vorbis"]}
|
|
bevy_xpbd_3d = { version = "0.4.2", default-features = false, features = ["3d", "f64", "parry-f64", "parallel", "async-collider"] }
|
|
bevy_embedded_assets = { version = "0.10.2", optional = true }
|
|
fastrand = "2.0"
|
|
serde = "1.0"
|
|
serde_yaml = "0.9"
|
|
|
|
[build-dependencies]
|
|
embed-resource = "1.6.3" # embedding of .exe metadata
|
|
|
|
[features]
|
|
default = ["x11", "embed_assets"]
|
|
mute_music = []
|
|
dev_mode = []
|
|
dev = ["dev_mode", "mute_music", "bevy/dynamic_linking", "bevy/file_watcher"]
|
|
release_linux = ["x11", "wayland", "embed_assets"]
|
|
release_windows = ["embed_assets"]
|
|
wasm = ["bevy/webgl2"]
|
|
x11 = ["bevy/x11"]
|
|
wayland = ["bevy/wayland"]
|
|
embed_assets = ["dep:bevy_embedded_assets"]
|
|
|
|
[profile.dev]
|
|
opt-level = 1
|
|
|
|
[profile.dev.package."*"]
|
|
opt-level = 3 # high optimizations for dependencies, but not for our code
|
|
|
|
[profile.release]
|
|
lto = true
|
|
opt-level = 'z'
|
|
codegen-units = 1
|
|
incremental = false
|
|
debug = false
|
|
strip = true
|