Skip to main content

Module guide

Module guide 

Source
Expand description

Narrative documentation: tutorials, design notes and protocol tables.

These modules contain no code; they exist so the chapters render as part of the API documentation (and so their examples are compiled and run as doctests).

ChapterRead this if you want to…
Getting startedget a node online and exchange an event in five minutes
Architectureunderstand the sans-IO design and wire it to tokio, a browser or a microcontroller
Writing a throttlefind, acquire, drive and release a train
Eventsbuild a panel or sensor that produces and consumes events
The hubrun rolcb-hub or embed the hub in your own server
no_std and WASMuse the crate without std
Protocol referencelook up MTIs, header bits, flags and codes

Modules§

architecture
Architecture and the sans-IO model
events
Consuming and producing events
getting_started
Getting started
hub
Running and embedding the hub
no_std
no_std and WASM
reference
Protocol reference
throttle
Writing a throttle