-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
They are exported on top level anyway, so there is no real need for the folders
- Loading branch information
Showing
7 changed files
with
20 additions
and
30 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,32 @@ | ||
#[cfg(feature = "async-http-client")] | ||
#[cfg(feature = "reqwest")] | ||
pub use reqwest; | ||
#[cfg(feature = "http-client")] | ||
#[cfg(feature = "ureq")] | ||
pub use ureq; | ||
|
||
#[cfg(any(feature = "http-client", feature = "async-http-client"))] | ||
mod api; | ||
#[cfg(any(feature = "telegram-trait", feature = "async-telegram-trait"))] | ||
mod api_traits; | ||
#[cfg(feature = "async-http-client")] | ||
mod client_reqwest; | ||
#[cfg(feature = "http-client")] | ||
mod client_ureq; | ||
mod error; | ||
pub mod objects; | ||
pub mod parameters; | ||
mod parse_mode; | ||
pub mod response; | ||
#[cfg(feature = "async-telegram-trait")] | ||
mod trait_async; | ||
#[cfg(feature = "telegram-trait")] | ||
mod trait_sync; | ||
|
||
#[cfg(any(feature = "http-client", feature = "async-http-client"))] | ||
pub use api::*; | ||
#[cfg(any(feature = "telegram-trait", feature = "async-telegram-trait"))] | ||
pub use api_traits::*; | ||
#[cfg(feature = "async-http-client")] | ||
pub use client_reqwest::*; | ||
#[cfg(feature = "http-client")] | ||
pub use client_ureq::*; | ||
pub use error::Error; | ||
pub use parse_mode::ParseMode; | ||
#[cfg(feature = "async-telegram-trait")] | ||
pub use trait_async::AsyncTelegramApi; | ||
#[cfg(feature = "telegram-trait")] | ||
pub use trait_sync::TelegramApi; | ||
|
||
/// Default Bot API URL | ||
pub const BASE_API_URL: &str = "https://api.telegram.org/bot"; |
File renamed without changes.
File renamed without changes.