aboutsummaryrefslogtreecommitdiff
path: root/karld/src/main.rs
diff options
context:
space:
mode:
authormetamuffin <yvchraiqi@protonmail.com>2022-08-17 19:06:16 +0200
committermetamuffin <yvchraiqi@protonmail.com>2022-08-17 19:06:16 +0200
commit1ca0554367326b2004c59306e5f3c25b079e28ec (patch)
tree72258793eb33c6e32e3f0868b0a080b7f0fc81d5 /karld/src/main.rs
parentc0f90386900f0f767c7d0569e0f758d305af3d09 (diff)
downloadkarlender-1ca0554367326b2004c59306e5f3c25b079e28ec.tar
karlender-1ca0554367326b2004c59306e5f3c25b079e28ec.tar.bz2
karlender-1ca0554367326b2004c59306e5f3c25b079e28ec.tar.zst
websocket interface
Diffstat (limited to 'karld/src/main.rs')
-rw-r--r--karld/src/main.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/karld/src/main.rs b/karld/src/main.rs
index 2b95cb7..3e85b04 100644
--- a/karld/src/main.rs
+++ b/karld/src/main.rs
@@ -1,5 +1,6 @@
#![feature(box_syntax)]
#![feature(fs_try_exists)]
+#![feature(if_let_guard)]
pub mod condition;
pub mod demo;
@@ -12,9 +13,7 @@ use chrono::NaiveDateTime;
use condition::ConditionFind;
use crossbeam_channel::Sender;
use helper::Overlaps;
-use karlcommon::{
- ClientboundPacket, Condition, Property, ProtoError, Schedule, ServerboundPacket, Task,
-};
+use karlcommon::{ClientboundPacket, ProtoError, Schedule, ServerboundPacket, Task};
use log::{debug, error, info};
use std::{
collections::HashMap,