Switch to a more standard (?) binary crate layout
This commit is contained in:
parent
8643faf519
commit
d28da80b00
|
@ -7,4 +7,8 @@ edition = "2021"
|
|||
|
||||
[dependencies]
|
||||
clap = { version = "3.1.6", features = ["derive"] }
|
||||
regex = { version = "*" }
|
||||
config = { version = "0.13.1" }
|
||||
serde_derive = { version = "1.0.8" }
|
||||
serde = { version = "*" }
|
||||
|
||||
[dev-dependencies]
|
||||
|
|
|
@ -1,14 +1,17 @@
|
|||
mod carman;
|
||||
use clap::Parser;
|
||||
use carman::Arguments;
|
||||
use carman::Settings;
|
||||
|
||||
/// Carman code deployment Daemon
|
||||
mod arguments;
|
||||
use arguments::Arguments;
|
||||
|
||||
mod settings;
|
||||
use settings::Settings;
|
||||
|
||||
fn main() {
|
||||
let args = Arguments::parse();
|
||||
let config = Settings::new();
|
||||
|
||||
println!("Hello, world!");
|
||||
println!("{:?}", args);
|
||||
println!("{:?}", config);
|
||||
}
|
Loading…
Reference in New Issue