Skip to content

Commit

Permalink
chore: some optimizations
Browse files Browse the repository at this point in the history
  • Loading branch information
rymnc committed Jun 17, 2024
1 parent 578528e commit ed4f626
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,8 @@ members = [
"example"
]
resolver = "2"

[profile.release]
opt-level = "z" # Optimize for size
lto = true # Enable Link Time Optimization
codegen-units = 1 # Reduce codegen units for better optimization
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ deps:
clean:
@cargo clean
example:
@cargo run -p stealth_address_kit_example
@cargo run --release -p stealth_address_kit_example

0 comments on commit ed4f626

Please sign in to comment.