MeiliSearch/Cargo.toml
Loïc Lecrenier 513a38f07b Remove LTO in release profile
Since we can't enable it in Meilisearch, there is no point in having it
enabled in milli
2022-09-21 10:44:33 +02:00

23 lines
577 B
TOML

[workspace]
resolver = "2"
members = ["milli", "filter-parser", "flatten-serde-json", "json-depth-checker", "benchmarks", "helpers", "cli"]
default-members = ["milli"]
[profile.dev]
opt-level = 3
[profile.release]
debug = true
codegen-units = 1
# 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.
[profile.dev.build-override]
opt-level = 3
[profile.release.build-override]
opt-level = 3
[profile.bench.build-override]
opt-level = 3
[profile.test.build-override]
opt-level = 3