disallow some methods from itertools

This commit is contained in:
Luna Yao
2026-04-06 18:28:30 +02:00
parent 6af62e939e
commit 5a8a1d3e6b
11 changed files with 44 additions and 40 deletions
+1 -2
View File
@@ -38,7 +38,6 @@ use crate::{
};
use crossbeam::atomic::AtomicCell;
use hmac::{Hmac, Mac};
use itertools::Itertools;
use parking_lot::RwLock;
use sha2::Sha256;
use socket2::Protocol;
@@ -710,7 +709,7 @@ impl DnsGlobalCtxExt for GlobalCtx {
zones: self
.dns_iter_zones()
.filter(|z| z.policy.export.as_ref().is_some_and(|f| !f.disabled)) // TODO: check policies of parent zones
.map_into()
.map(Into::into)
.collect(),
fqdn: self.config.get_dns().get_fqdn().to_string(),
}