Skip to content

Commit

Permalink
expose feature for gdal with bindgen
Browse files Browse the repository at this point in the history
This is necessary for linking against gdal versions whose bindings
aren't yet included in gdal-sys, which is common when using a newly
released gdal.

Also removed redundant gdal-sys dependency - gdal already includes that,
and geozero doesn't use it directly.
  • Loading branch information
michaelkirk committed Jan 10, 2024
1 parent 8501fed commit 1109701
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion geozero/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ license.workspace = true
default = ["with-svg", "with-wkt", "with-geo", "with-geojson"]
with-arrow = ["dep:arrow2"]
with-csv = ["dep:csv", "with-wkt"]
with-gdal = ["dep:gdal", "dep:gdal-sys"]
with-gdal = ["dep:gdal"]
with-gdal-bindgen = [ "with-gdal", "gdal?/bindgen" ]
with-geo = ["dep:geo-types"]
with-geojson = ["dep:geojson"]
with-geos = ["dep:geos"]
Expand Down

0 comments on commit 1109701

Please sign in to comment.