Skip to content

Commit 10b31dc

Browse files
committed
chore: optimization settings
1 parent 7fc4ef5 commit 10b31dc

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Cargo.toml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,14 @@ crate-type = ["cdylib"]
1414

1515
[profile.release]
1616
lto = true
17+
# This removes more dead code
18+
codegen-units = 1
19+
# Optimize for size
20+
opt-level = "s"
21+
# Optimize for performance, this is default so you don't need to specify it
22+
# opt-level = "z"
23+
# Strip debug symbols
24+
strip = "symbols"
1725

1826
[dependencies]
1927
serde = "1"

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy