Skip to content

Commit 944a713

Browse files
committed
optimize build artifact size
1 parent 756ebf4 commit 944a713

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Cargo.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,10 @@ regex = "1.11.1"
1818
serde = { version = "1", features = ["derive"] }
1919
yansi = "1.0.1"
2020
clap-markdown = { version = "0.1.5", optional = true }
21+
22+
[profile.release]
23+
strip = true
24+
opt-level = "s"
25+
codegen-units = 1
26+
lto = true
27+
panic = "unwind"

0 commit comments

Comments
 (0)