#parser #iterator #libsbf #sbf

no-std libsbf

A no_std rust crate to parse Septentrio SBF Messages

12 releases (7 breaking)

new 0.8.0 Apr 30, 2025
0.7.0 Apr 26, 2025
0.6.1 Apr 17, 2025
0.5.1 Apr 8, 2025
0.1.1 Nov 29, 2023

#434 in Hardware support

Download history 8/week @ 2025-01-07 1/week @ 2025-01-14 11/week @ 2025-01-28 2/week @ 2025-02-04 5/week @ 2025-03-11 2/week @ 2025-03-18 377/week @ 2025-04-08 168/week @ 2025-04-15 138/week @ 2025-04-22

683 downloads per month

MPL-2.0 license

27KB
544 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

~3MB
~60K SLoC