basic creation
This commit is contained in:
parent
8b072325d8
commit
e15b2b407a
14 changed files with 1258 additions and 8 deletions
15
src/main.rs
15
src/main.rs
|
|
@ -1,5 +1,16 @@
|
|||
use json;
|
||||
use json::{self, JsonValue};
|
||||
use uuid::Uuid;
|
||||
|
||||
mod data;
|
||||
mod omikron;
|
||||
|
||||
use crate::omikron::omikronConnection::{OmikronConnection};
|
||||
use crate::data::communication::{CommunicationValue, LogLevel, LogValue, CommunicationType, DataTypes};
|
||||
|
||||
fn main() {
|
||||
println!("Hello, world!");
|
||||
let rt = tokio::runtime::Runtime::new().unwrap();
|
||||
let omikron = OmikronConnection::new();
|
||||
rt.block_on(async {
|
||||
omikron.connect().await;
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue