37 lines
743 B
TOML
37 lines
743 B
TOML
[package]
|
|
name = "cyber_rider"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies.bevy]
|
|
path = "../bevy/"
|
|
default-features = false
|
|
features = [
|
|
"bevy_gilrs",
|
|
"bevy_winit",
|
|
"render",
|
|
"png",
|
|
"hdr",
|
|
"x11",
|
|
]
|
|
|
|
[dependencies.heron]
|
|
path = "../heron/"
|
|
features = ["3d"]
|
|
|
|
[patch.crates-io]
|
|
bevy = { path = "../bevy/" }
|
|
heron = { path = "../heron/" }
|
|
|
|
[patch."https://github.com/bevyengine/bevy"]
|
|
bevy = { path = "../bevy/" }
|
|
|
|
# Enable optimizations for dependencies (incl. Bevy), but not for our code:
|
|
[profile.dev.package."*"]
|
|
opt-level = 3
|
|
|
|
# Maybe also enable only a small amount of optimization for our code:
|
|
[profile.dev]
|
|
opt-level = 1
|