Repository: gsquire/sendgrid-rs (language: rust)

Issue:
Update to `reqwest` 0.11
Hi!

I'm using this library for a project at work and just upgraded our server to use the `tokio` 1.0 runtime. Sending emails has broken with that change, showing a "not currently running on the Tokio runtime" error, so it seems like `reqwest`'s `tokio` version needs to match whatever is running.

Luckily, this should not require any code changes (just bumping `reqwest` and `tokio` versions), but might require a version change/new release on crates.io.


Discussion / hints:

Fix patch:
diff --git a/Cargo.toml b/Cargo.toml
index 2e62754..9c6ea88 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -13,14 +13,14 @@ readme = "README.md"
 
 [dependencies]
 data-encoding = "2.1"
-reqwest = { version = "0.10", default-features = false, features = ["json"] }
+reqwest = { version = "0.11", default-features = false, features = ["json"] }
 serde = { version = "1.0", features = ["derive"] }
 serde_json = "1.0"
 thiserror = "1.0"
 url = "2.1"
 
 [dev-dependencies]
-tokio = { version = "0.3", features = ["full"] }
+tokio = { version = "1.0", features = ["full"] }
 
 [features]
 default = ["native-tls", "blocking"]


Test patch: