Skip to main content

coven_domain/
lib.rs

1//! The two flows a host drives end to end rather than a single call: joining a
2//! device to an existing store, and restoring a store onto a new device.
3//!
4//! Both compose the layers below — cloud home, keys, protocol, database,
5//! replication — into an operation with its own journal and its own resumable
6//! terminal states, so neither belongs to any one of them. Module paths are the
7//! API: `coven_domain::joining::join_with_device_pairing`,
8//! `coven_domain::restoration::restore_from_code`.
9
10pub mod joining;
11pub mod restoration;
12
13#[cfg(test)]
14mod test_snapshots;