2024-04-15 01:58:09 +01:00
|
|
|
mod calendar;
|
|
|
|
mod trash;
|
|
|
|
|
|
|
|
#[tokio::main]
|
|
|
|
async fn main() {
|
2024-04-30 05:09:04 +01:00
|
|
|
match trash::get_pickup_dates().await {
|
|
|
|
Ok(dates) => {
|
|
|
|
let calendar = calendar::calendar_from_pickup_dates(dates);
|
|
|
|
calendar.print().unwrap();
|
|
|
|
}
|
|
|
|
Err(error) => {
|
|
|
|
eprintln!("{}", error);
|
|
|
|
}
|
|
|
|
}
|
2024-04-15 01:58:09 +01:00
|
|
|
}
|