diff --git a/Cargo.lock b/Cargo.lock index 514f994..a02e87c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -102,7 +102,7 @@ checksum = "e6d5a32815ae3f33302d95fdcb2ce17862f8c65363dcfd29360480ba1001fc9c" [[package]] name = "gps_parser" -version = "0.1.0" +version = "0.2.0" dependencies = [ "chrono", "nmea-parser", diff --git a/Cargo.toml b/Cargo.toml index 4a491d4..849ccba 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "gps_parser" -version = "0.1.0" +version = "0.2.0" edition = "2021" [dependencies] diff --git a/src/lib.rs b/src/lib.rs index abee497..1768034 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -6,10 +6,10 @@ use nmea_parser::*; #[derive(Debug)] pub struct ParseResult { - lat: f64, - lon: f64, - timestamp: DateTime, - speed: f64 + pub lat: f64, + pub lon: f64, + pub timestamp: DateTime, + pub speed: f64, } pub struct GpsParser {