Scaffold: workspace crates + implementation plan draft
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
/target
|
||||
Cargo.lock
|
||||
.cargo/config.toml
|
||||
+20
@@ -0,0 +1,20 @@
|
||||
[workspace]
|
||||
resolver = "2"
|
||||
members = [
|
||||
"crates/alkane-core",
|
||||
"crates/alkane-discovery",
|
||||
"crates/alkane-access",
|
||||
"crates/alkane-flash",
|
||||
"crates/alkane-artifacts",
|
||||
"crates/alkane-cli",
|
||||
]
|
||||
|
||||
[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"
|
||||
@@ -0,0 +1,21 @@
|
||||
# alkane-toolkit
|
||||
|
||||
Cross-platform desktop toolkit (Rust core, native GUI) to install **stock** or
|
||||
**alkaneOS** firmware on ASIC miner control boards, whatever they currently run
|
||||
(stock, Vnish/AnthillOS, Braiins OS+, LuxOS, ePIC, BixBit, WardenOS).
|
||||
|
||||
Sibling to [alkane-sdk](https://gitea.bluefla.re/blueflare/alkane-sdk): the SDK
|
||||
owns board knowledge and build outputs; this toolkit is the orchestration
|
||||
engine and operator UI that executes its install recipes safely.
|
||||
|
||||
## Status
|
||||
|
||||
In planning. See `docs/IMPLEMENTATION-PLAN.md`.
|
||||
|
||||
## Hard rules (from alkane-sdk `docs/install-methods.md`, encoded in code)
|
||||
|
||||
1. Never write the bootloader/secure region.
|
||||
2. Verify on a channel the installer does not control.
|
||||
3. Reboot is root-only; a dropped SSH connection can be success.
|
||||
4. A packer is per board; never reuse across boards.
|
||||
5. Boot-switch handling is an explicit, verified step.
|
||||
@@ -0,0 +1,8 @@
|
||||
[package]
|
||||
name = "alkane-access"
|
||||
version.workspace = true
|
||||
edition.workspace = true
|
||||
license.workspace = true
|
||||
|
||||
[dependencies]
|
||||
alkane-core = { path = "../alkane-core" }
|
||||
@@ -0,0 +1 @@
|
||||
// alkane-access
|
||||
@@ -0,0 +1,8 @@
|
||||
[package]
|
||||
name = "alkane-artifacts"
|
||||
version.workspace = true
|
||||
edition.workspace = true
|
||||
license.workspace = true
|
||||
|
||||
[dependencies]
|
||||
alkane-core = { path = "../alkane-core" }
|
||||
@@ -0,0 +1 @@
|
||||
// alkane-artifacts
|
||||
@@ -0,0 +1,8 @@
|
||||
[package]
|
||||
name = "alkane-cli"
|
||||
version.workspace = true
|
||||
edition.workspace = true
|
||||
license.workspace = true
|
||||
|
||||
[dependencies]
|
||||
alkane-core = { path = "../alkane-core" }
|
||||
@@ -0,0 +1,2 @@
|
||||
//! Headless driver over the same engine the GUI uses.
|
||||
fn main() { println!("alkane-toolkit-cli: scaffold"); }
|
||||
@@ -0,0 +1,9 @@
|
||||
[package]
|
||||
name = "alkane-core"
|
||||
version.workspace = true
|
||||
edition.workspace = true
|
||||
license.workspace = true
|
||||
|
||||
[dependencies]
|
||||
thiserror.workspace = true
|
||||
serde.workspace = true
|
||||
@@ -0,0 +1 @@
|
||||
// alkane-core
|
||||
@@ -0,0 +1,8 @@
|
||||
[package]
|
||||
name = "alkane-discovery"
|
||||
version.workspace = true
|
||||
edition.workspace = true
|
||||
license.workspace = true
|
||||
|
||||
[dependencies]
|
||||
alkane-core = { path = "../alkane-core" }
|
||||
@@ -0,0 +1 @@
|
||||
// alkane-discovery
|
||||
@@ -0,0 +1,8 @@
|
||||
[package]
|
||||
name = "alkane-flash"
|
||||
version.workspace = true
|
||||
edition.workspace = true
|
||||
license.workspace = true
|
||||
|
||||
[dependencies]
|
||||
alkane-core = { path = "../alkane-core" }
|
||||
@@ -0,0 +1 @@
|
||||
// alkane-flash
|
||||
Reference in New Issue
Block a user