From 2e6dde133bcaf050e84cd85981f0ecefc83ddf45 Mon Sep 17 00:00:00 2001 From: DaXcess Date: Sat, 5 Nov 2022 15:55:03 +0100 Subject: [PATCH] Bring back compiler optimizations --- Cargo.toml | 6 ++++++ src/consts.rs | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 3c11452..81067b6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,6 +7,12 @@ edition = "2021" name = "spoticord" path = "src/main.rs" +[profile.release] +lto = true +codegen-units = 1 +strip = true +opt-level = "z" + [dependencies] chrono = "0.4.22" dotenv = "0.15.0" diff --git a/src/consts.rs b/src/consts.rs index 519980d..920f012 100644 --- a/src/consts.rs +++ b/src/consts.rs @@ -1,3 +1,3 @@ pub const VERSION: &str = env!("CARGO_PKG_VERSION"); -pub const MOTD: &str = "UNSTABLE BETA (v2)"; +pub const MOTD: &str = "OPEN BETA (v2)"; // pub const MOTD: &str = "some good 'ol music";