Initial commit: waste-rs mesh daemon, relay, and proto crates

Full Rust implementation with Ed25519 identity, X25519 ECDH handshake,
ChaCha20-Poly1305 encrypted peer connections, IPC server, and relay server.
Builds on Windows (MSVC), Linux, and macOS.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Fredrik Johansson
2026-06-21 16:32:36 +02:00
commit d2c06680f7
21 changed files with 2797 additions and 0 deletions

25
daemon/Cargo.toml Normal file
View File

@@ -0,0 +1,25 @@
[package]
name = "waste-daemon"
version = "0.1.0"
edition = "2021"
[[bin]]
name = "waste-daemon"
path = "src/main.rs"
[dependencies]
proto = { path = "../proto" }
tokio = { workspace = true }
tokio-util = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }
anyhow = { workspace = true }
tracing = { workspace = true }
tracing-subscriber = { workspace = true }
ring = { workspace = true }
base64 = { workspace = true }
rand = { workspace = true }
bytes = { workspace = true }
clap = { workspace = true }
uuid = { workspace = true }
chrono = { workspace = true }