Switch to a more standard (?) binary crate layout

This commit is contained in:
Arnaud (Arhuman) ASSAD 2022-05-16 07:22:24 +02:00
parent 8643faf519
commit d28da80b00
4 changed files with 11 additions and 4 deletions

View File

@ -7,4 +7,8 @@ edition = "2021"
[dependencies] [dependencies]
clap = { version = "3.1.6", features = ["derive"] } clap = { version = "3.1.6", features = ["derive"] }
regex = { version = "*" } config = { version = "0.13.1" }
serde_derive = { version = "1.0.8" }
serde = { version = "*" }
[dev-dependencies]

View File

@ -1,14 +1,17 @@
mod carman;
use clap::Parser; use clap::Parser;
use carman::Arguments;
use carman::Settings;
/// Carman code deployment Daemon /// Carman code deployment Daemon
mod arguments;
use arguments::Arguments;
mod settings;
use settings::Settings;
fn main() { fn main() {
let args = Arguments::parse(); let args = Arguments::parse();
let config = Settings::new();
println!("Hello, world!"); println!("Hello, world!");
println!("{:?}", args); println!("{:?}", args);
println!("{:?}", config);
} }