Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Getting Started

This section helps you install and begin using Mojentic in Rust.

Install

Add the dependency (placeholder until published):

[dependencies]
mojentic = { path = "../" }

Minimal Example

use mojentic::{Broker, Message};

fn main() {
    let mut broker = Broker::default();
    broker.emit(Message::text("hello world"));
}

Next Steps