replace itertools with just either
All checks were successful
CI / checks (push) Successful in 37s

This commit is contained in:
Robin Appelman 2025-05-23 22:13:50 +02:00
commit e0fa41e29d
3 changed files with 6 additions and 15 deletions

View file

@ -58,9 +58,9 @@ pub mod headers;
use crate::headers::{
extract_forwarded_header, extract_real_ip_header, extract_x_forwarded_for_header,
};
use either::Either;
use http::HeaderMap;
pub use ipnet::IpNet;
use itertools::Either;
use std::iter::{empty, once};
use std::net::IpAddr;