chore: override release for smaller binaries
All checks were successful
continuous-integration/drone/push Build is passing

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
Kasper Juul Hermansen 2024-12-22 15:12:40 +01:00
parent 674266664d
commit 88b602a124
3 changed files with 11 additions and 1 deletions

2
Cargo.lock generated
View File

@ -197,7 +197,7 @@ checksum = "d75a2a4b1b190afb6f5425f10f6a8f959d2ea0b9c2b1d79553551850539e4674"
[[package]] [[package]]
name = "kignore" name = "kignore"
version = "0.3.0" version = "0.4.0"
dependencies = [ dependencies = [
"clap", "clap",
"console", "console",

View File

@ -4,3 +4,12 @@ resolver = "2"
[workspace.package] [workspace.package]
version = "0.4.0" version = "0.4.0"
[profile.release]
opt-level = "z"
lto = true
codegen-units = 1
debug = false
panic = "abort"
overflow-checks = false
strip = true

View File

@ -15,6 +15,7 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies] [dependencies]
clap = { version = "4.5.4", features = ["env", "unicode", "string"] } clap = { version = "4.5.4", features = ["env", "unicode", "string"] }
console = "0.15.8" console = "0.15.8"