mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-22 22:46:39 +01:00
Remove uses of deprecated reqwest::r#async
This commit is contained in:
parent
ca6b4a4628
commit
52a54e91c8
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, 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,
|
||||
|
|
|
@ -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