Skip to content

Instantly share code, notes, and snippets.

@Hermitao
Created January 5, 2026 14:13
Show Gist options
  • Select an option

  • Save Hermitao/99073eaa1b90b2fd39721f9a15a69daf to your computer and use it in GitHub Desktop.

Select an option

Save Hermitao/99073eaa1b90b2fd39721f9a15a69daf to your computer and use it in GitHub Desktop.
flight model prototype Cargo.toml
[package]
name = "flight_model"
version = "0.1.0"
edition = "2024"
[dependencies]
anyhow = "1.0.100"
bevy = { version = "0.17.3", features = ["bevy_dev_tools"] }
clap = { version="4.5.53", features = ["derive"] }
encoding_rs = "0.8.35"
hf-hub = "0.4.3"
serde_json = "1.0.145"
tracing-subscriber = "0.3.22"
log = { version = "*", features = ["max_level_debug", "release_max_level_warn"] }
avian3d = { version = "0.4.1", features = ["collider-from-mesh"] }
chrono = "0.4.42"
bevy_sky_gradient = "0.2.0"
[features]
default = ["dynamic"]
dynamic = ["bevy/dynamic_linking"]
# (Bevy) Enable a small amount of optimization in the dev profile.
[profile.dev]
opt-level = 1
# (Bevy) Enable a large amount of optimization in the dev profile for dependencies.
[profile.dev.package."*"]
opt-level = 3
[profile.release]
# (Bevy) Compile the entire crate as one unit.
# Slows compile times, marginal improvements.
codegen-units = 1
# (Bevy) Do a second optimization pass over the entire program, including dependencies.
# Slows compile times, marginal improvements.
lto = "thin"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment