mod config; mod state; mod constants; mod tcontract; use crate::config::Config; use crate::state::NewVMRequest; fn main() -> Result<(), Box> { // let config = Config::from_file("test_data/config1.yaml")?; // println!("{:#?}", config); // let config = Config::from_file("test_data/config2.yaml")?; // println!("{:#?}", config); // let config = Config::from_file("test_data/config3.yaml")?; // println!("{:#?}", config); // let config = Config::from_file("test_data/config4.yaml")?; // println!("{:#?}", config); // let config = Config::from_file("test_data/config5.yaml")?; // println!("{:#?}", config); let new_vm_req = NewVMRequest::from_file("test_data/new_vm_req1.yaml")?; println!("{:#?}", new_vm_req); let new_vm_req = NewVMRequest::from_file("test_data/new_vm_req2.yaml")?; println!("{:#?}", new_vm_req); let new_vm_req = NewVMRequest::from_file("test_data/new_vm_req3.yaml")?; println!("{:#?}", new_vm_req); let new_vm_req = NewVMRequest::from_file("test_data/new_vm_req4.yaml")?; println!("{:#?}", new_vm_req); Ok(()) }