1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
//! # Ultrastar TXT Library
//! This is a small library that is able to parse and generate song files for the open source karaoke game Ultrastar.
#![deny(missing_docs)]

#[macro_use]
extern crate error_chain;
#[macro_use]
extern crate lazy_static;
extern crate regex;

/// this module contains the parser
pub mod parser;
/// this module contains the structs that represent the parsed data
pub mod structs;
/// this module contains the generator
pub mod generator;

#[cfg(feature = "file-support")]
/// this module contains functions to parse songs from a path
pub mod loader;

pub use parser::*;
pub use structs::*;
pub use generator::*;

#[cfg(feature = "file-support")]
pub use loader::*;