Первый коммит

This commit is contained in:
2025-03-21 07:25:42 +04:00
commit f1d812ddb8
14 changed files with 2986 additions and 0 deletions

15
src/main.rs Normal file
View File

@@ -0,0 +1,15 @@
use std::fs;
use std::path::Path;
use schedule_parser::parse_xls;
fn main() {
let groups = parse_xls(Path::new("./schedule.xls"));
fs::write(
"./schedule.json",
serde_json::to_string_pretty(&groups)
.expect("Failed to serialize schedule!")
.as_bytes(),
)
.expect("Failed to write schedule");
}