#parser #iterator #libsbf #sbf

no-std libsbf

A no_std rust crate to parse Septentrio SBF Messages

10 releases (5 breaking)

new 0.6.1 Apr 17, 2025
0.6.0 Apr 9, 2025
0.5.1 Apr 8, 2025
0.4.1 Feb 27, 2024
0.1.1 Nov 29, 2023

#1083 in Parser implementations

Download history 9/week @ 2025-01-08 13/week @ 2025-01-29 7/week @ 2025-03-12 159/week @ 2025-04-02 222/week @ 2025-04-09

383 downloads per month

MPL-2.0 license

25KB
536 lines

A no_std parser for the SBF (Septentrio Binary Format) using the sans-io philosophy.

std BufReader Iterator

There is also a std API that exposes an SbfReader that uses a BufReader. The SbfReader implements an Iterator that will give you libsbf::Messages. To enable this do cargo add libsbf -F std


libsbf

A no_std parser for the SBF (Septentrio Binary Format) using the sans-io philosophy.

Fuzz Testing

There is a fuzz test written for the base parser. To run the test do the following:

nix develop
cd sbf-parser-fuzz
cargo afl build --release
cargo afl fuzz -i in -o out ../target/release/sbf-parser-fuzz

Dependencies

~2.5MB
~54K SLoC