From 790dbbfe55d45d2ecb3ed9efe684a4e6153b4ee6 Mon Sep 17 00:00:00 2001 From: Christine Dodrill Date: Wed, 4 Nov 2020 15:36:13 -0500 Subject: [PATCH] lto for teh meme --- backend/Cargo.toml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/backend/Cargo.toml b/backend/Cargo.toml index de93b34..41f0834 100644 --- a/backend/Cargo.toml +++ b/backend/Cargo.toml @@ -39,4 +39,7 @@ features = ["sqlite", "r2d2", "uuidv07", "chrono"] [dependencies.rocket_contrib] version = "0.4" default-features = false -features = ["json", "diesel_sqlite_pool", "uuid", "helmet"] \ No newline at end of file +features = ["json", "diesel_sqlite_pool", "uuid", "helmet"] + +[profile.release] +lto = true \ No newline at end of file