Simple CUE sheet reader for Rust. Compiles on stable.
This library reads some CUE files fine, but is missing one important feature. Right now, indentation is treated as insignificant (= no proper contextual support).
For example, if REM fields appear after a TRACK field (but are indented to the FILE's level, it will be wrongly assigned to the TRACK instead.
See generated documentation or tests in parser.rs for usage and some examples.
Add this to your Cargo.toml under [dependencies]
rcue = { git = "https://github.com/gyng/rcue" }
In your program:
extern crate rcue;
use rcue::parser::parse;
use rcue::parser::parse_from_file;
fn main() {
let cue = parse_from_file("test/fixtures/unicode.cue", true).unwrap();
assert_eq!(cue.title, Some("マジコカタストロフィ".to_string()));
}- Significant indentation/context support
- Serializer
- Support for more commands