Closed kylebarron closed 1 month ago
gdal-sys is its own optional dependency, and currently with-gdal does not require it. That means that any import of gdal-sys from geozero will fail without the user turning on an explicit gdal-sys feature, see #211. So e.g. this fails:
gdal-sys
with-gdal
https://github.com/georust/geozero/blob/8f3d8e4b9363aee0d50356936f5be65f496b9953/geozero/src/gdal/gdal_error.rs#L2
I don't see why with-gdal wouldn't turn on gdal-sys.
Closes https://github.com/georust/geozero/issues/211
Oh oops. Well I did approve the previous PR so I'm also at fault 🙂
gdal-sys
is its own optional dependency, and currentlywith-gdal
does not require it. That means that any import ofgdal-sys
from geozero will fail without the user turning on an explicitgdal-sys
feature, see #211. So e.g. this fails:https://github.com/georust/geozero/blob/8f3d8e4b9363aee0d50356936f5be65f496b9953/geozero/src/gdal/gdal_error.rs#L2
I don't see why
with-gdal
wouldn't turn ongdal-sys
.Closes https://github.com/georust/geozero/issues/211