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.
34 lines
761 B
TOML
34 lines
761 B
TOML
[package]
|
|
name = "bricks"
|
|
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
|
|
|
|
# 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]
|
|
hello = { workspace = true }
|
|
bevy = { workspace = true }
|
|
# bevy = { version = "0.13.0", features = ["dynamic_linking"] }
|
|
|
|
[workspace.dependencies]
|
|
hello = { path = "crates/hello" }
|
|
bevy = { version = "0.13.0" } |