From 1ca0554367326b2004c59306e5f3c25b079e28ec Mon Sep 17 00:00:00 2001 From: metamuffin Date: Wed, 17 Aug 2022 19:06:16 +0200 Subject: websocket interface --- karld/src/main.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'karld/src/main.rs') 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, -- cgit v1.2.3-70-g09d2