Skip to content

Commit d5a6a30

Browse files
committed
feat: reduce size of release build
1 parent c0b76ae commit d5a6a30

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Cargo.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,9 @@ stac-cli = { git = "https://github.com/stac-utils/stac-rs", features = [
3636
stac-duckdb = { git = "https://github.com/stac-utils/stac-rs" }
3737
thiserror = "2.0.11"
3838
tokio = { version = "1.43.0", features = ["rt-multi-thread"] }
39+
40+
[profile.release]
41+
strip = true
42+
opt-level = "z" # TODO compare with "s"
43+
lto = true
44+
codegen-units = 1

0 commit comments

Comments
 (0)