Skip to content

Commit 65fdff7

Browse files
committed
Reduce binary size
1 parent 1753b84 commit 65fdff7

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
@@ -3,6 +3,12 @@ name = "home-watcher"
33
version = "0.1.0"
44
edition = "2021"
55

6+
[profile.release]
7+
strip = true # Automatically strip symbols from the binary.
8+
opt-level = "z" # Optimize for size.
9+
lto = true
10+
codegen-units = 1
11+
612
[dependencies]
713
clap = { version = "4.5.27", features = ["derive", "string"] }
814
rusqlite = { version = "0.33.0", features = ["bundled"] }

0 commit comments

Comments
 (0)