chore: rename quicproquo → quicprochat in docs, Docker, CI, and packaging
Rename all project references from quicproquo/qpq to quicprochat/qpc across documentation, Docker configuration, CI workflows, packaging scripts, operational configs, and build tooling. - Docker: crate paths, binary names, user/group, data dirs, env vars - CI: workflow crate references, binary names, artifact names - Docs: all markdown files under docs/, SDK READMEs, book.toml - Packaging: OpenWrt Makefile, init script, UCI config (file renames) - Scripts: justfile, dev-shell, screenshot, cross-compile, ai_team - Operations: Prometheus config, alert rules, Grafana dashboard - Config: .env.example (QPQ_* → QPC_*), CODEOWNERS paths - Top-level: README, CONTRIBUTING, ROADMAP, CLAUDE.md
This commit is contained in:
@@ -22,15 +22,15 @@ This compiles all nine crates in the workspace:
|
||||
|
||||
| Crate | Type | Purpose |
|
||||
|---|---|---|
|
||||
| `quicproquo-core` | library | Crypto primitives, MLS `GroupMember` state machine, hybrid KEM |
|
||||
| `quicproquo-proto` | library | Protobuf schemas (prost), generated types, method ID constants |
|
||||
| `quicproquo-kt` | library | Key Transparency Merkle log |
|
||||
| `quicproquo-plugin-api` | library | `#![no_std]` C-ABI plugin interface (`HookVTable`) |
|
||||
| `quicproquo-rpc` | library | QUIC RPC framing, server dispatcher, client, Tower middleware |
|
||||
| `quicproquo-sdk` | library | `QpqClient`, event broadcast, `ConversationStore` |
|
||||
| `quicproquo-server` | binary | Unified Authentication + Delivery Service (`qpq-server`) |
|
||||
| `quicproquo-client` | binary | CLI client (`qpq`) with REPL and subcommands |
|
||||
| `quicproquo-p2p` | library | iroh P2P layer (compiled when the `mesh` feature is enabled) |
|
||||
| `quicprochat-core` | library | Crypto primitives, MLS `GroupMember` state machine, hybrid KEM |
|
||||
| `quicprochat-proto` | library | Protobuf schemas (prost), generated types, method ID constants |
|
||||
| `quicprochat-kt` | library | Key Transparency Merkle log |
|
||||
| `quicprochat-plugin-api` | library | `#![no_std]` C-ABI plugin interface (`HookVTable`) |
|
||||
| `quicprochat-rpc` | library | QUIC RPC framing, server dispatcher, client, Tower middleware |
|
||||
| `quicprochat-sdk` | library | `QpqClient`, event broadcast, `ConversationStore` |
|
||||
| `quicprochat-server` | binary | Unified Authentication + Delivery Service (`qpc-server`) |
|
||||
| `quicprochat-client` | binary | CLI client (`qpc`) with REPL and subcommands |
|
||||
| `quicprochat-p2p` | library | iroh P2P layer (compiled when the `mesh` feature is enabled) |
|
||||
|
||||
For a release build with LTO, symbol stripping, and single codegen unit:
|
||||
|
||||
@@ -61,11 +61,11 @@ A `justfile` at the repository root provides shortcuts for common tasks:
|
||||
| `just lint` | `cargo clippy --workspace -- -D warnings` | Check for warnings (CI-strict) |
|
||||
| `just fmt` | `cargo fmt --all -- --check` | Check formatting |
|
||||
| `just fmt-fix` | `cargo fmt --all` | Auto-format |
|
||||
| `just proto` | `cargo build -p quicproquo-proto` | Trigger Protobuf codegen |
|
||||
| `just rpc` | `cargo build -p quicproquo-rpc` | Build RPC framework only |
|
||||
| `just sdk` | `cargo build -p quicproquo-sdk` | Build client SDK only |
|
||||
| `just server` | `cargo build -p quicproquo-server` | Build server only |
|
||||
| `just client` | `cargo build -p quicproquo-client` | Build CLI client only |
|
||||
| `just proto` | `cargo build -p quicprochat-proto` | Trigger Protobuf codegen |
|
||||
| `just rpc` | `cargo build -p quicprochat-rpc` | Build RPC framework only |
|
||||
| `just sdk` | `cargo build -p quicprochat-sdk` | Build client SDK only |
|
||||
| `just server` | `cargo build -p quicprochat-server` | Build server only |
|
||||
| `just client` | `cargo build -p quicprochat-client` | Build CLI client only |
|
||||
| `just clean` | `cargo clean` | Remove build artifacts |
|
||||
|
||||
---
|
||||
@@ -88,16 +88,16 @@ cargo test --workspace -- --test-threads 1
|
||||
To run tests for a single crate:
|
||||
|
||||
```bash
|
||||
cargo test -p quicproquo-core
|
||||
cargo test -p quicproquo-server
|
||||
cargo test -p quicproquo-rpc
|
||||
cargo test -p quicprochat-core
|
||||
cargo test -p quicprochat-server
|
||||
cargo test -p quicprochat-rpc
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## Protobuf code generation
|
||||
|
||||
The `quicproquo-proto` crate does not contain hand-written Rust types for wire messages. Instead, its `build.rs` script uses `prost-build` to generate Rust source from the `.proto` schema files in `proto/qpq/v1/`.
|
||||
The `quicprochat-proto` crate does not contain hand-written Rust types for wire messages. Instead, its `build.rs` script uses `prost-build` to generate Rust source from the `.proto` schema files in `proto/qpc/v1/`.
|
||||
|
||||
### How it works
|
||||
|
||||
@@ -110,7 +110,7 @@ The `quicproquo-proto` crate does not contain hand-written Rust types for wire m
|
||||
|
||||
The `build.rs` script emits `cargo:rerun-if-changed` directives for each `.proto` file. Modifying a schema triggers automatic re-generation on the next `cargo build`.
|
||||
|
||||
### Design constraints of `quicproquo-proto`
|
||||
### Design constraints of `quicprochat-proto`
|
||||
|
||||
The proto crate is intentionally restricted:
|
||||
|
||||
@@ -141,7 +141,7 @@ xcode-select --install
|
||||
Run E2E tests with `--test-threads 1` to serialise the tests and avoid bind conflicts on the shared test port:
|
||||
|
||||
```bash
|
||||
cargo test -p quicproquo-client --test e2e -- --test-threads 1
|
||||
cargo test -p quicprochat-client --test e2e -- --test-threads 1
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user