Enable link-time optimization for release builds (#177)

This creates faster and smaller binaries, at the cost of longer
build times.
This commit is contained in:
Hugo Locurcio 2019-06-26 15:09:26 +02:00 committed by Josh Holmer
parent c60bd82da7
commit 5b5aeaa683

View file

@ -70,3 +70,5 @@ name = "oxipng"
path = "src/lib.rs"
[profile.dev]
opt-level = 2
[profile.release]
lto = true