[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 } core = { workspace = true } bevy = { workspace = true } # bevy = { version = "0.13.0", features = ["dynamic_linking"] } [workspace.dependencies] hello = { path = "crates/hello" } core = { path = "crates/core" } bevy = { version = "0.13.0" }