Skip to content

Commit

Permalink
Merge pull request #698 from getlipa/feature/reduce-binary-sizes
Browse files Browse the repository at this point in the history
Reduce binary sizes
  • Loading branch information
danielgranhao authored Oct 16, 2023
2 parents 2ac9063 + 7601eab commit 7918f9a
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -70,14 +70,9 @@ strip-ansi-escapes = "0.2.0"
camino = "1.1.6"
uniffi_bindgen = "0.24.0"

# Enable debug symbols for our and Breez crates, but not others.
# Use some of the binary size reduction strategies from https://github.com/johnthagen/min-sized-rust
[profile.release]
debug = 1
[profile.release.package."*"]
debug = 0
[profile.release.package.chameleon]
debug = 1
[profile.release.package.honey-badger]
debug = 1
[profile.release.package.breez-sdk-core]
debug = 1
strip = true
opt-level = "z"
lto = true
codegen-units = 1

0 comments on commit 7918f9a

Please sign in to comment.