Skip to content
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rcue

Build Status

Documentation

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.

Usage

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()));
}

TODO

  • Significant indentation/context support
  • Serializer
  • Support for more commands

About

Simple CUE sheet reader for Rust

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages