You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
872 B
TOML

[package]
name = "bevy_template"
version = "0.1.0"
edition = "2021"
[workspace]
resolver = "2" # Important! wgpu/Bevy needs this!
members = ["crates/hello"]
# Enable a small amount of optimization in debug mode
[profile.dev]
opt-level = 1
# Enable high optimizations for dependencies (incl. Bevy), but not for our code:
[profile.dev.package."*"]
opt-level = 3
###################
# The following are causing "unused manifest key" warnings on build
# so for now they are disabled
##
## for Linux
# [target.x86_64-unknown-linux-gnu]
# linker = "clang"
# rustflags = ["-C", "link-arg=-fuse-ld=lld"]
## for Windows
# [target.x86_64-pc-windows-msvc]
# linker = "rust-lld.exe"
################################
[dependencies]
bevy = { workspace = true }
hello = { workspace = true }
[workspace.dependencies]
bevy = { version = "0.14.0" }
hello = { path = "crates/hello" }