mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-22 22:46:39 +01:00
Merge pull request #46 from async-telegram-bot/remove_reqwest_rasync_imports
Remove uses of deprecated `reqwest::r#async`
This commit is contained in:
commit
7ec0a69fb8
3 changed files with 4 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
|||
use reqwest::r#async::Client;
|
||||
use reqwest::Client;
|
||||
|
||||
use crate::requests::RequestContext;
|
||||
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
use async_trait::async_trait;
|
||||
use reqwest::r#async::Client;
|
||||
use reqwest::Client;
|
||||
use serde::de::DeserializeOwned;
|
||||
|
||||
use crate::RequestError;
|
||||
|
|
Loading…
Reference in a new issue