UltraStar Deluxe parser
About
This is a rust parser for USDX song files. Files are written as a plaintext files that contain data about the song and notes/lyrics.
Usage
Direct read from a file:
let song = from_file.unwrap;
dbg!;
Read from a &str
:
let text = read_to_string.unwrap;
let song = from_str.unwrap;
dbg!;
Parse directly from String:
let text = r#"
#ARTIST:Three Days Grace
#TITLE:I Hate Everything About You
#MP3:i_hate_everything_about_you.ogg
#LANGUAGE:English
#BPM:100
#GAP:100
"#;
let song: Song = text.to_string.into;
dbg!;