1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#![forbid(unsafe_code)]
#![deny(
missing_copy_implementations,
missing_debug_implementations,
missing_docs,
trivial_casts,
trivial_numeric_casts,
unused_import_braces
)]
#![deny(clippy::use_self, clippy::wildcard_dependencies)]
#![warn(unused_qualifications)]
#![warn(
clippy::print_stdout,
clippy::pub_enum_variant_names,
clippy::used_underscore_binding,
clippy::wrong_self_convention,
clippy::wrong_pub_self_convention
)]
pub type MotorId = usize;
mod program;
pub use self::program::{
Action, Notification, Program, Protocol, Step, ValidateError as ValidateProtocolError,
};
#[cfg(feature = "use_serde")]
#[cfg_attr(feature = "use_serde", macro_use)]
extern crate serde_derive;