Blender_bevy_components_wor.../Cargo.toml
kaosat.dev b756819088 chore(Blenvy): more general cleanups & doc updates
* also more work done on example upgrades
2024-07-16 23:51:49 +02:00

31 lines
734 B
TOML

[workspace]
members = [
"crates/*",
"examples/blenvy/*",
"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"