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