outfly/Cargo.toml

85 lines
3.3 KiB
TOML
Raw Permalink Normal View History

2024-04-21 16:23:40 +00:00
# ▄████████▄ + ███ + ▄█████████ ███ +
# ███▀ ▀███ + + ███ ███▀ + ███ + +
# ███ + ███ ███ ███ █████████ ███ ███ ███ ███
2024-04-21 17:34:00 +00:00
# ███ +███ ███ ███ ███ ███▐██████ ███ ███ ███
2024-04-21 16:23:40 +00:00
# ███ + ███ ███+ ███ +███ ███ + ███ ███ + ███
# ███▄ ▄███ ███▄ ███ ███ + ███ + ███ ███▄ ███
# ▀████████▀ + ▀███████ ███▄ ███▄ ▀████ ▀███████
# + + + ███
# + ▀████████████████████████████████████████████████████▀
[package]
2024-03-16 19:21:51 +00:00
name = "outfly"
2024-10-12 01:02:01 +00:00
version = "0.13.0"
edition = "2021"
2024-05-20 19:56:17 +00:00
homepage = "https://codeberg.org/outfly/outfly"
repository = "https://codeberg.org/outfly/outfly"
2024-03-28 21:25:11 +00:00
categories = ["game", "aerospace", "simulation"]
keywords = ["game", "space", "3d"]
license = "GPL-3.0-only"
rust-version = "1.81.0"
[dependencies]
2024-04-30 14:27:57 +00:00
# For parsing the game definition file, src/data/defs.txt
2024-03-20 03:34:09 +00:00
regex = "1"
2024-04-30 14:27:57 +00:00
# For seeded pseudo-random procedural generation of asteroids
2024-04-15 20:07:13 +00:00
fastrand = "2.0"
2024-04-30 14:27:57 +00:00
# For conversation specification files, which are in YAML
2024-04-30 20:26:54 +00:00
serde = { version = "1.0", features = ["derive"] }
2024-04-13 15:17:24 +00:00
serde_yaml = "0.9"
2024-04-30 15:25:43 +00:00
# For reading/writing the player's configuration file.
dirs = "5.0"
toml_edit = { version = "0.22", features = ["serde"] }
2024-04-30 15:25:43 +00:00
2024-05-12 21:07:50 +00:00
[dependencies.bevy]
# The bevy game engine, the basis for this game
version = "0.14"
2024-05-12 21:07:50 +00:00
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"]
2024-05-12 21:07:50 +00:00
[dependencies.bevy_embedded_assets]
# For embedding assets into the binary, creating a self-sufficient executable
version = "0.11"
2024-05-12 21:07:50 +00:00
optional = true
[dependencies.bevy_xpbd_3d]
# For physics and collision handling
version = "0.5"
2024-05-12 21:07:50 +00:00
default-features = false
features = ["3d", "f64", "parry-f64", "parallel", "async-collider"]
2024-04-19 21:47:40 +00:00
[build-dependencies]
2024-05-07 01:27:31 +00:00
# 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
2024-05-12 21:07:50 +00:00
# build.rs will be compiled for a different, non-windows target than the main executable.
2024-04-19 21:47:40 +00:00
embed-resource = "1.6.3" # embedding of .exe metadata
blend = "0.8.0"
2024-04-19 21:47:40 +00:00
[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"]
2024-04-23 13:39:46 +00:00
embed_assets = ["dep:bevy_embedded_assets"]
2024-03-22 11:29:43 +00:00
[profile.dev]
opt-level = 1
[profile.dev.package."*"]
2024-03-30 13:43:46 +00:00
opt-level = 3 # high optimizations for dependencies, but not for our code
2024-03-17 13:55:16 +00:00
[profile.release]
2024-03-17 14:34:57 +00:00
lto = true
2024-03-19 17:29:28 +00:00
opt-level = 'z'
2024-03-17 14:34:57 +00:00
codegen-units = 1
incremental = false
debug = false
2024-03-30 13:32:02 +00:00
strip = true