[workspace] F00: empty crates, licences, Nix flake, hook, CI

This commit is contained in:
2026-11-02 00:51:46 +01:00
parent 43f6f9b70c
commit e91356e1bc
20 changed files with 1167 additions and 3 deletions
+11 -3
View File
@@ -16,6 +16,14 @@ Read `docs/PROTOCOL.md` for exactly what the relay sees and what it does not pro
`docs/VERIFY.md` for how to check every claim yourself — reproducible builds, signed SHA-256
footprints, key fingerprints and a wire inspector.
**Status:** Phase 0 — protocol and threat model under review; no code yet.
**Licence:** relay under AGPL-3.0, so a modified public relay stays open; client and protocol crates
under Apache-2.0 OR MIT, so any app can embed them.
**Status:** Phase 0 — protocol and threat model under review. The workspace exists with three empty
crates and a placeholder relay binary that only prints its version; no protocol or relay code yet.
**Licence:** relay under AGPL-3.0 (`LICENSE-AGPL`), so a modified public relay stays open; client and
protocol crates under Apache-2.0 OR MIT (`LICENSE-APACHE`, `LICENSE-MIT`), so any app can embed them.
## Building
```bash
nix build # reproducible build (Linux); `nix build --rebuild` checks it
cargo test --workspace # without Nix
git config core.hooksPath .githooks # once per clone: pre-commit size and build-output check
```