Merge pull request #46 from async-telegram-bot/remove_reqwest_rasync_imports

Remove uses of deprecated `reqwest::r#async`
This commit is contained in:
Temirkhan Myrzamadi 2019-10-11 19:05:23 +06:00 committed by GitHub
commit 7ec0a69fb8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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,
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,

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;