Optimize a few performance sensitive dependencies on debug builds

This commit is contained in:
Loïc Lecrenier 2022-08-10 13:54:06 +02:00 committed by Loïc Lecrenier
parent 5cfb5df31e
commit 98fc093823

View File

@ -4,12 +4,17 @@ members = ["milli", "filter-parser", "flatten-serde-json", "json-depth-checker",
default-members = ["milli"] default-members = ["milli"]
[profile.dev] [profile.dev]
opt-level = 0 opt-level = 0
[profile.release] [profile.release]
debug = true debug = true
codegen-units = 1 codegen-units = 1
[profile.dev.package.grenad]
opt-level = 3
[profile.dev.package.roaring]
opt-level = 3
[profile.dev.package.lindera-ipadic-builder] [profile.dev.package.lindera-ipadic-builder]
opt-level = 3 opt-level = 3
[profile.dev.package.encoding] [profile.dev.package.encoding]