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:
parent
12d5517c46
commit
c945f7e6c5
1 changed files with 6 additions and 3 deletions
|
@ -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() {
|
fn main() {
|
||||||
println!("Hello telegram world!")
|
println!("Hello telegram world!")
|
||||||
}
|
}
|
Loading…
Reference in a new issue