Parse and verify the fixed-order .afw container, add the CV1835 board module and an SSH transport with the stock update-daemon root stage, a read-only preflight, a held p1 backup, whole-partition read-back, live verification and network restore. Add the headless afw CLI and offline fixtures for good, tampered, wrong-board, truncated, traversal and oversize bundles. Co-Authored-By: DeepSeek Harness <noreply@deepseek.com>
35 lines
904 B
TOML
35 lines
904 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"
|
|
|
|
[workspace.dependencies]
|
|
thiserror = "2"
|
|
serde = { version = "1", features = ["derive"] }
|
|
sha2 = "0.10"
|
|
serde_json = "1"
|
|
|
|
# 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
|
|
|