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
extern crate notify; extern crate directories; extern crate toml; #[macro_use] extern crate serde_derive; mod config; mod calc; mod track; mod clear; use config::Configuration; pub use config::get_config; pub struct TimeTracker<'a> { config: &'a Configuration } impl<'a> TimeTracker<'a> { pub fn new(config: &'a Configuration) -> Self { TimeTracker { config } } }