build(demos): enable link time optimization

This commit is contained in:
PoiScript 2019-09-14 21:27:04 +08:00
parent 6291a755f7
commit ce2eb774b5

View file

@ -10,3 +10,6 @@ actix-web = { version = "1.0.7", default-features = false }
orgize = { path = "../orgize", features = ["syntect"] } orgize = { path = "../orgize", features = ["syntect"] }
serde = { version = "1.0.100", features = ["derive"] } serde = { version = "1.0.100", features = ["derive"] }
serde_json = "1.0.40" serde_json = "1.0.40"
[profile.release]
lto = true