# 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.70.0" name = "google_maps2" version = "3.5.3" authors = ["keesh.zhang"] publish = true description = "An unofficial Google Maps Platform client library for the Rust programming language." documentation = "https://docs.rs/google_maps" readme = "README.md" keywords = [ "directions", "distance", "elevation", "geocoding", "timezone", ] categories = ["api-bindings"] license = "MIT OR Apache-2.0" repository = "https://github.com/leontoeides/google_maps" [lib] doctest = false [dependencies.anyhow] version = "1.0" optional = true [dependencies.backoff] version = "0.4" features = [ "futures", "tokio", ] optional = true [dependencies.chrono] version = "0.4" features = [ "clock", "serde", "std", ] optional = true default-features = false [dependencies.chrono-tz] version = "0.9" features = ["serde"] optional = true [dependencies.futures] version = "0.3" optional = true [dependencies.geo-types] version = "0.7" features = ["serde"] optional = true [dependencies.http] version = "1" optional = true [dependencies.miette] version = "7.2" [dependencies.percent-encoding] version = "2.3" [dependencies.phf] version = "0.11" features = ["macros"] [dependencies.reqwest] version = "0.12" features = [ "json", "multipart", ] optional = true default-features = false [dependencies.reqwest-middleware] version = "0.3" optional = true [dependencies.rust_decimal] version = "1.35" features = ["serde"] [dependencies.rust_decimal_macros] version = "1.34" [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_json] version = "1.0" [dependencies.stream_throttle] version = "0.5" optional = true [dependencies.thiserror] version = "1.0" [dependencies.tokio] version = "1.38" features = ["time"] optional = true [dependencies.tracing] version = "0.1" features = ["log"] [features] autocomplete = [] brotli = ["reqwest/brotli"] decimal-serde = ["rust_decimal/serde"] decimal-serde-arbitrary-precision = ["rust_decimal/serde-arbitrary-precision"] decimal-serde-float = ["rust_decimal/serde-float"] decimal-serde-str = ["rust_decimal/serde-str"] decimal-serde-with-arbitrary-precision = ["rust_decimal/serde-with-arbitrary-precision"] decimal-serde-with-float = ["rust_decimal/serde-with-float"] decimal-serde-with-str = ["rust_decimal/serde-with-str"] default = [ "autocomplete", "directions", "distance_matrix", "elevation", "geocoding", "places", "roads", "time_zone", "rust_decimal/serde", "enable-reqwest", "reqwest/default-tls", "reqwest/gzip", ] deflate = ["reqwest/deflate"] directions = [ "chrono", "chrono-tz", ] distance_matrix = [ "chrono", "chrono-tz", ] elevation = [] enable-reqwest = [ "reqwest", "backoff", "futures", "stream_throttle", ] enable-reqwest-middleware = [ "reqwest-middleware", "http", "anyhow", ] geo = ["geo-types"] geocoding = [] gzip = ["reqwest/gzip"] native-tls = ["reqwest/default-tls"] places = [ "chrono", "chrono-tz", ] roads = [] rustls = ["reqwest/rustls-tls"] time_zone = [ "chrono", "chrono-tz", ] zstd = ["reqwest/zstd"] [badges.maintenance] status = "passively-maintained"