This repository has been archived on 2024-05-23. You can view files and clone it, but cannot push or open issues or pull requests.
cal8tor/src/main.rs

15 lines
287 B
Rust
Raw Normal View History

2022-08-16 10:32:46 +02:00
mod ics;
mod info;
2022-08-15 14:52:57 +02:00
mod timetable;
2022-08-12 21:20:39 +02:00
2022-08-12 19:55:28 +02:00
#[tokio::main]
2022-08-14 12:44:36 +02:00
async fn main() {
2022-08-15 19:20:10 +02:00
let timetable = timetable::timetable(3, 1, None).await;
2022-08-12 21:20:39 +02:00
2022-08-15 19:20:10 +02:00
let info = info::info().await;
let builded_timetable = timetable::build(timetable, info);
2022-08-16 12:25:01 +02:00
ics::export(builded_timetable, "target/debug.ics");
2022-08-14 12:44:36 +02:00
}