1
Fork 0
mirror of https://github.com/Steffo99/patched-porobot.git synced 2024-12-23 01:54:22 +00:00

Add branch for telegrambot binary without the required feature

This commit is contained in:
Steffo 2022-08-07 17:50:09 +02:00
parent 12d5517c46
commit c945f7e6c5
Signed by: steffo
GPG key ID: 6965406171929D01

View file

@ -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!")
}
}