diff --git a/src/bot/mod.rs b/src/bot/mod.rs index eacf2e3a..4f370663 100644 --- a/src/bot/mod.rs +++ b/src/bot/mod.rs @@ -1,4 +1,4 @@ -use reqwest::r#async::Client; +use reqwest::Client; use crate::requests::RequestContext; diff --git a/src/requests/form_builder.rs b/src/requests/form_builder.rs index b4b638b1..e12ac30a 100644 --- a/src/requests/form_builder.rs +++ b/src/requests/form_builder.rs @@ -1,13 +1,13 @@ use std::path::PathBuf; -use reqwest::r#async::multipart::Form; +use reqwest::multipart::Form; use crate::{ requests::utils, types::{InputMedia, ParseMode, ChatId}, }; -/// This is a convenient struct that builds `reqwest::r#async::multipart::Form` +/// This is a convenient struct that builds `reqwest::multipart::Form` /// from scratch. pub struct FormBuilder { form: Form, diff --git a/src/requests/mod.rs b/src/requests/mod.rs index d384b629..765260b8 100644 --- a/src/requests/mod.rs +++ b/src/requests/mod.rs @@ -1,5 +1,5 @@ use async_trait::async_trait; -use reqwest::r#async::Client; +use reqwest::Client; use serde::de::DeserializeOwned; use crate::RequestError;