Skip to main content

zaun_community_protocol/
lib.rs

1//! Zaun community protocol (`docs/community-protocol/specification.md`).
2//!
3//! Pure data and functions: identifiers, canonical encoding, RFC 10073 composite post-quantum
4//! signatures, signed objects, permissions, envelopes, commands, events and limits. No I/O, no
5//! clock (time is always a parameter), no dependency on `simplex-client` (ADR-0001, ADR-0012).
6
7// Shared contract (frozen for parallel work; change only with every stream's agreement).
8pub mod b64;
9pub mod bits;
10pub mod error_code;
11pub mod ids;
12pub mod json;
13pub mod keys;
14pub mod limits;
15pub mod model;
16
17// Canonical encoding, composite signatures and signed objects (specification §3–4).
18pub mod crypto;
19pub mod encoding;
20pub mod signed;
21
22// Permission resolution and management hierarchy (`permissions.md`).
23pub mod permissions;
24
25// Wire: framing, envelopes, commands, events (specification §5–11).
26pub mod command;
27pub mod envelope;
28pub mod event;
29pub mod framing;
30
31// Sans-IO protocol client: sessions, retries, acks, owner and member signing helpers.
32pub mod client;