#![deny(
future_incompatible,
nonstandard_style,
missing_docs,
clippy::all,
clippy::pedantic,
clippy::nursery,
clippy::cargo
)]
#![allow(clippy::missing_errors_doc)]
#![allow(clippy::multiple_crate_versions)] #![allow(clippy::needless_doctest_main)] #![doc(
html_logo_url = "https://gitlab.com/SnejUgal/tbot/-/raw/master/logo.svg",
html_favicon_url = "https://gitlab.com/SnejUgal/tbot/-/raw/master/logo.svg"
)]
#[cfg(all(feature = "tls", feature = "rustls"))]
compile_error!("`tls` and `rustls` features are mutually exclusive. You should enable only one of them");
#[cfg(not(any(feature = "tls", feature = "rustls")))]
compile_error!("Either `tls` or `rustls` feature needs to be enabled");
mod bot;
mod download_file;
mod internal;
mod multipart;
mod token;
mod connectors;
pub mod contexts;
pub mod errors;
pub mod event_loop;
pub mod markup;
pub mod methods;
pub mod predicates;
pub mod state;
pub mod types;
pub mod util;
use {download_file::download_file, multipart::Multipart, token::Token};
pub use {bot::Bot, event_loop::EventLoop};
pub mod prelude {
pub use super::contexts::methods::Callback as _;
pub use super::contexts::methods::ChatMethods as _;
pub use super::contexts::methods::Forwardable as _;
pub use super::contexts::methods::Pinnable as _;
pub use super::util::ChatActionLoop as _;
pub use super::util::ChatActionLoopBotExt as _;
}
pub use hyper_proxy as proxy;