feat: add protocol comparison docs, P2P crate, production audit, and design fixes
Add comprehensive documentation comparing quicnprotochat against classical chat protocols (IRC+SSL, XMPP, Telegram) with diagrams and attack scenarios. Promote comparison pages to top-level sidebar section. Include P2P transport crate (iroh), production readiness audit, CI workflows, dependency policy, and continued architecture improvements across all crates. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -16,6 +16,7 @@ COPY crates/quicnprotochat-core/Cargo.toml crates/quicnprotochat-core/Cargo.to
|
||||
COPY crates/quicnprotochat-proto/Cargo.toml crates/quicnprotochat-proto/Cargo.toml
|
||||
COPY crates/quicnprotochat-server/Cargo.toml crates/quicnprotochat-server/Cargo.toml
|
||||
COPY crates/quicnprotochat-client/Cargo.toml crates/quicnprotochat-client/Cargo.toml
|
||||
COPY crates/quicnprotochat-p2p/Cargo.toml crates/quicnprotochat-p2p/Cargo.toml
|
||||
|
||||
# Create dummy source files so `cargo build` can resolve the dependency graph
|
||||
# and cache the compiled dependencies before copying real source.
|
||||
@@ -24,10 +25,12 @@ RUN mkdir -p \
|
||||
crates/quicnprotochat-proto/src \
|
||||
crates/quicnprotochat-server/src \
|
||||
crates/quicnprotochat-client/src \
|
||||
crates/quicnprotochat-p2p/src \
|
||||
&& echo 'fn main() {}' > crates/quicnprotochat-server/src/main.rs \
|
||||
&& echo 'fn main() {}' > crates/quicnprotochat-client/src/main.rs \
|
||||
&& touch crates/quicnprotochat-core/src/lib.rs \
|
||||
&& touch crates/quicnprotochat-proto/src/lib.rs
|
||||
&& touch crates/quicnprotochat-proto/src/lib.rs \
|
||||
&& touch crates/quicnprotochat-p2p/src/lib.rs
|
||||
|
||||
# Schemas must exist before the proto crate's build.rs runs.
|
||||
COPY schemas/ schemas/
|
||||
@@ -38,10 +41,11 @@ RUN cargo build --release --bin quicnprotochat-server 2>/dev/null || true
|
||||
# Copy real source and build for real.
|
||||
COPY crates/ crates/
|
||||
|
||||
# Touch main.rs files to force re-compilation of the binary crates.
|
||||
# Touch source to force re-compilation after copying real crates.
|
||||
RUN touch \
|
||||
crates/quicnprotochat-core/src/lib.rs \
|
||||
crates/quicnprotochat-proto/src/lib.rs \
|
||||
crates/quicnprotochat-p2p/src/lib.rs \
|
||||
crates/quicnprotochat-server/src/main.rs \
|
||||
crates/quicnprotochat-client/src/main.rs
|
||||
|
||||
|
||||
Reference in New Issue
Block a user