Remove uses of deprecated reqwest::r#async

This commit is contained in:
Waffle 2019-10-11 15:32:31 +03:00
parent ca6b4a4628
commit 52a54e91c8
3 changed files with 4 additions and 4 deletions

View file

@ -1,4 +1,4 @@
use reqwest::r#async::Client;
use reqwest::Client;
use crate::requests::RequestContext;

View file

@ -1,13 +1,13 @@
use std::path::PathBuf;
use reqwest::r#async::multipart::Form;
use reqwest::multipart::Form;
use crate::{
requests::{utils, ChatId},
types::{InputMedia, ParseMode},
};
/// 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,

View file

@ -1,5 +1,5 @@
use async_trait::async_trait;
use reqwest::r#async::Client;
use reqwest::Client;
use serde::de::DeserializeOwned;
use crate::RequestError;