Skip to content

Commit

Permalink
ci: cargo config for smaller binary sizes (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
zone117x authored Dec 19, 2022
1 parent f084c5e commit 4e3cdb5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,14 @@ resolver = "2"

[profile.release]
lto = true
incremental = true
strip = true
codegen-units = 1
opt-level = "z"

[profile.release-dev]
inherits = "release"
debug = true
incremental = true

[lib]
crate-type = ["lib", "cdylib"]
Expand Down

0 comments on commit 4e3cdb5

Please sign in to comment.