Switching to regex_lite and s optimization level - 2x binary size reduction.

This commit is contained in:
2026-09-10 00:24:07 +02:00
parent 000c8b94b5
commit d2ddceb1a2
4 changed files with 13 additions and 49 deletions
+2 -2
View File
@@ -7,7 +7,7 @@ edition = "2024"
nix = { version = "0.31", features = ["mount"] }
ratatui = { version = "0.30", default-features = false, features = ["termion"] }
ratatui-textarea = { version = "0.9", default-features = false, features = ["termion"] }
regex = "1"
regex-lite = "0.1"
termion = "4"
[profile.release]
@@ -15,5 +15,5 @@ lto = true
debug = false
incremental = false
codegen-units = 1
opt-level = 2
opt-level = "s"
strip = true