refactor: workspace scaffolding — sunbeam-sdk + sunbeam binary crate

Convert the single binary crate into a Cargo workspace with two members:
sunbeam-sdk (library) and sunbeam (thin binary). Moves build.rs to the
SDK with adjusted .git/HEAD path for the nested layout.
This commit is contained in:
2026-03-21 14:34:15 +00:00
parent b6daf608af
commit 2ffedb95cb
4 changed files with 218 additions and 63 deletions

18
sunbeam/Cargo.toml Normal file
View File

@@ -0,0 +1,18 @@
[package]
name = "sunbeam"
version = "0.1.0"
edition = "2024"
description = "Sunbeam local dev stack manager"
[[bin]]
name = "sunbeam"
path = "src/main.rs"
[dependencies]
sunbeam-sdk = { path = "../sunbeam-sdk", features = ["cli"] }
tokio = { version = "1", features = ["full"] }
clap = { version = "4", features = ["derive"] }
chrono = "0.4"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
rustls = { version = "0.23", features = ["ring"] }