Archived
1
0
Fork 0
forked from Anri/cal8tor
This repository has been archived on 2023-04-23. You can view files and clone it, but cannot push or open issues or pull requests.
cal8tor/src/main.rs

15 lines
288 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);
ics::export(builded_timetable, "target/debug2.ics");
2022-08-14 12:44:36 +02:00
}