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:
38
.vscode/tasks.json
vendored
Normal file
38
.vscode/tasks.json
vendored
Normal file
@@ -0,0 +1,38 @@
|
||||
{
|
||||
"version": "2.0.0",
|
||||
"tasks": [
|
||||
{
|
||||
"label": "cargo build (all)",
|
||||
"type": "shell",
|
||||
"command": "cargo build --workspace",
|
||||
"group": { "kind": "build", "isDefault": true },
|
||||
"problemMatcher": ["$rustc"],
|
||||
"presentation": { "reveal": "always", "panel": "shared" }
|
||||
},
|
||||
{
|
||||
"label": "cargo clippy",
|
||||
"type": "shell",
|
||||
"command": "cargo clippy --workspace -- -D warnings",
|
||||
"group": "test",
|
||||
"problemMatcher": ["$rustc"]
|
||||
},
|
||||
{
|
||||
"label": "run relay (local)",
|
||||
"type": "shell",
|
||||
"command": "RUST_LOG=debug cargo run --bin waste-relay -- --bind 127.0.0.1:17339",
|
||||
"presentation": { "reveal": "always", "panel": "dedicated", "group": "runtime" }
|
||||
},
|
||||
{
|
||||
"label": "run daemon (peer A)",
|
||||
"type": "shell",
|
||||
"command": "RUST_LOG=debug cargo run --bin waste-daemon -- --alias peer-a --peer-port 17338 --ipc-port 17337 --data-dir /tmp/waste-a",
|
||||
"presentation": { "reveal": "always", "panel": "dedicated", "group": "runtime" }
|
||||
},
|
||||
{
|
||||
"label": "run daemon (peer B)",
|
||||
"type": "shell",
|
||||
"command": "RUST_LOG=debug cargo run --bin waste-daemon -- --alias peer-b --peer-port 17340 --ipc-port 17341 --data-dir /tmp/waste-b",
|
||||
"presentation": { "reveal": "always", "panel": "dedicated", "group": "runtime" }
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user