Rust: Setup core architecture
This commit is contained in:
parent
bed93fd58c
commit
397ed5a236
6 changed files with 217 additions and 3 deletions
|
|
@ -1,3 +1,11 @@
|
|||
use tori::{conf, log, run};
|
||||
|
||||
fn main() {
|
||||
println!("Hello, Rust!");
|
||||
log::elog(&format!("tori {}", env!("CARGO_PKG_VERSION")));
|
||||
let configuration = conf::load();
|
||||
log::elog(&format!("Configuration: {configuration:#?}"));
|
||||
let mut order = run::teller::parse(std::env::args());
|
||||
log::elog(&format!("Order: {order:#?}"));
|
||||
order.fill();
|
||||
log::elog(&format!("Filled Order: {order:#?}"));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue