[package] name = "gdal" description = "GDAL bindings for Rust" license = "MIT" version = "0.17.1" authors = [ "Alex Morega ", "Johannes Drönner ", ] categories = ["science::geo", "api-bindings"] repository = "https://github.com/georust/gdal" edition = "2021" rust-version = "1.70" [features] default = [] bindgen = ["gdal-sys/bindgen"] array = ["ndarray"] [dependencies] thiserror = "1.0" libc = "0.2" geo-types = { version = "0.7.11" } gdal-sys = { path = "gdal-sys", version = "0.10" } ndarray = { version = "0.15", optional = true } chrono = { version = "0.4.26", default-features = false } bitflags = "2.4" once_cell = "1.18" [build-dependencies] semver = "1.0" [dev-dependencies] tempfile = "3.8" # Only used in the example arrow = { version = "52.0", default-features = false, features = ["ffi"] } [workspace] members = ["gdal-sys"] # docs.rs-specific configuration [package.metadata.docs.rs] # include `array` feature in documentation features = ["array"] # define attribute `docsrs` for feature badges rustdoc-args = ["--cfg", "docsrs"] [lints.rust.unexpected_cfgs] level = "warn" check-cfg = [ 'cfg(major_is_3)', 'cfg(major_ge_3)', 'cfg(major_ge_4)', 'cfg(minor_ge_1)', 'cfg(minor_ge_2)', 'cfg(minor_ge_3)', 'cfg(minor_ge_4)', 'cfg(minor_ge_5)', 'cfg(minor_ge_6)', 'cfg(minor_ge_7)', 'cfg(minor_ge_8)', 'cfg(minor_ge_9)', ]