Skip to content

armgit / kanzo

Public Imported from GitHub
0

Self-hosted, sharable kanban for humans and agents. One 4.7 MB binary, 5 MB of RAM, 10 to 60 tokens per agent reply, starts in 3 ms, zero setup.

Build releases with opt-level s and full LTO

emanuele-em8d2fb17bf162
diff --git a/Cargo.toml b/Cargo.toml
index f5fb979..39a1c28 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -28,7 +28,10 @@ toml = "1.1.8"
[dev-dependencies]
tempfile = "3.27.0"
+# Small and fast: opt-level "s" measured 30% smaller than 3 at the same speed,
+# while "z" was smaller still but twice as slow to render a large board.
[profile.release]
+opt-level = "s"
lto = true
codegen-units = 1
strip = true
@@ -36,4 +39,3 @@ strip = true
# The profile that 'dist' will build with
[profile.dist]
inherits = "release"
-lto = "thin"