aboutsummaryrefslogtreecommitdiff
path: root/karld/src/main.rs
diff options
context:
space:
mode:
authormetamuffin <yvchraiqi@protonmail.com>2022-06-10 10:59:47 +0200
committermetamuffin <yvchraiqi@protonmail.com>2022-06-10 10:59:47 +0200
commit6f6db73a126057514912c5e6b372ef225a1065b7 (patch)
tree22518de3c0213d85166aa53f0fa476a6d8e2d780 /karld/src/main.rs
parent3238f8517097745032e19b3e26f57f0465a00b28 (diff)
downloadkarlender-6f6db73a126057514912c5e6b372ef225a1065b7.tar
karlender-6f6db73a126057514912c5e6b372ef225a1065b7.tar.bz2
karlender-6f6db73a126057514912c5e6b372ef225a1065b7.tar.zst
moved code to another crate
Diffstat (limited to 'karld/src/main.rs')
-rw-r--r--karld/src/main.rs8
1 files changed, 1 insertions, 7 deletions
diff --git a/karld/src/main.rs b/karld/src/main.rs
index ae49ad3..6cf902e 100644
--- a/karld/src/main.rs
+++ b/karld/src/main.rs
@@ -1,16 +1,10 @@
pub mod condition;
pub mod interface;
-pub mod protocol;
use std::{collections::HashMap, sync::RwLock};
-
-use crate::{
- condition::{Condition, Property},
- protocol::Task,
-};
use crossbeam_channel::Sender;
use interface::network_loop;
-use protocol::{ClientboundPacket, ServerboundPacket};
+use karlcommon::{Task, Condition, Property, ServerboundPacket, ClientboundPacket};
fn main() {
env_logger::init();