rumqttd 0.20.0

rumqttd is a high performance MQTT broker written in Rust which is light weight and embeddable
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// use rumqttd::{Link, Broker, Config, RouterConfig};
//
// fn main() {
//     pretty_env_logger::init();
//
//     let router = Router::new(1, config);
//     let link = router.start_with_cluster("localhost:7071", vec![(0, "localhost:7070")]);
//     let (_link_tx, mut link_rx) = Link::new("local@1", link).unwrap();
//
//     // Receiver
//     loop {
//         let notification = link_rx.recv().unwrap();
//         println!("Received = {:?}", notification);
//     }
// }

fn main() {}