From a42972c65f3777dacc0d04b7b84a8ecd177ab6d6 Mon Sep 17 00:00:00 2001 From: MedzikUser Date: Fri, 28 Jan 2022 18:25:15 +0100 Subject: [PATCH] update dependencies --- Cargo.toml | 4 ++-- src/main.rs | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index bc020e4..6a793a6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -51,7 +51,7 @@ default-features = false features = ["json", "rustls-tls"] [dependencies.tokio] -version = "1.15.0" -features = ["full"] +version = "1.16.1" +features = ["macros", "rt-multi-thread"] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/src/main.rs b/src/main.rs index 6462bf6..3e465e6 100644 --- a/src/main.rs +++ b/src/main.rs @@ -12,7 +12,6 @@ async fn main() { better_panic::install(); let config = config::toml::parse(); - let client = ImgurClient::new((&config.imgur.id).to_string()); parse(client).await