From 6c768f50b4aabcda1af9904bd6c375bd04a813f0 Mon Sep 17 00:00:00 2001 From: XX Date: Tue, 19 Feb 2019 17:14:05 +0300 Subject: [PATCH] Add release profile --- Cargo.toml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 69cf678..a63f932 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,4 +17,8 @@ chrono = "0.4" [target.'cfg(windows)'.dependencies] user32-sys = "0.2" kernel32-sys = "0.2" -winapi = { version = "0.3", features = ["winuser"] } \ No newline at end of file +winapi = { version = "0.3", features = ["winuser"] } + +[profile.release] +lto = true +opt-level = 3 \ No newline at end of file