1#![no_std]
2#![deny(clippy::unwrap_used)]
3#![deny(clippy::expect_used)]
4#![deny(clippy::panic)]
5#![deny(
7 missing_copy_implementations,
8 missing_debug_implementations,
9 trivial_casts,
10 trivial_numeric_casts,
11 unused_must_use,
12 unused_extern_crates,
13 unused_import_braces,
14 unused_qualifications,
15 unused_results
16)]
17#![warn(unused_results)]
18#![warn(clippy::pedantic)]
19#![warn(clippy::doc_paragraphs_missing_punctuation)]
20
21mod dshot_command_frame;
22mod dshot_commands;
23mod dshot_errors;
24mod dshot_speed;
25mod dshot_telemetry;
26mod dshot_telemetry_frame;
27mod esc_dshot;
28mod gcr_frame;
29mod nrzi_frame;
30
31pub use esc_dshot::EscDshot;
32
33pub use dshot_command_frame::DshotCommandFrame;
34pub use dshot_commands::DshotCommand;
35pub use dshot_errors::DshotError;
36pub use dshot_speed::DshotSpeed;
37pub use dshot_telemetry::{Telemetry, TelemetryType};
38pub use dshot_telemetry_frame::DshotTelemetryFrame;
39pub use gcr_frame::GcrFrame;
40pub use nrzi_frame::NrziFrame;