mod crd;
mod r#gen;
mod graphics;
mod reconciler;
mod resources;
mod steps;
fn main() -> Result<(), Box<dyn std::error::Error>> {
let rt = tokio::runtime::Builder::new_current_thread()
.enable_all()
.build()
.unwrap();
println!("Starting the Elevator Operator which can go up and down!");
tracing_subscriber::fmt()
.with_max_level(tracing::Level::TRACE)
.init();
rustls::crypto::ring::default_provider()
.install_default()
.expect("could not init TLS");
let controller = rt.block_on(reconciler::Reconciler::start());
rt.block_on(controller);
Ok(())
}