chore: rename project quicnprotochat -> quicproquo (binaries: qpq)
Rename the entire workspace:
- Crate packages: quicnprotochat-{core,proto,server,client,gui,p2p,mobile} -> quicproquo-*
- Binary names: quicnprotochat -> qpq, quicnprotochat-server -> qpq-server,
quicnprotochat-gui -> qpq-gui
- Default files: *-state.bin -> qpq-state.bin, *-server.toml -> qpq-server.toml,
*.db -> qpq.db
- Environment variable prefix: QUICNPROTOCHAT_* -> QPQ_*
- App identifier: chat.quicnproto.gui -> chat.quicproquo.gui
- Proto package: quicnprotochat.bench -> quicproquo.bench
- All documentation, Docker, CI, and script references updated
HKDF domain-separation strings and P2P ALPN remain unchanged for
backward compatibility with existing encrypted state and wire protocol.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# Coding Standards
|
||||
|
||||
This page defines the engineering standards for quicnprotochat. These are
|
||||
This page defines the engineering standards for quicproquo. These are
|
||||
non-negotiable -- all code merged into the repository must conform to these
|
||||
rules. The standards exist to ensure that every milestone produces
|
||||
production-ready, auditable, and secure code.
|
||||
@@ -86,9 +86,9 @@ pub fn create_group(
|
||||
|
||||
- No `unwrap()` or `expect()` on cryptographic operations. All crypto errors
|
||||
must be typed and propagated.
|
||||
- Use `thiserror` for library error types (`quicnprotochat-core`,
|
||||
`quicnprotochat-proto`) and `anyhow` for application-level error handling
|
||||
(`quicnprotochat-server`, `quicnprotochat-client`).
|
||||
- Use `thiserror` for library error types (`quicproquo-core`,
|
||||
`quicproquo-proto`) and `anyhow` for application-level error handling
|
||||
(`quicproquo-server`, `quicproquo-client`).
|
||||
- `unwrap()` is acceptable only in:
|
||||
- Test code.
|
||||
- Cases where the invariant is provably guaranteed by the type system
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# Testing Strategy
|
||||
|
||||
This page describes the testing structure, conventions, and current coverage for
|
||||
quicnprotochat. All tests run with `cargo test --workspace` and must pass before
|
||||
quicproquo. All tests run with `cargo test --workspace` and must pass before
|
||||
any code is merged.
|
||||
|
||||
For the coding standards that tests must follow, see
|
||||
@@ -17,7 +17,7 @@ Unit tests live alongside the code they test, in `#[cfg(test)] mod tests` blocks
|
||||
at the bottom of each source file. They test individual functions and types in
|
||||
isolation.
|
||||
|
||||
**quicnprotochat-core:**
|
||||
**quicproquo-core:**
|
||||
|
||||
| Module | Tests | What they cover |
|
||||
|--------|-------|----------------|
|
||||
@@ -26,7 +26,7 @@ isolation.
|
||||
| `group` | 2 tests | Group round-trip (create + add + join + send + recv), group\_id lifecycle |
|
||||
| `hybrid_kem` | 11 tests | Encapsulate/decapsulate round-trip, key generation, combiner correctness, wrong-key rejection, serialisation |
|
||||
|
||||
**quicnprotochat-proto:**
|
||||
**quicproquo-proto:**
|
||||
|
||||
| Module | Tests | What they cover |
|
||||
|--------|-------|----------------|
|
||||
@@ -34,7 +34,7 @@ isolation.
|
||||
|
||||
### Integration Tests
|
||||
|
||||
Integration tests live in `crates/quicnprotochat-client/tests/` and test the
|
||||
Integration tests live in `crates/quicproquo-client/tests/` and test the
|
||||
full client-server interaction. Each test spawns a server using `tokio::spawn`
|
||||
within the same test binary, then runs client operations against it.
|
||||
|
||||
@@ -88,17 +88,17 @@ This runs all unit tests and integration tests across all four crates.
|
||||
### Single Crate
|
||||
|
||||
```bash
|
||||
cargo test -p quicnprotochat-core
|
||||
cargo test -p quicnprotochat-proto
|
||||
cargo test -p quicnprotochat-server
|
||||
cargo test -p quicnprotochat-client
|
||||
cargo test -p quicproquo-core
|
||||
cargo test -p quicproquo-proto
|
||||
cargo test -p quicproquo-server
|
||||
cargo test -p quicproquo-client
|
||||
```
|
||||
|
||||
### Single Test
|
||||
|
||||
```bash
|
||||
cargo test -p quicnprotochat-core -- codec::tests::test_round_trip
|
||||
cargo test -p quicnprotochat-client --test mls_group
|
||||
cargo test -p quicproquo-core -- codec::tests::test_round_trip
|
||||
cargo test -p quicproquo-client --test mls_group
|
||||
```
|
||||
|
||||
### With Output
|
||||
@@ -117,10 +117,10 @@ Summary:
|
||||
|
||||
| Crate | Unit Tests | Integration Tests | Total |
|
||||
|-------|-----------|-------------------|-------|
|
||||
| `quicnprotochat-core` | 23 | -- | 23 |
|
||||
| `quicnprotochat-proto` | 3 | -- | 3 |
|
||||
| `quicnprotochat-server` | 0 | -- | 0 |
|
||||
| `quicnprotochat-client` | 0 | 5 | 5 |
|
||||
| `quicproquo-core` | 23 | -- | 23 |
|
||||
| `quicproquo-proto` | 3 | -- | 3 |
|
||||
| `quicproquo-server` | 0 | -- | 0 |
|
||||
| `quicproquo-client` | 0 | 5 | 5 |
|
||||
| **Total** | **26** | **5** | **31** |
|
||||
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user