2024-02-07 07:05:55 +00:00
|
|
|
[workspace]
|
|
|
|
members = ["crates/*"]
|
|
|
|
resolver = "2"
|
2024-01-09 20:12:38 +00:00
|
|
|
|
2024-02-07 07:05:55 +00:00
|
|
|
[workspace.lints.rust]
|
2024-01-09 20:12:38 +00:00
|
|
|
missing_docs = "warn"
|
|
|
|
|
2024-02-07 07:05:55 +00:00
|
|
|
[workspace.lints.clippy]
|
2024-03-02 23:40:47 +00:00
|
|
|
type_complexity = "allow"
|
2024-01-09 20:12:38 +00:00
|
|
|
missing_docs_in_private_items = "warn"
|
|
|
|
unwrap_in_result = "warn"
|
|
|
|
unwrap_used = "warn"
|
|
|
|
nursery = "warn"
|
2024-02-14 00:49:11 +00:00
|
|
|
|
|
|
|
# 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
|