build: use profiles from template
This commit is contained in:
parent
430308a2de
commit
7cd5d058e4
1 changed files with 16 additions and 0 deletions
16
Cargo.toml
16
Cargo.toml
|
|
@ -13,3 +13,19 @@ rfd = "0.17.2"
|
||||||
|
|
||||||
[dependencies.iced]
|
[dependencies.iced]
|
||||||
version = "0.14.0"
|
version = "0.14.0"
|
||||||
|
|
||||||
|
[profile.debug]
|
||||||
|
debug = true
|
||||||
|
strip = "none"
|
||||||
|
debug-assertions = true
|
||||||
|
overflow-checks = true
|
||||||
|
|
||||||
|
[profile.dev]
|
||||||
|
debug = false
|
||||||
|
debug-assertions = false
|
||||||
|
overflow-checks = false
|
||||||
|
|
||||||
|
[profile.release]
|
||||||
|
codegen-units = 1
|
||||||
|
lto = "fat"
|
||||||
|
strip = "symbols"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue