Cotton code
12 lines · 586 B · RustRaw
//! The rules a WEB LINK SHARE has to know.//!//! The expiry grammar, and nothing else: every route that mints a link and the//! owner's own share sheet must agree on what "expires in N days" means, and//! they agree by calling one function. The page and the link-share rows are//! `cotton_server::sharing`, which re-exports this module.//!//! **This is not the multi-person sharing data plane** — that was removed and//! the code is on the branch `archive/sharing-v1`. A link share is a URL the//! owner hands out; it never reaches another person's server.pub mod expiry;