Cotton code
56 lines · 1.3 KB · RustRaw
//! Cotton's pure rules, one implementation for every host.//!//! The phone reaches them through `cotton-core`, which re-exports this crate;//! the Worker runs them as WASM (`pnpm rules:wasm`). Nothing here touches a//! store, a file, the clock or the network: every input is an argument, and//! every function at the WASM boundary answers a `Result`, never a panic.//!//! Shared vectors live in `vectors/`, read by this crate's tests and by the//! Worker's vitest files alike.#[macro_use]mod string_enum;pub mod balances;pub mod boundary;pub mod change;pub mod chat_ids;pub mod computed;pub mod contacts_io;pub mod downloads_chat;pub mod expressions;pub mod fetch_stage;pub mod fingerprint;pub mod fountain;pub mod story;pub mod handles;pub mod ids;pub mod import;pub mod js;pub mod js_number;pub mod lines;pub mod mail;pub mod meetings;pub mod meetings_summary;pub mod media;pub mod memory_briefing;pub mod memory_order;pub mod memory_technical;pub mod messages;pub mod music;pub mod name_match;pub mod note_title;pub mod open_bundle;pub mod opf;pub mod phone;pub mod moment_split;pub mod rrule;pub mod script;pub mod send;pub mod days;pub mod todo_recurrence;pub mod visibility;pub mod writing;pub mod xml_text;pub mod voice;pub mod zoned_clock;