Adapting @sqrtM's work in #226, I created a standalone crate https://github.com/a-b-street/osm-reader that parses XML or PBF and presents an easy-to-consume stream of OSM elements. I needed this for a bunch of other projects anyway. This PR changes osm2streets to use this new library as well.
I ran tests, checked the web import still works, and ditto for the Java bindings
Adapting @sqrtM's work in #226, I created a standalone crate https://github.com/a-b-street/osm-reader that parses XML or PBF and presents an easy-to-consume stream of OSM elements. I needed this for a bunch of other projects anyway. This PR changes osm2streets to use this new library as well.
I ran tests, checked the web import still works, and ditto for the Java bindings