river-core 0.1.11

Core library for River - decentralized group chat on Freenet
Documentation
pub mod chat_delegate;
pub mod crypto_values;
#[cfg(feature = "ecies")]
pub mod ecies;
pub mod key_derivation;
/// `@mention` codec (freenet/river @mentions feature). Gated on the `mentions`
/// feature so the room-contract / chat-delegate WASM builds (which do not
/// enable it) keep byte-identical WASM and stable keys. Pure client concern:
/// the contract treats message content as opaque bytes and never parses it.
#[cfg(feature = "mentions")]
pub mod mention;
/// Legacy room-contract migration registry (freenet/river#292). Gated on the
/// `migration` feature so the room-contract / chat-delegate WASM builds (which
/// do not enable it) keep byte-identical WASM and stable keys.
#[cfg(feature = "migration")]
pub mod migration;
pub mod room_state;
pub mod util;
pub mod web_container;

pub use room_state::ChatRoomStateV1;
pub use web_container::WebContainerMetadata;