Compare commits

...

10 Commits

7
Cargo.lock generated

@ -170,12 +170,7 @@ dependencies = [
[[package]] [[package]]
name = "igloo" name = "igloo"
version = "0.1.1" version = "1.0.0"
dependencies = [
"igloo_agent",
"igloo_core",
"igloo_util",
]
[[package]] [[package]]
name = "igloo_agent" name = "igloo_agent"

@ -1,18 +1,15 @@
[package] [package]
name = "igloo" name = "igloo"
version = "0.1.1" version = "1.0.2"
authors = ["Penguin <...>"] authors = ["Penguin <...>"]
edition = "2021" edition = "2021"
repository = "https://github.com/Embedded-Penguin/ePenguin-igloo/" repository = "https://github.com/Embedded-Penguin/ePenguin-igloo/"
readme = "README.md" readme = "README.md"
description = "This project is abandoned. If you'd like the name, please email help@crates.io. I consent to the transfer to the first person who asks for it." description = "I am bringing this project back..."
license="GPL-2.0" license="GPL-2.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies] [dependencies]
igloo_core = { path = "./igloo_core" }
igloo_agent = { path = "./igloo_agent" }
igloo_util = { path = "./igloo_util" }
[workspace] [workspace]

@ -1,31 +1,36 @@
// #![allow(warnings)] // #![allow(warnings)]
#![allow(non_snake_case)] // #![allow(non_snake_case)]
#![allow(non_camel_case_types)] // #![allow(non_camel_case_types)]
//
use igloo_core::Igloo; // use igloo_core::Igloo;
//
#[macro_use] extern crate igloo_util; // #[macro_use] extern crate igloo_util;
use igloo_util::IglooDebugSeverity::{self, *}; // use igloo_util::IglooDebugSeverity::{self, *};
use igloo_util::IglooStatus::{self, *}; // use igloo_util::IglooStatus::{self, *};
use igloo_util::IglooType::{self, *}; // use igloo_util::IglooType::{self, *};
use igloo_util::TRACE_LEVEL; // 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() 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),
};
} }

Loading…
Cancel
Save