85 lines
3.3 KiB
TOML
85 lines
3.3 KiB
TOML
# ▄████████▄ + ███ + ▄█████████ ███ +
|
|
# ███▀ ▀███ + + ███ ███▀ + ███ + +
|
|
# ███ + ███ ███ ███ █████████ ███ ███ ███ ███
|
|
# ███ +███ ███ ███ ███ ███▐██████ ███ ███ ███
|
|
# ███ + ███ ███+ ███ +███ ███ + ███ ███ + ███
|
|
# ███▄ ▄███ ███▄ ███ ███ + ███ + ███ ███▄ ███
|
|
# ▀████████▀ + ▀███████ ███▄ ███▄ ▀████ ▀███████
|
|
# + + + ███
|
|
# + ▀████████████████████████████████████████████████████▀
|
|
|
|
[package]
|
|
name = "outfly"
|
|
version = "0.13.0"
|
|
edition = "2021"
|
|
homepage = "https://codeberg.org/outfly/outfly"
|
|
repository = "https://codeberg.org/outfly/outfly"
|
|
categories = ["game", "aerospace", "simulation"]
|
|
keywords = ["game", "space", "3d"]
|
|
license = "GPL-3.0-only"
|
|
rust-version = "1.81.0"
|
|
|
|
[dependencies]
|
|
# For parsing the game definition file, src/data/defs.txt
|
|
regex = "1"
|
|
|
|
# For seeded pseudo-random procedural generation of asteroids
|
|
fastrand = "2.0"
|
|
|
|
# For conversation specification files, which are in YAML
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_yaml = "0.9"
|
|
|
|
# For reading/writing the player's configuration file.
|
|
dirs = "5.0"
|
|
toml_edit = { version = "0.22", features = ["serde"] }
|
|
|
|
[dependencies.bevy]
|
|
# The bevy game engine, the basis for this game
|
|
version = "0.14"
|
|
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", "png", "tonemapping_luts", "vorbis"]
|
|
|
|
[dependencies.bevy_embedded_assets]
|
|
# For embedding assets into the binary, creating a self-sufficient executable
|
|
version = "0.11"
|
|
optional = true
|
|
|
|
[dependencies.bevy_xpbd_3d]
|
|
# For physics and collision handling
|
|
version = "0.5"
|
|
default-features = false
|
|
features = ["3d", "f64", "parry-f64", "parallel", "async-collider"]
|
|
|
|
[build-dependencies]
|
|
# NOTE: even though we use embed-resource for windows only, we can't move it into
|
|
# a [target[...]build-dependencies] block because in case of cross-compiling, the
|
|
# build.rs will be compiled for a different, non-windows target than the main executable.
|
|
embed-resource = "1.6.3" # embedding of .exe metadata
|
|
blend = "0.8.0"
|
|
|
|
[features]
|
|
default = ["x11", "embed_assets"]
|
|
dev_mode = []
|
|
dev = ["dev_mode", "bevy/file_watcher"] #, "bevy/dynamic_linking"
|
|
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
|