mirror of
https://github.com/kaosat-dev/Blender_bevy_components_workflow.git
synced 2024-12-25 17:14:10 +00:00
1e262cb724
* more documentation work * moved examples to the root of examples * minor tweaks
31 lines
727 B
TOML
31 lines
727 B
TOML
[workspace]
|
|
members = [
|
|
"crates/*",
|
|
"examples/*",
|
|
"testing/bevy_example/",
|
|
]
|
|
resolver = "2"
|
|
|
|
[workspace.lints.clippy]
|
|
type_complexity = "allow"
|
|
doc_markdown = "warn"
|
|
manual_let_else = "warn"
|
|
undocumented_unsafe_blocks = "warn"
|
|
redundant_else = "warn"
|
|
match_same_arms = "warn"
|
|
semicolon_if_nothing_returned = "warn"
|
|
|
|
#### --------------------Dev/ debug-------------------------------
|
|
# 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
|
|
|
|
#### --------------------Production/ release-------------------------------
|
|
[profile.release]
|
|
strip = "debuginfo"
|
|
lto = "thin"
|