An unofficial Google Maps Platform client library for the Rust programming language.
3.5.0: 2024-05-03: Improved ergonomics surrounding Location
and Waypoint
types. New functions: from_address
, from_place_id
, try_from_f32
and try_from_f64
.
3.5.0: 2024-05-03: reqwest-maybe-middleware
was forked and integrated into google_maps
for now, until the crate can be updated. maybe-middleware has also been properly feature-gated and is turned-off by default.
3.5.0: 2024-03-10: Addressed deprecated functions in the new chrono
version 0.4.37
.
3.5.0: 2024-03-10: The ol' cargo clippy --fix
3.5.0: 2024-03-03: Fixes for certain feature gate combinations.
3.5.0: 2024-02-28: Improved string-passing ergonomics.
3.5.0: 2024-02-22: ⚠ Breaking change: Replaced all instances of Option<Vec<_>>
with a Vec<_>
.
The Option<Vec<_>>
was originally employed to get serde
to deserialize Google Maps data without any extra options. However, working around an Option
is extra, unnecessary work.
#[serde(default)]
is now used to return an empty Vec
when there are no elements, rather than returning a None
.
html_instructions
from directions.Step optional by @azerpas in https://github.com/leontoeides/google_maps/pull/24
Full Changelog: https://github.com/leontoeides/google_maps/compare/v3.4.2...v3.5.0
3.4.2: 2024-02-08: google_maps::GoogleMapsClient::new
has been deprecated in favour of google_maps::GoogleMapsClient::try_new
3.4.2: 2024-02-08: Minor breaking change: google_maps::GoogleMapsClient.with_rate
now uses a reference to the selected
API (i.e. .with_rate(&google_maps::Api::All)
instead of .with_rate(google_maps::Api::All)
)
3.4.2: 2024-02-07: README.MD
makeover. Thank you seanpianka!
docs: update readme to follow conventional style by @seanpianka in https://github.com/leontoeides/google_maps/pull/22
3.4.2: 2024-02-07: Applied many clippy
suggestions.
Full Changelog: https://github.com/leontoeides/google_maps/compare/v3.4.1...v3.4.2
3.4.1: 2023-12-23: Added Landmark
and Other
variants to the PlaceType
enum.
3.4.1: 2023-12-10: Added default timeouts for the reqwest
client.
Full Changelog: https://github.com/leontoeides/google_maps/compare/v3.4.0...v3.4.1
Full Changelog: https://github.com/leontoeides/google_maps/compare/v3.3.2...v3.4.0
Full Changelog: https://github.com/leontoeides/google_maps/compare/v3.3.1...v3.3.2
Place Details does not always return a result, now an Option
.