Skip to content

Commit

Permalink
docs: Remove 2015 edition in Readme
Browse files Browse the repository at this point in the history
Signed-off-by: Lachezar Lechev <[email protected]>
  • Loading branch information
elpiel committed Jun 4, 2023
1 parent 978db24 commit 1163f5f
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,13 +84,7 @@ just add the `nmea` crate without the default features:
nmea = { version = "0.5", default-features = false }
```

### For Rust edition 2015

For Rust 2015 edition you should put this in your crate's `lib.rs` or `main.rs`:

```rust
extern crate nmea;
```
### Parse

To use the NMEA parser create a `Nmea` struct and feed it with NMEA sentences (only supports `GNSS` messages, otherwise use the `parse_str()` and `parse_bytes()`):

Expand Down

0 comments on commit 1163f5f

Please sign in to comment.