A no_std Rust NMEA 0183 sentence parser.
Put this in your Cargo.toml: ```toml
yanp = "0.0.1"
And in your code:
rs
use yanp::parsenmeasentence;
fn main(){ match parsenmeasentence(b"$GPGLL,4916.45,N,12311.12,W,225444,A,*1D\r\n") { Ok(val) => println!("{:#?}", val), Err(e) => println!("{:#?}", e), }; } ``` It is very important that the \r\n is included in the sentence as the library depends on this for a few slice operations as of now.
As of now the GNS sentence requires the alloc feature to be selected.