From 3bcc8b90b137797357240534022de49eedeb21c1 Mon Sep 17 00:00:00 2001 From: Penguin Date: Thu, 17 Mar 2022 14:28:28 -0500 Subject: [PATCH] . --- Cargo.lock | 5 ----- src/main.rs | 55 +++++++++++++++++++++++++++++------------------------ 2 files changed, 30 insertions(+), 30 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index df35607..6e1499d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -171,11 +171,6 @@ dependencies = [ [[package]] name = "igloo" version = "0.1.1" -dependencies = [ - "igloo_agent", - "igloo_core", - "igloo_util", -] [[package]] name = "igloo_agent" diff --git a/src/main.rs b/src/main.rs index 8860a7c..bc5c996 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,31 +1,36 @@ // #![allow(warnings)] -#![allow(non_snake_case)] -#![allow(non_camel_case_types)] - -use igloo_core::Igloo; - -#[macro_use] extern crate igloo_util; -use igloo_util::IglooDebugSeverity::{self, *}; -use igloo_util::IglooStatus::{self, *}; -use igloo_util::IglooType::{self, *}; -use igloo_util::TRACE_LEVEL; +// #![allow(non_snake_case)] +// #![allow(non_camel_case_types)] +// +// use igloo_core::Igloo; +// +// #[macro_use] extern crate igloo_util; +// use igloo_util::IglooDebugSeverity::{self, *}; +// use igloo_util::IglooStatus::{self, *}; +// use igloo_util::IglooType::{self, *}; +// use igloo_util::TRACE_LEVEL; +// +// fn main() +// { +// let mut ig = Igloo::new(); +// let _start_ret = match ig.start() +// { +// Ok(it) => +// { +// match ig.run(it) +// { +// +// IS_GOOD => (), +// // this is actually so dumb and should not exist in any language +// ANYTHING_ELSE => igloo_debug!(ERROR, ANYTHING_ELSE), +// } +// } +// Err(e) => println!("Error: {:?}", e), +// }; +// +// } fn main() { - let mut ig = Igloo::new(); - let _start_ret = match ig.start() - { - Ok(it) => - { - match ig.run(it) - { - - IS_GOOD => (), - // this is actually so dumb and should not exist in any language - ANYTHING_ELSE => igloo_debug!(ERROR, ANYTHING_ELSE), - } - } - Err(e) => println!("Error: {:?}", e), - }; }