From ce2eb774b5201c11352ddf038c11c9eb5dc5b244 Mon Sep 17 00:00:00 2001 From: PoiScript Date: Sat, 14 Sep 2019 21:27:04 +0800 Subject: [PATCH] build(demos): enable link time optimization --- orgize-demos/Cargo.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/orgize-demos/Cargo.toml b/orgize-demos/Cargo.toml index 81efc74..c4984f6 100644 --- a/orgize-demos/Cargo.toml +++ b/orgize-demos/Cargo.toml @@ -10,3 +10,6 @@ actix-web = { version = "1.0.7", default-features = false } orgize = { path = "../orgize", features = ["syntect"] } serde = { version = "1.0.100", features = ["derive"] } serde_json = "1.0.40" + +[profile.release] +lto = true