arcgis 0.1.0

Type-safe Rust SDK for the ArcGIS REST API with compile-time guarantees
Documentation
# 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 = "2024"
rust-version = "1.85"
name = "arcgis"
version = "0.1.0"
authors = ["ArcGIS Rust Contributors"]
build = "build.rs"
exclude = [
    ".github/",
    "benches/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Type-safe Rust SDK for the ArcGIS REST API with compile-time guarantees"
homepage = "https://github.com/crumplecup/arcgis"
documentation = "https://docs.rs/arcgis"
readme = "README.md"
keywords = [
    "arcgis",
    "gis",
    "geospatial",
    "esri",
    "maps",
]
categories = [
    "api-bindings",
    "web-programming::http-client",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/crumplecup/arcgis"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
test-content = []
test-features = []
test-location = []
test-public = []

[lib]
name = "arcgis"
path = "src/lib.rs"

[[example]]
name = "basic_client"
path = "examples/enterprise/basic_client.rs"

[[example]]
name = "client_credentials_flow"
path = "examples/enterprise/client_credentials_flow.rs"

[[example]]
name = "edit_session"
path = "examples/enterprise/edit_session.rs"

[[example]]
name = "feature_attachments"
path = "examples/enterprise/feature_attachments.rs"

[[example]]
name = "geocode_addresses"
path = "examples/enterprise/geocode_addresses.rs"

[[example]]
name = "geometry_operations"
path = "examples/enterprise/geometry_operations.rs"

[[example]]
name = "image_service_raster"
path = "examples/enterprise/image_service_raster.rs"

[[example]]
name = "map_service_basics"
path = "examples/public/map_service_basics.rs"

[[example]]
name = "portal_content_management"
path = "examples/enterprise/portal_content_management.rs"

[[example]]
name = "query_features"
path = "examples/public/query_features.rs"

[[example]]
name = "routing_navigation"
path = "examples/enterprise/routing_navigation.rs"

[[example]]
name = "spatial_query"
path = "examples/public/spatial_query.rs"

[[test]]
name = "auth_test"
path = "tests/auth_test.rs"

[[test]]
name = "feature_attachments_test"
path = "tests/feature_attachments_test.rs"

[[test]]
name = "feature_related_records_test"
path = "tests/feature_related_records_test.rs"

[[test]]
name = "feature_statistics_test"
path = "tests/feature_statistics_test.rs"

[[test]]
name = "feature_top_features_test"
path = "tests/feature_top_features_test.rs"

[[test]]
name = "integration_basic"
path = "tests/integration_basic.rs"

[[test]]
name = "public_feature_query_test"
path = "tests/public_feature_query_test.rs"

[[test]]
name = "services_feature_test"
path = "tests/services_feature_test.rs"

[[test]]
name = "services_map_test"
path = "tests/services_map_test.rs"

[[test]]
name = "types_ids_test"
path = "tests/types_ids_test.rs"

[dependencies.async-trait]
version = "0.1"

[dependencies.bytes]
version = "1.5"

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.derive-getters]
version = "0.5"

[dependencies.derive-new]
version = "0.7"

[dependencies.derive_builder]
version = "0.20"

[dependencies.derive_more]
version = "2.0"
features = [
    "display",
    "error",
    "from",
]

[dependencies.derive_setters]
version = "0.1"

[dependencies.dotenvy]
version = "0.15"

[dependencies.futures]
version = "0.3"

[dependencies.geo]
version = "0.32"
features = ["use-serde"]
optional = true

[dependencies.geo-types]
version = "0.7"

[dependencies.geojson]
version = "0.24"
features = ["geo-types"]

[dependencies.geozero]
version = "0.15"
optional = true

[dependencies.mime_guess]
version = "2.0"

[dependencies.oauth2]
version = "5"

[dependencies.prost]
version = "0.14"

[dependencies.reqwest]
version = "0.13"
features = [
    "json",
    "rustls",
    "multipart",
    "stream",
    "query",
    "form",
]

[dependencies.secrecy]
version = "0.10"
features = ["serde"]

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_json]
version = "1.0"

[dependencies.serde_urlencoded]
version = "0.7"

[dependencies.tokio]
version = "1"
features = [
    "rt",
    "macros",
    "fs",
    "io-util",
]

[dependencies.tracing]
version = "0.1"

[dependencies.url]
version = "2.5"

[dependencies.uuid]
version = "1"
features = [
    "v4",
    "serde",
]

[dev-dependencies.anyhow]
version = "1"

[dev-dependencies.config]
version = "0.15"

[dev-dependencies.mockito]
version = "1"

[dev-dependencies.tokio]
version = "1"
features = ["full"]

[dev-dependencies.tokio-test]
version = "0.4"

[dev-dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]

[build-dependencies.prost-build]
version = "0.14"

[profile.dist]
lto = "thin"
inherits = "release"