[package] name = "geoarrow2" version = "0.0.2" authors = ["Kyle Barron "] edition = "2021" license = "MIT OR Apache-2.0" repository = "https://github.com/kylebarron/geoarrow" description = "Rust implementation of GeoArrow" categories = ["science::geo"] [features] csv = ["dep:geozero", "geozero/with-csv"] flatgeobuf = ["dep:flatgeobuf", "dep:geozero"] geos = ["dep:geos"] geozero = ["dep:geozero"] gdal = ["dep:gdal"] # parquet = ["arrow2/io_parquet", "dep:serde", "dep:serde_json"] # parquet_native_compression = ["arrow2/io_parquet_compression"] proj = ["dep:proj"] [dependencies] anyhow = "1" arrow = { version = "49", features = ["ffi"] } arrow-array = { version = "49" } arrow-buffer = { version = "49" } arrow-cast = { version = "49" } arrow-data = { version = "49" } arrow-ipc = { version = "49" } arrow-schema = { version = "49" } bumpalo = { version = "3", features = ["collections"] } byteorder = "1" # Set default-features = false because async not working in wasm right now flatgeobuf = { version = "4", optional = true, default-features = false } gdal = { version = "0.16", optional = true } geo = "0.27" geodesy = { version = "0.11", optional = true } geos = { version = "8.3", features = ["v3_10_0", "geo"], optional = true } geozero = { version = "0.11", features = ["with-wkb"], optional = true } itertools = "0.12" num_enum = "0.7" proj = { version = "0.27.2", optional = true, features = [ "pkg_config", "geo-types", ] } serde = { version = "1", optional = true } serde_json = { version = "1", optional = true } # Note: geo has a hard dependency on rstar, so there's no point in feature flagging it rstar = { version = "0.11" } thiserror = "1" [dev-dependencies] approx = "0.5.1" criterion = { version = "0.5", features = ["html_reports"] } geozero = { version = "0.11", features = ["with-wkb"] } parquet = { version = "49" } [lib] doctest = true [[example]] name = "gdal" test = false required-features = ["gdal"] [[bench]] name = "geos_buffer" harness = false [[bench]] name = "nybb" harness = false [[bench]] name = "wkb" harness = false