mirror of
https://github.com/microsoft/edit.git
synced 2025-12-23 07:07:25 +00:00
Improved the Cargo.toml (#43)
This commit is contained in:
parent
723a5bd09c
commit
c13b8ab2f6
1 changed files with 5 additions and 0 deletions
|
|
@ -2,6 +2,10 @@
|
|||
name = "edit"
|
||||
version = "1.0.0"
|
||||
edition = "2024"
|
||||
rust-version = "1.87"
|
||||
repository = "https://github.com/microsoft/edit"
|
||||
homepage = "https://github.com/microsoft/edit"
|
||||
license = "MIT"
|
||||
|
||||
[[bench]]
|
||||
name = "lib"
|
||||
|
|
@ -22,6 +26,7 @@ opt-level = "s" # reduces binary size by ~25%
|
|||
panic = "abort" # reduces binary size by ~50% in combination with -Zbuild-std-features=panic_immediate_abort
|
||||
split-debuginfo = "packed" # generates a seperate *.dwp/*.dSYM so the binary can get stripped
|
||||
strip = "symbols" # See split-debuginfo - allows us to drop the size by ~65%
|
||||
incremental = true # Improves re-compile times
|
||||
|
||||
[profile.bench]
|
||||
codegen-units = 16 # Make compiling criterion faster (16 is the default, but profile.release sets it to 1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue