georust / geojson

Library for serializing the GeoJSON vector GIS file format
https://crates.io/crates/geojson
Apache License 2.0
280 stars 60 forks source link

Re-expose serde_json::error::Error #240

Open nms-scribe opened 7 months ago

nms-scribe commented 7 months ago

Right now I have to add serde_json as a dependency to my project just to wrap the serde_json::error::Error error returned by GeoJson::from_reader into my own error. It would be convenient if that error type were exposed in the public interface, similarly to what was done in #185.