mirror of
https://github.com/microsoft/edit.git
synced 2026-06-13 21:21:21 -05:00
Improved the Cargo.toml (#43)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user