[profile.release] opt-level="s" + fat LTO + one codegen unit + strip cuts the Linux binary from ~38M to ~19M (50%). panic stays "unwind" deliberately: the scan runs many miners on tokio tasks and the wx dispatch relies on unwinding, so one miner's panic must never abort the whole app. Verified: stripped binary, SELFTEST PASS, 99 tests, clippy clean. Adds code-review-report.md: the ship verdict and a full accounting of the five recursive review rounds (all confirmed critical/high fixed; remaining items are documented perf/dev-CLI tradeoffs). Badges refreshed (tests 99, coverage ~35%). This completes the round-18 marathon: all 12 queued items plus Round C G3 (LuxOS named presets) and G7 (per-board V/F read side), CI hardening (verify/release split, clippy gate, audit, badges), README + docs, and the recursive multi-agent code review. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Djv3oncM4LxTS5tb61Ako6
34 lines
901 B
TOML
34 lines
901 B
TOML
[workspace]
|
|
resolver = "2"
|
|
members = [
|
|
"crates/alkane-core",
|
|
"crates/alkane-discovery",
|
|
"crates/alkane-access",
|
|
"crates/alkane-flash",
|
|
"crates/alkane-artifacts",
|
|
"crates/alkane-cli",
|
|
"crates/alkane-gui",
|
|
]
|
|
|
|
[workspace.package]
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
license = "MIT OR Apache-2.0"
|
|
|
|
[workspace.dependencies]
|
|
thiserror = "2"
|
|
serde = { version = "1", features = ["derive"] }
|
|
sha2 = "0.10"
|
|
|
|
# Release binary: small, self-contained, and fast enough for a fleet GUI whose
|
|
# hot path is network I/O, not CPU (round 18 #12). opt-level "s" + fat LTO +
|
|
# one codegen unit + symbol stripping cut the binary substantially. panic stays
|
|
# "unwind" on purpose: the scan runs many miners on tokio tasks and the wx event
|
|
# dispatch relies on unwinding so one miner's panic never aborts the whole app.
|
|
[profile.release]
|
|
opt-level = "s"
|
|
lto = "fat"
|
|
codegen-units = 1
|
|
strip = true
|
|
|