Skip to content

Commit

Permalink
add binary size optimization
Browse files Browse the repository at this point in the history
  • Loading branch information
zekroTJA committed Jul 24, 2024
1 parent 06b89e8 commit 8bc69ee
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,10 @@ tempfile = "3.5.0"
thiserror = "1.0.44"
whattheshell = "1.0.0"
zip = { version = "2.1", default-features = false, features = ["deflate"] }

[profile.release]
strip = true
opt-level = "s"
codegen-units = 1
lto = true
panic = "unwind"

0 comments on commit 8bc69ee

Please sign in to comment.