georust / gpx

Rust read/write support for GPS Exchange Format (GPX)
https://crates.io/crates/gpx
MIT License
102 stars 46 forks source link

Rework parsing: More strict and (hopefully) cleaner #12

Closed Lingepumpe closed 6 years ago

Lingepumpe commented 6 years ago

Reworked every parser file, with the exception of extensions.rs.

Changes and cleanup were mostly:

brendanashworth commented 6 years ago

@Lingepumpe wow, thank you for the fantastic work you've put together. I really like what you've done with the parser. Just a few questions/suggestions about your implementation.

Lingepumpe commented 6 years ago

I believe I addressed all review concerns, or is there something else you would like me to fix? Or will some other person review as well? Just checking the ball is not in my court ;)

brendanashworth commented 6 years ago

@Lingepumpe sorry about the delay, I've been unable to compile your changes due to some issues with (presumably) my Rust setup, and I've also been very busy. I should have time to do a final review and merge this within the next two days, thanks for being patient. This looks really nice though.

Lingepumpe commented 6 years ago

It seems cargo fmt is now more restrictive with regards to "use": They are ordered in a certain way, and I also got more duplicate warnings. Updated the pull request to include those fixes.

frewsxcv commented 6 years ago

@Lingepumpe thanks for fixing the cargo fmt issue

@brendanashworth still planning to look at this? otherwise, i'm thinking about merging this tomorrow

frewsxcv commented 6 years ago

bors r+

bors[bot] commented 6 years ago

Build succeeded