uf-crsf
A no_std Rust library for parsing the TBS Crossfire protocol, designed for embedded environments without an allocator.
This library provides a two-layer API:
- A low-level layer for raw packet parsing from a byte stream.
- A higher-level layer that converts raw packets into idiomatic Rust structs.
Features
no_stdand allocator-free for embedded systems.- Two-layer API for flexible parsing.
- Supports a wide range of CRSF packets.
- IO and MCU agnostic.
- Minimal dependencies.
Note
Library is under active development and testing, API might change at any time.
Installation
Add uf-crsf to your Cargo.toml:
[]
= "0.1.0"
Or use the command line:
Usage
Here is a basic example of how to parse a CRSF packet from a byte array:
use CrsfParser;
License
This project is licensed under the Apache 2.0. See the LICENSE file for details.