Skip to content

Commit

Permalink
Introduce optimized custom profile
Browse files Browse the repository at this point in the history
Signed-off-by: Enrico Ghiorzi <[email protected]>
  • Loading branch information
EnricoGhiorzi committed Dec 3, 2024
1 parent 400f611 commit afe1959
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@ name = "scan"
version = "0.1.0"
edition = "2021"

[profile.optimized]
inherits = "release"
codegen-units = 1
lto = "fat"
panic = "abort"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[workspace]
members = ["scan_core", "scan_fmt_xml"]
Expand Down

0 comments on commit afe1959

Please sign in to comment.