chore(project): add cargo profiles

This commit is contained in:
Orhun Parmaksız 2022-02-07 19:37:22 +03:00
parent 2ae4bdfbdd
commit bcc1f268a0
No known key found for this signature in database
GPG key ID: F83424824B3E4B90

View file

@ -5,3 +5,23 @@ members = [
"systeroid-tui",
"systeroid"
]
[profile.dev]
opt-level = 0
debug = true
panic = "abort"
[profile.test]
opt-level = 0
debug = true
[profile.release]
opt-level = 3
debug = false
panic = "unwind"
lto = true
codegen-units = 1
[profile.bench]
opt-level = 3
debug = false