fix: cleanup imports

This commit is contained in:
Paul 2023-01-06 13:11:08 +01:00
parent 7b598b549c
commit c05789132d
3 changed files with 2 additions and 4 deletions

View File

@ -1,5 +1,5 @@
use crate::config::Context;
use crate::utils::*;
use crate::utils::gethostname;
use chrono::prelude::*;
use ipnet::IpNet;

View File

@ -2,7 +2,7 @@ use crate::config::{Context, GIT_VERSION};
use crate::fw;
use crate::ip::{filter, push_ip, IpData};
use crate::utils::{gethostname, read_lines, sleep_s};
use crate::zmqcom::*;
use crate::zmqcom::zconnect;
use chrono::prelude::*;
use chrono::prelude::{DateTime, Local};

View File

@ -1,7 +1,5 @@
use crate::config::ZMQ;
use zmq;
const ZMQPROTO: &str = "tcp";
pub async fn zconnect(zmqcfg: &ZMQ, zmqtype: zmq::SocketType) -> Result<zmq::Socket, zmq::Error> {