Update tokio (#104)

Fix for `thread 'main' panicked at 'there is no reactor running, must be
called from the context of a Tokio 1.x runtime',`
This commit is contained in:
DG
2021-08-21 17:36:57 -04:00
committed by GitHub
parent dcb5d1906b
commit 3e210e5193
2 changed files with 233 additions and 472 deletions

701
Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@@ -1,6 +1,6 @@
[package]
name = "rfd-notify"
version = "0.2.0"
version = "0.2.1"
authors = ["Dave Gallant <davegallant@gmail.com>"]
edition = "2018"
@@ -9,7 +9,7 @@ sendgrid = { version = "0.17.3", default-features = false, features = ["rustls",
serde_derive = "1.0.112"
serde = "1.0.127"
reqwest = { version = "0.11", default-features = false, features = ["json", "rustls-tls"] }
tokio = { version = "0.2", features = ["full"] }
tokio = { version = "1.10", features = ["full"] }
serde_json = "1.0.66"
log = "0.4"
pretty_env_logger = "0.4.0"