Skip to content

Commit 5a5dd16

Browse files
committed
fix linter errors
1 parent 3e20ad3 commit 5a5dd16

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

src/http.rs

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ use std::{
22
collections::HashMap,
33
net::{IpAddr, Ipv4Addr, SocketAddr},
44
path::Path,
5-
sync::{atomic::Ordering, Arc, LazyLock, RwLock},
5+
sync::{atomic::Ordering, Arc, RwLock},
66
time::Duration,
77
};
88

@@ -20,11 +20,7 @@ use axum_extra::extract::cookie::Key;
2020
use clap::crate_version;
2121
use defguard_version::{server::DefguardVersionLayer, Version};
2222
use serde::Serialize;
23-
use tokio::{
24-
net::TcpListener,
25-
sync::{mpsc, oneshot, Mutex},
26-
task::JoinSet,
27-
};
23+
use tokio::{net::TcpListener, sync::oneshot, task::JoinSet};
2824
use tower_governor::{
2925
governor::GovernorConfigBuilder, key_extractor::SmartIpKeyExtractor, GovernorLayer,
3026
};

0 commit comments

Comments
 (0)