Crate daktronics_allsport_5000

Source
Expand description

§Daktronics All Sport 5000 for Rust

This crate provides a Rust implementation of decoders for the Daktronics All Sport 5000’s serial output.

§Features

  • Decode the serial output of a Daktronics All Sport 5000 console.
  • Optionally serialize the decoded data.

§Modules

  • codecs: Contains codecs for decoding the serial output (requires the tokio feature).
  • packet: Contains definitions and utilities for handling packets.
  • rtd_state: Contains definitions and utilities for handling RTD state.
  • sports: Contains definitions and utilities for handling different sports.

Re-exports§

pub use rtd_state::RTDFieldJustification;
pub use rtd_state::RTDState;
pub use rtd_state::RTDStateError;
pub use rtd_state::RTDStateFieldError;

Modules§

codecs
Contains a tokio_util codec to parse packets sent from the serial line.
packet
Contains a struct representing one packet sent from the control console.
rtd_state
The main module for this crate, a struct storing the state of the real-time data
sports
A collection of built-in sports to use to view an RTDState