Skip to content

Commit 519ef0c

Browse files
authored
chore: bump release profile to reduce binary size (#100)
1 parent 3db5ea1 commit 519ef0c

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Cargo.toml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,3 +57,11 @@ tempfile = "3.8.1"
5757
[features]
5858
clipboard = ["dep:crossterm", "dep:windows-sys", "dep:libc"]
5959
default = ["clipboard"]
60+
61+
[profile.release]
62+
panic = "abort"
63+
opt-level = "s"
64+
codegen-units = 1
65+
lto = true
66+
debug = "none"
67+
strip = true

0 commit comments

Comments
 (0)