Skip to content

Commit

Permalink
Release binary size optimizations
Browse files Browse the repository at this point in the history
  • Loading branch information
mtimkovich authored Jul 14, 2023
1 parent 921fba7 commit 7027a2f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,8 @@ predicates = "1.0.5"
[profile.dev]
opt-level = 0 # Controls the --opt-level the compiler builds with
debug = true # Controls whether the compiler passes `-g`

[profile.release]
lto = true
strip = true
codegen-units = 1

0 comments on commit 7027a2f

Please sign in to comment.