use torque_tracker_engine::file; fn main() { // let file = include_bytes!("../test-files/test-1.it"); // let mut reader = std::io::Cursor::new(&file); // let song = file::parse_song(&mut reader); let path = std::env::args().nth(1).unwrap(); println!("path: {path}"); // let file_content = std::fs::read(&path).unwrap(); // assert!(file_content == file); let file = std::fs::File::open(&path).unwrap(); println!("file len: {}", file.metadata().unwrap().len()); let mut reader = std::io::BufReader::new(file); let song = file::parse_song(&mut reader).unwrap(); println!("{song:?}"); }