Skip to main content

derailleur/
lib.rs

1#![no_std]
2
3//! An efficient deserializer for Garmin's Flexible and Interoperable Data
4//! Transfer protocol.
5//!
6//! Derailleur provides a set of ergonomic interfaces for common decoding
7//! patterns, and exposes its underlying finite-state machine for applications
8//! needing finer control over internals (such as those running on embedded
9//! systems).
10//!
11//! Most users should begin with the functions and derive macros in the [`avec`]
12//! module. <!-- These are suited to extracting records, especially of a known
13//! shape, from files and data slices. --> If these prove insufficient, consider
14//! implementing a decoder as described in the [`sans`] module.
15//!
16//! ## Cargo Features
17//!
18//! The following crate feature flags are available:
19//!
20//! - `derive`: enable derive macros (default).
21//! - `std`: enable reader-based decoder (default).
22
23pub mod avec;
24pub mod sans;