daemon/lib.rs
1//! Daemon-side library code: cleanup sweeper, nickname dedup saga,
2//! auto-room saga, and the on-disk event persister.
3//!
4//! `link()` is called from the bin to ensure the `inventory` registrations
5//! generated by `#[myko_saga]` / `#[myko_command]` survive dead-code
6//! elimination. Message delivery itself is handled directly by the
7//! `marshal_entities::SendMessage` and `marshal_entities::BroadcastMessage`
8//! commands — there's no saga in the critical path for delivery.
9
10pub mod auto_rooms;
11pub mod cleanup;
12pub mod dedupe_nicknames;
13pub mod hooks;
14pub mod http_listener;
15pub mod persister;
16
17pub fn link() {
18 dedupe_nicknames::link();
19 auto_rooms::link();
20}