enable lto and codegen-units optimizations

This commit is contained in:
Denis-Cosmin Nutiu 2024-12-14 22:56:07 +02:00
parent 99fa3fb873
commit 9e6a5f67ff

View file

@ -6,6 +6,10 @@ edition = "2021"
[lints.rust] [lints.rust]
dead_code = "allow" dead_code = "allow"
[profile.release]
lto = true
codegen-units = 1
[dependencies] [dependencies]
log = "0.4.22" log = "0.4.22"
env_logger = "0.11.5" env_logger = "0.11.5"