Got a basic working structure in place
This commit is contained in:
17
src/main.rs
Normal file
17
src/main.rs
Normal file
@@ -0,0 +1,17 @@
|
||||
use config::Config;
|
||||
use repository::Repository;
|
||||
use transcoder::Transcoder;
|
||||
|
||||
mod config;
|
||||
mod repository;
|
||||
mod transcoder;
|
||||
|
||||
fn main() {
|
||||
// create and initialize our config and repository objects
|
||||
let c: Config = Config::new("~/.config/adept.toml");
|
||||
let r: Repository = Repository::new(&c.get_repository());
|
||||
|
||||
// create and start the video transcoder object
|
||||
let t: Transcoder = Transcoder::new(c, r);
|
||||
t.start();
|
||||
}
|
Reference in New Issue
Block a user