1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
#[macro_use]
extern crate serde_derive;
extern crate preferences;
use preferences::AppInfo;

pub mod bar;
pub mod cmd;
pub mod error;
pub mod helpers;

#[cfg(test)]
mod tests;

const PERCENTAGE_SCALAR: f64 = 3.0;
const PREF_DDAY: &str = "timebar/ddays";
const PREF_LIFE: &str = "timebar/life";
const APP_INFO: AppInfo = AppInfo {
  name: "timebar",
  author: "Sung Kwon",
};