Skip to content

Commit

Permalink
Optmize binary size (#149)
Browse files Browse the repository at this point in the history
  • Loading branch information
mike-lloyd03 authored Nov 22, 2023
1 parent c48ca29 commit 1071fbc
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ hostname = "0.3.*"
log = "0.4.*"
maplit = "1.*"
meval = "0.2.*"
serde = {version = "1.*", features = ["derive"]}
serde = { version = "1.*", features = ["derive"] }
shellexpand = "2.*"
simplelog = "0.12.*"
tokio = "1.*"
toml = "0.4.*"
watchexec = {version="=2.0.0-pre.14", optional = true}
watchexec = { version = "=2.0.0-pre.14", optional = true }

[features]
default = ["scripting", "watch"]
Expand All @@ -48,3 +48,10 @@ dunce = "1.*"

[target.'cfg(unix)'.dependencies]
libc = "0.2.137"

[profile.release]
strip = true
opt-level = "z"
lto = true
codegen-units = 1
panic = "abort"

0 comments on commit 1071fbc

Please sign in to comment.