diff --git a/src/bin/telegrambot.rs b/src/bin/telegrambot.rs index ff90f2e..b9ccf66 100644 --- a/src/bin/telegrambot.rs +++ b/src/bin/telegrambot.rs @@ -1,6 +1,9 @@ -#![cfg(feature = "telegram")] - +#[cfg(not(feature = "telegram"))] +fn main() { + println!("The `telegram` feature was not included on compilation, therefore this binary is not available.") +} +#[cfg(feature = "telegram")] fn main() { println!("Hello telegram world!") -} \ No newline at end of file +}