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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#![feature(fs_read_write)]
#![feature(toowned_clone_into)]
#![feature(ascii_ctype)]

#[macro_use]
extern crate serde_derive;

#[macro_use]
extern crate juniper;

#[macro_use]
extern crate quick_error;

extern crate chrono;
extern crate humantime;
extern crate itertools;
extern crate serde_json;
extern crate r2d2;
extern crate r2d2_sqlite;
extern crate rand;
extern crate regex;
extern crate rusqlite;
extern crate app_dirs;
extern crate toml;

mod bangs;
mod error;
mod track;
mod taglibsharp;

pub use track::TrackFileType;
pub use track::Track;
pub use track::TaglibTrack;
pub use error::{Error, Result};
pub use bangs::Bang;

pub mod config;
pub mod database;
pub mod paths;

pub mod ticks {
    pub use bangs::ms_to_ticks;
    pub use bangs::ticks_to_ms;
}