Skip to content

Commit

Permalink
build: enable lto and strip symbols
Browse files Browse the repository at this point in the history
40% reduction in binary size, why not.
  • Loading branch information
uncenter committed Jul 4, 2024
1 parent 99bfdbe commit 79fc8be
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ strum = { version = "0.26.3", features = ["derive"] }
tar = "0.4.41"
url = "2.5.2"

[profile.release]
strip = true
lto = true

[lints.clippy]
all = "warn"
pedantic = "warn"

0 comments on commit 79fc8be

Please sign in to comment.