ds 1.2.4

A library for controlling FIRST Robotics Competition robots
Documentation
//! # ds
//!
//! `ds` is a library that allows for control of FIRST Robotics Competition robots.
//! The protocol supported currently is that of the 2018 season, with only the bare minimum
//! required to control the robot currently consumed. Diagnostic and telemetry information is not decoded and is discarded
//!
//! The core trait for use of the crate is the [`DriverStation`](struct.DriverStation.html) crate. This crate
//! provides an API for connecting and controlling to the roboRIO in an FRC robot. It also allows for users to
//! provide joystick input using arbitrary APIs, and to consume any incoming TCP packets.

#![doc(html_root_url = "https://docs.rs/ds/1.0.1")]

#[macro_use]
extern crate bitflags;
#[macro_use]
extern crate smallvec;

mod ds;
mod ext;
mod proto;
pub(crate) mod util;

pub use self::ds::state::{DsMode, Mode};
pub use self::ds::{DriverStation, JoystickValue};
pub use self::proto::tcp::inbound::*;
pub use self::proto::tcp::outbound::*;
pub use self::proto::udp::inbound::types::Trace;
pub use self::proto::udp::outbound::types::*;

pub type Result<T> = std::result::Result<T, failure::Error>;