# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.80" name = "geoarrow" version = "0.4.0-beta.1" authors = ["Kyle Barron "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Rust implementation of GeoArrow" readme = "README.md" categories = ["science::geo"] license = "MIT OR Apache-2.0" repository = "https://github.com/geoarrow/geoarrow-rs" [package.metadata.docs.rs] features = [ "csv", "flatgeobuf", "geos", "geozero", "parquet", "postgis", "rayon", ] rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "geoarrow" path = "src/lib.rs" doctest = true [[example]] name = "gdal" path = "examples/gdal.rs" test = false required-features = ["gdal"] [[bench]] name = "area" path = "benches/area.rs" harness = false required-features = ["flatgeobuf"] [[bench]] name = "from_geo" path = "benches/from_geo.rs" harness = false [[bench]] name = "geos_buffer" path = "benches/geos_buffer.rs" harness = false required-features = ["geos"] [[bench]] name = "nybb" path = "benches/nybb.rs" harness = false required-features = ["ipc_compression"] [[bench]] name = "translate" path = "benches/translate.rs" harness = false [[bench]] name = "wkb" path = "benches/wkb.rs" bench = false harness = false required-features = ["parquet_compression"] [dependencies.arrow] version = "53" features = ["ffi"] [dependencies.arrow-array] version = "53" features = ["chrono-tz"] [dependencies.arrow-buffer] version = "53" [dependencies.arrow-cast] version = "53" optional = true [dependencies.arrow-data] version = "53" [dependencies.arrow-ipc] version = "53" [dependencies.arrow-schema] version = "53" [dependencies.async-stream] version = "0.3" optional = true [dependencies.async-trait] version = "0.1" optional = true [dependencies.byteorder] version = "1" [dependencies.bytes] version = "1.5.0" optional = true [dependencies.chrono] version = "0.4" optional = true [dependencies.flatgeobuf] version = "4.4.0" optional = true default-features = false [dependencies.futures] version = "0.3" optional = true [dependencies.gdal] version = "0.17" optional = true [dependencies.geo] version = "0.28" [dependencies.geo-index] version = "0.1.1" [dependencies.geos] version = "9.0" features = [ "v3_10_0", "geo", ] optional = true [dependencies.geozero] version = "0.14" features = ["with-wkb"] optional = true [dependencies.half] version = "2.4.1" optional = true [dependencies.http-range-client] version = "0.8" optional = true [dependencies.indexmap] version = "2" optional = true [dependencies.lexical-core] version = "0.8.5" optional = true [dependencies.num_enum] version = "0.7" [dependencies.object_store] version = "0.11" optional = true [dependencies.parquet] version = "53" features = ["arrow"] optional = true default-features = false [dependencies.phf] version = "0.11" features = ["macros"] [dependencies.polylabel] version = "3.2.0" optional = true [dependencies.proj] version = "0.27.2" features = [ "pkg_config", "geo-types", ] optional = true [dependencies.rayon] version = "1.8.0" optional = true [dependencies.rstar] version = "0.12" [dependencies.serde] version = "1" features = ["derive"] [dependencies.serde_json] version = "1" [dependencies.shapefile] version = "0.6" [dependencies.sqlx] version = "0.7" features = [ "chrono", "json", "postgres", "runtime-tokio", "tls-rustls", ] optional = true default-features = false [dependencies.thiserror] version = "1" [dependencies.tokio] version = "1" optional = true default-features = false [dependencies.wkt] version = "0.11" [dev-dependencies.approx] version = "0.5.1" [dev-dependencies.bytes] version = "1.5.0" [dev-dependencies.criterion] version = "0.5" features = ["html_reports"] [dev-dependencies.gdal] version = "0.17" features = ["bindgen"] [dev-dependencies.geozero] version = "0.14" features = ["with-wkb"] [dev-dependencies.object_store] version = "0.11" features = [ "http", "aws", ] [dev-dependencies.parquet] version = "53" features = [ "arrow", "object_store", ] default-features = false [dev-dependencies.sqlx] version = "0.7" features = ["postgres"] default-features = false [dev-dependencies.tokio] version = "1.9" features = [ "macros", "fs", "rt-multi-thread", ] [features] csv = [ "dep:geozero", "geozero/with-csv", ] flatgeobuf = [ "dep:flatgeobuf", "geozero", ] flatgeobuf_async = [ "flatgeobuf/http", "dep:async-trait", "dep:bytes", "dep:http-range-client", "dep:object_store", ] gdal = ["dep:gdal"] geos = ["dep:geos"] geozero = [ "dep:arrow-cast", "dep:chrono", "dep:geozero", "dep:half", "dep:indexmap", "dep:lexical-core", ] ipc_compression = [ "arrow-ipc/lz4", "arrow-ipc/zstd", ] parquet = ["dep:parquet"] parquet_async = [ "parquet", "parquet/async", "dep:async-stream", "dep:futures", "dep:tokio", ] parquet_compression = [ "parquet/snap", "parquet/brotli", "parquet/flate2", "parquet/lz4", "parquet/zstd", ] polylabel = ["dep:polylabel"] postgis = [ "dep:chrono", "dep:futures", "dep:sqlx", "geozero", ] proj = ["dep:proj"] rayon = ["dep:rayon"]