Skip to main content

river_core/
lib.rs

1pub mod chat_delegate;
2pub mod crypto_values;
3#[cfg(feature = "ecies")]
4pub mod ecies;
5pub mod key_derivation;
6/// `@mention` codec (freenet/river @mentions feature). Gated on the `mentions`
7/// feature so the room-contract / chat-delegate WASM builds (which do not
8/// enable it) keep byte-identical WASM and stable keys. Pure client concern:
9/// the contract treats message content as opaque bytes and never parses it.
10#[cfg(feature = "mentions")]
11pub mod mention;
12/// Legacy room-contract migration registry (freenet/river#292). Gated on the
13/// `migration` feature so the room-contract / chat-delegate WASM builds (which
14/// do not enable it) keep byte-identical WASM and stable keys.
15#[cfg(feature = "migration")]
16pub mod migration;
17pub mod room_state;
18pub mod util;
19pub mod web_container;
20
21pub use room_state::ChatRoomStateV1;
22pub use web_container::WebContainerMetadata;