From fa3f6629acde0f36dce8ce65b35fd47b403ea094 Mon Sep 17 00:00:00 2001 From: xiaolin <446304319@qq.com> Date: Thu, 31 Oct 2024 14:20:41 +0800 Subject: [PATCH] ensure min change at lib.rs --- src/lib.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index c6d08dd..0bf5232 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -15,7 +15,7 @@ pub use self::error::Error; pub use self::objects::*; pub use self::parse_mode::ParseMode; pub use self::response::*; -#[cfg(feature = "async-http-client")] +#[cfg(feature = "async-telegram-trait")] pub use self::trait_async::AsyncTelegramApi; #[cfg(feature = "telegram-trait")] pub use self::trait_sync::TelegramApi; @@ -26,13 +26,13 @@ mod client_reqwest; #[cfg(feature = "http-client")] mod client_ureq; mod error; -#[cfg(any(test, feature = "http-client", feature = "async-http-client",))] +#[cfg(any(test, feature = "http-client", feature = "async-http-client"))] mod json; mod macros; pub mod objects; mod parse_mode; pub mod response; -#[cfg(feature = "async-http-client")] +#[cfg(feature = "async-telegram-trait")] mod trait_async; #[cfg(feature = "telegram-trait")] mod trait_sync;