Linting.
This commit is contained in:
parent
5dae42cc13
commit
1a4add2caa
3 changed files with 9 additions and 9 deletions
|
@ -1,9 +1,9 @@
|
||||||
use clap::Parser;
|
use clap::Parser;
|
||||||
use helpers::command_output;
|
use helpers::command_output;
|
||||||
use std::{str::FromStr, collections::HashMap};
|
use std::{str::FromStr, collections::HashMap};
|
||||||
use tokio::io::{self, AsyncBufReadExt, BufReader};
|
use tokio::io::{AsyncBufReadExt, BufReader};
|
||||||
use warp::Filter;
|
use warp::Filter;
|
||||||
use wg::Peer;
|
|
||||||
|
|
||||||
mod event;
|
mod event;
|
||||||
mod helpers;
|
mod helpers;
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
use std::str::FromStr;
|
|
||||||
use std::sync::Arc;
|
|
||||||
|
|
||||||
use cidr::IpInet;
|
|
||||||
|
|
||||||
|
|
||||||
use serde::{Deserialize, Serialize};
|
use serde::{Deserialize, Serialize};
|
||||||
use tokio::sync::Mutex;
|
|
||||||
|
|
||||||
use crate::event::Event;
|
use crate::event::Event;
|
||||||
|
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
use cidr::IpInet;
|
use cidr::IpInet;
|
||||||
use serde::de::{self, Error as _, MapAccess, Visitor};
|
|
||||||
use serde::{Deserialize, Deserializer, Serialize};
|
use serde::{Deserialize, Deserializer, Serialize};
|
||||||
use serde_with::formats::CommaSeparator;
|
use serde_with::formats::CommaSeparator;
|
||||||
use serde_with::StringWithSeparator;
|
use serde_with::StringWithSeparator;
|
||||||
use serde_with::{serde_as, Map, Seq};
|
use serde_with::{serde_as};
|
||||||
use std::collections::HashMap;
|
|
||||||
use std::path::{Path, PathBuf};
|
use std::path::{Path, PathBuf};
|
||||||
|
|
||||||
fn de_one_many<'de, T, D>(deserializer: D) -> Result<Vec<T>, D::Error>
|
fn de_one_many<'de, T, D>(deserializer: D) -> Result<Vec<T>, D::Error>
|
||||||
|
|
Loading…
Reference in a new issue