# 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" name = "geozero" version = "0.14.0" authors = [ "Pirmin Kalberer ", "Yuri Astrakhan ", ] build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "Zero-Copy reading and writing of geospatial data in WKT/WKB, GeoJSON, MVT, GDAL, and other formats." homepage = "https://github.com/georust/geozero" readme = "README.md" keywords = [ "geo", "geojson", "gdal", "mvt", "postgis", ] categories = [ "science::geo", "parser-implementations", "api-bindings", "database", "rendering::data-formats", ] license = "MIT OR Apache-2.0" repository = "https://github.com/georust/geozero" [package.metadata.docs.rs] all-features = true rustc-args = [ "--cfg", "docsrs", ] [lib] name = "geozero" path = "src/lib.rs" [[test]] name = "gdal" path = "tests/gdal.rs" required-features = ["with-gdal"] [[test]] name = "geo_types" path = "tests/geo_types.rs" required-features = [ "with-geo", "with-geojson", ] [[test]] name = "geojson" path = "tests/geojson.rs" required-features = [ "with-geojson", "with-wkt", ] [[test]] name = "geopackage" path = "tests/geopackage.rs" required-features = [ "with-gpkg", "with-wkt", "with-geo", ] [[test]] name = "geos" path = "tests/geos.rs" required-features = ["with-geos"] [[test]] name = "geozero-api" path = "tests/geozero-api.rs" required-features = ["with-wkt"] [[test]] name = "gpx" path = "tests/gpx.rs" required-features = [ "with-gpx", "with-wkt", "with-geojson", ] [[test]] name = "kdbush" path = "tests/kdbush.rs" required-features = ["with-geojson"] [[test]] name = "mvt" path = "tests/mvt.rs" required-features = [ "with-mvt", "with-geo", "with-geojson", ] [[test]] name = "postgis" path = "tests/postgis.rs" required-features = [ "with-wkb", "with-wkt", "with-geo", ] [[test]] name = "shp-reader" path = "tests/shp-reader.rs" required-features = ["with-shp"] [[test]] name = "svg" path = "tests/svg.rs" required-features = ["with-svg"] [[test]] name = "test_writer" path = "tests/test_writer.rs" [dependencies.byteorder] version = "1.4.3" optional = true default-features = false [dependencies.bytes] version = "1.4" optional = true [dependencies.csv] version = "1.2.2" optional = true [dependencies.dbase] version = "0.4" optional = true [dependencies.diesel] version = "2.2.3" features = ["postgres"] optional = true default-features = false [dependencies.dup-indexer] version = "0.3" optional = true [dependencies.gdal] version = "0.16" optional = true default-features = false [dependencies.gdal-sys] version = "0.9" optional = true [dependencies.geo-types] version = "0.7.11" optional = true default-features = false [dependencies.geojson] version = "0.24.1" optional = true default-features = false [dependencies.geos] version = "9.0" optional = true [dependencies.gpx] version = "0.9" optional = true default-features = false [dependencies.log] version = "0.4.19" [dependencies.lyon] version = "1.0.1" optional = true [dependencies.postgres-types] version = "0.2" optional = true [dependencies.prost] version = "0.11.9" optional = true [dependencies.scroll] version = "0.11" optional = true [dependencies.serde_json] version = "1.0.104" [dependencies.sqlx] version = "0.8" optional = true default-features = false [dependencies.thiserror] version = "1.0" [dependencies.wkt] version = "0.11" optional = true [dev-dependencies.geo] version = "0.26.0" [dev-dependencies.hex] version = "0.4" [dev-dependencies.kdbush] version = "0.2" [dev-dependencies.postgres] version = "0.19" [dev-dependencies.seek_bufread] version = "1.2" [dev-dependencies.sqlx] version = "0.8" features = [ "runtime-tokio-native-tls", "macros", "time", "postgres", "sqlite", ] default-features = false [dev-dependencies.tokio] version = "1.30.0" features = ["macros"] default-features = false [dev-dependencies.wkt] version = "0.11" [build-dependencies.prost-build] version = "0.11.9" optional = true [features] default = [ "with-geo", "with-geojson", "with-svg", "with-wkt", ] with-csv = [ "dep:csv", "with-wkt", ] with-gdal = [ "dep:gdal", "dep:gdal-sys", ] with-gdal-bindgen = [ "with-gdal", "gdal?/bindgen", ] with-geo = ["dep:geo-types"] with-geojson = ["dep:geojson"] with-geos = ["dep:geos"] with-gpkg = [ "with-wkb", "dep:sqlx", "sqlx?/sqlite", ] with-gpx = ["dep:gpx"] with-mvt = [ "dep:prost", "dep:prost-build", "dep:dup-indexer", ] with-postgis-diesel = [ "with-wkb", "dep:diesel", "dep:byteorder", ] with-postgis-postgres = [ "with-wkb", "dep:postgres-types", "dep:bytes", ] with-postgis-sqlx = [ "with-wkb", "dep:sqlx", "sqlx?/postgres", ] with-shp = [ "dep:byteorder", "dep:dbase", ] with-svg = [] with-tessellator = ["dep:lyon"] with-wkb = [ "dep:scroll", "with-wkt", ] with-wkt = ["dep:wkt"]