leontoeides / google_maps

An unofficial Google Maps Platform client library for the Rust programming language.
https://crates.io/crates/google_maps
Apache License 2.0
58 stars 25 forks source link

Use serde feature of rust_decimal instead of serde-float #15

Closed popen2 closed 1 year ago

popen2 commented 1 year ago

serde-float forces all users of rust_decimal to be serialized as float instead of string when using google_maps.

This PR changes rust_decimal to only add the serde feature, while serde-float can be added externally by the using crate if desired.