uf-crsf 0.5.0

A `no_std` Rust library for parsing the TBS Crossfire protocol, designed for embedded environments
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#![no_std]
#![allow(clippy::needless_doctest_main)]
#![doc = include_str!("../README.md")]

pub mod constants;
pub mod error;
pub mod packets;
pub mod parser;

#[cfg(feature = "embedded_io_async")]
pub mod async_io;

#[cfg(feature = "embedded_io")]
pub mod blocking_io;

pub use error::{CrsfParsingError, CrsfStreamError};
pub use packets::{write_packet_to_buffer, Packet, PacketAddress, PacketType};
pub use parser::{CrsfParser, RawCrsfPacket};