diff --git a/Cargo.toml b/Cargo.toml index 3cbdcc1..7e18851 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -22,4 +22,11 @@ syntect = "5.0.0" tera = "1.19.0" thiserror = "1.0.40" tokio = "1" -url = "2.4.0" \ No newline at end of file +url = "2.4.0" + +[profile.release] +# settings that are mainly intended to reduce the size of the release binary while keeping the release binary tuned +# for performance. these alone reduce the binary size by over 50%, which is good enough in my opinion ... +strip = true +lto = true +codegen-units = 1