Got a basic working structure in place

This commit is contained in:
2022-08-31 16:14:41 -04:00
parent 878a22be91
commit 0fa83eff42
6 changed files with 127 additions and 0 deletions

17
src/main.rs Normal file
View 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();
}