Improved the Cargo.toml (#43)

This commit is contained in:
Violet Hansen 2025-05-21 01:26:58 +03:00 committed by GitHub
parent 723a5bd09c
commit c13b8ab2f6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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)