feat(net): scaffold sunbeam-net crate with foundations

Add the workspace crate that will host a pure Rust Headscale/Tailscale-
compatible VPN client. This first commit lands the crate skeleton plus
the leaf modules that the rest of the stack builds on:

- error: thiserror Error enum + Result alias
- config: VpnConfig
- keys: Curve25519 node/disco/wg key types with on-disk persistence
- proto/types: PascalCase serde wire types matching Tailscale's JSON
This commit is contained in:
2026-04-07 13:40:27 +01:00
parent cc2c3f7a3b
commit 13539e6e85
9 changed files with 1130 additions and 30 deletions

View File

@@ -11,7 +11,7 @@ name = "sunbeam"
path = "src/main.rs"
[workspace]
members = ["sunbeam-sdk"]
members = ["sunbeam-sdk", "sunbeam-net"]
resolver = "3"
[dependencies]