Bring back compiler optimizations
parent
877f758172
commit
2e6dde133b
|
@ -7,6 +7,12 @@ edition = "2021"
|
||||||
name = "spoticord"
|
name = "spoticord"
|
||||||
path = "src/main.rs"
|
path = "src/main.rs"
|
||||||
|
|
||||||
|
[profile.release]
|
||||||
|
lto = true
|
||||||
|
codegen-units = 1
|
||||||
|
strip = true
|
||||||
|
opt-level = "z"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
chrono = "0.4.22"
|
chrono = "0.4.22"
|
||||||
dotenv = "0.15.0"
|
dotenv = "0.15.0"
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
pub const VERSION: &str = env!("CARGO_PKG_VERSION");
|
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";
|
// pub const MOTD: &str = "some good 'ol music";
|
||||||
|
|
Loading…
Reference in New Issue