summaryrefslogtreecommitdiffstats
path: root/Cargo.toml
diff options
context:
space:
mode:
authora-kenji <aks.kenji@protonmail.com>2022-05-22 12:48:34 +0200
committerGitHub <noreply@github.com>2022-05-22 12:48:34 +0200
commitd26773070449504177ad1cfd94f0fcd120e4e9d8 (patch)
treedc6b4b7925070defe1ad3f23dce62ef840550222 /Cargo.toml
parentaff1214d1ee078714b694ff3e845d2365f59cf35 (diff)
build: strip debug symbols (#1177)
* build: strip debug symbols Stripping the symbols for the release build drops binary size currently by 20% and the plugin binaries by up to 50%. Alternative: Keep the debug symbols also on releases * bump(rust): `1.58.0` -> `1.59.0` * chore: bump MSRV `1.56` -> `1.59` Needed for cargos strip-debug feature
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml3
1 files changed, 2 insertions, 1 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 030cc4744..b07b89e9a 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -8,7 +8,7 @@ license = "MIT"
repository = "https://github.com/zellij-org/zellij"
homepage = "https://zellij.dev"
include = ["src/**/*", "assets/plugins/*", "assets/layouts/*", "assets/config/*", "LICENSE.md", "README.md", "!**/*_test.*", "!**/tests/**/*"]
-rust-version = "1.56"
+rust-version = "1.59"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
@@ -42,6 +42,7 @@ members = [
[profile.release]
lto = true
+strip = true
[package.metadata.deb]
depends = "$auto"