outfly/Cargo.toml

75 lines
3.2 KiB
TOML
Raw 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-05-08 14:25:04 +00:00
version = "0.8.5"
edition = "2021"
2024-03-28 21:25:11 +00:00
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"
[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
# The bevy game engine, the basis for this game
2024-04-27 23:33:27 +00:00
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", "png", "tonemapping_luts", "vorbis"]}
2024-04-30 14:27:57 +00:00
# For physics and collision handling
2024-04-01 21:29:12 +00:00
bevy_xpbd_3d = { version = "0.4.2", default-features = false, features = ["3d", "f64", "parry-f64", "parallel", "async-collider"] }
2024-04-30 14:27:57 +00:00
# For embedding assets into the binary, creating a self-sufficient executable
2024-04-23 13:39:46 +00:00
bevy_embedded_assets = { version = "0.10.2", optional = true }
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.
toml_edit = { version = "0.22", features = ["serde"] }
2024-04-30 15:25:43 +00:00
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
# build.rs will be compiled for a different, non-windows arch than the main executable.
2024-04-19 21:47:40 +00:00
embed-resource = "1.6.3" # embedding of .exe metadata
[features]
default = ["x11", "embed_assets"]
dev_mode = []
dev = ["dev_mode", "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"]
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