-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #20 from firstwaters/reqwest-maybe-middleware
Add support for reqwest_maybe_middleware, make small structs Copy
- Loading branch information
Showing
285 changed files
with
1,890 additions
and
2,409 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "google_maps" | ||
version = "3.3.2" | ||
version = "3.4.0" | ||
authors = [ "Dylan Bowker <[email protected]>" ] | ||
edition = "2021" | ||
categories = [ "api-bindings" ] | ||
|
@@ -28,6 +28,7 @@ default = [ | |
"enable-reqwest", | ||
"reqwest/default-tls", | ||
"reqwest/gzip", | ||
"enable-reqwest-middleware", | ||
"rust_decimal/serde", | ||
] | ||
# Google Maps Client API features: | ||
|
@@ -42,6 +43,7 @@ roads = [] | |
time_zone = [ "chrono", "chrono-tz" ] | ||
# Reqwest features: | ||
enable-reqwest = [ "reqwest", "backoff", "futures", "stream_throttle" ] | ||
enable-reqwest-middleware = ["reqwest-maybe-middleware/middleware", "reqwest-middleware"] | ||
brotli = [ "reqwest/brotli" ] | ||
gzip = [ "reqwest/gzip" ] | ||
native-tls = [ "reqwest/default-tls" ] | ||
|
@@ -65,6 +67,8 @@ miette = "5" | |
percent-encoding = "2.3" | ||
phf = { version = "0.11", features = [ "macros" ] } | ||
reqwest = { version = "0.11", optional = true, default-features = false } | ||
reqwest-middleware = {version = "0.2.3", optional = true} | ||
reqwest-maybe-middleware = "0.2.2" | ||
rust_decimal = { version = "1", features = [ "serde" ] } | ||
rust_decimal_macros = "1" | ||
serde = { version = "1.0", features = [ "derive" ] } | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.