outfly/Cargo.toml

85 lines
3.3 KiB
TOML
Raw Normal View History

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