Cotton code
20 lines · 741 B · RustRaw
//! COTTON TO COTTON MESSAGES (12 Nov 2026): one-to-one chat//! between two people who both use Cotton, end to end from the first build.//! The Worker (`apps/business/src/chat/chat.ts`) carries and briefly holds//! boxes it cannot open; everything a phone decides is here: the box//! ([`seal`]), what it holds and what must agree before it lands//! ([`payload`]), a picture's own sealing ([`files`]), the order waiting//! messages go in ([`outbox`]) and the ids a conversation's rows are made//! under ([`ids`]).pub mod files;pub mod group;pub mod ids;pub mod outbox;pub mod payload;pub mod ratchet;pub mod safety;pub mod seal;/// The message channel a Cotton conversation's rows carry.pub const CHANNEL: &str = "cotton";