enable optimization in every profile

This commit is contained in:
Irevoire 2021-06-08 11:59:44 +02:00
parent d89f5ca48e
commit 86b916b008
No known key found for this signature in database
GPG Key ID: 7A6A970C96104F1B

View File

@ -2,11 +2,14 @@
members = ["milli", "http-ui", "benchmarks", "infos", "helpers", "search"] members = ["milli", "http-ui", "benchmarks", "infos", "helpers", "search"]
default-members = ["milli"] default-members = ["milli"]
[profile.dev]
opt-level = 3
[profile.release] [profile.release]
debug = true debug = true
[profile.bench] [profile.test]
debug = true opt-level = 3
# Make sure that the build scripts and proc-macros are compiled with # Make sure that the build scripts and proc-macros are compiled with
# all the optimizations. It speeds up the zip crate that we use in the build.rs. # all the optimizations. It speeds up the zip crate that we use in the build.rs.