outfly/Cargo.toml

92 lines
3.8 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-22 20:33:54 +00:00
version = "0.9.1"
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.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
# 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-05-12 21:07:50 +00:00
[dependencies.bevy]
# The bevy game engine, the basis for this game
# We temporarily use a fork with a custom bug fix, see https://codeberg.org/outfly/bevy
version = "0.13.2"
git = "https://codeberg.org/outfly/bevy.git"
rev = "e4dc13639106aa86826f6243d58f3209e1e94b1b"
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"]
[dependencies.bevy_embedded_assets]
# For embedding assets into the binary, creating a self-sufficient executable
# We temporarily use a fork with a custom bug fix, see https://codeberg.org/outfly/bevy
version = "0.10.2"
git = "https://codeberg.org/outfly/bevy_embedded_assets.git"
rev = "2696fcc0319e8660c50d4601e7d4e530cf0bb981"
2024-05-12 21:07:50 +00:00
optional = true
[dependencies.bevy_xpbd_3d]
# For physics and collision handling
# We temporarily use a fork with a custom bug fix, see https://codeberg.org/outfly/bevy
version = "0.4.2"
git = "https://codeberg.org/outfly/bevy_xpbd.git"
rev = "b6a03d6ec41e409d56f6b876f654a14d0b33afa7"
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
[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