diff --git a/warpgate-common/src/config/defaults.rs b/warpgate-common/src/config/defaults.rs index cc94d76b..56f87bda 100644 --- a/warpgate-common/src/config/defaults.rs +++ b/warpgate-common/src/config/defaults.rs @@ -1,4 +1,4 @@ -use std::net::{Ipv6Addr, SocketAddr, ToSocketAddrs}; +use std::net::{Ipv6Addr, SocketAddr}; use std::time::Duration; use crate::{ListenEndpoint, Secret}; diff --git a/warpgate-core/src/config_providers/db.rs b/warpgate-core/src/config_providers/db.rs index 9906a091..58268192 100644 --- a/warpgate-core/src/config_providers/db.rs +++ b/warpgate-core/src/config_providers/db.rs @@ -2,7 +2,7 @@ use std::collections::{HashMap, HashSet}; use std::sync::Arc; use async_trait::async_trait; -use chrono::{DateTime, Utc}; +use chrono::Utc; use data_encoding::BASE64; use sea_orm::{ ActiveModelTrait, ColumnTrait, DatabaseConnection, EntityTrait, ModelTrait, QueryFilter,