locodrive/
lib.rs

1/// Holds all arguments used in the messages
2pub mod args;
3/// Holds all error messages that may occur
4pub mod error;
5/// Holds a [`loco_controller::LocoDriveController`] to manage communication to a serial port based model railroad system.
6/// This modules is contained in the `control` feature. You have to explicitly activate it.
7#[cfg(feature = "control")]
8pub mod loco_controller;
9/// Holds the [`protocol::Message`]s that can be send to and received from the model railroad system.
10pub mod protocol;
11/// Holds test for controlling the correctness of the implemented protocol
12mod tests;