Skip to content

Commit

Permalink
Smaller binary (#39)
Browse files Browse the repository at this point in the history
* Bump dependencies

* optimize for binary size

* Remove redundant workflow
  • Loading branch information
brunojppb authored Aug 10, 2024
1 parent bb9e8ff commit 159517a
Show file tree
Hide file tree
Showing 3 changed files with 72 additions and 50 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: "CI Checks"
on:
push:
branches:
- main
pull_request:

jobs:
Expand Down
114 changes: 65 additions & 49 deletions Cargo.lock

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

6 changes: 5 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,8 @@ wiremock = "0.6"


[profile.release]
strip = true # Automatically strip symbols from the binary to reduce binary size
# For more details on smaller binary size, see:
# https://github.com/johnthagen/min-sized-rust/blob/094d314f0c28f7e4bffeb0b0258f71cb303bd91a/README.md
strip = true # Automatically strip symbols from the binary to reduce binary size
opt-level = "z" # Optimize for size.
lto = true

0 comments on commit 159517a

Please sign in to comment.