chore(deps): Update rand and log imports

This commit is contained in:
Nils Andreas Svee committed 2026-02-21 00:22:57 +07:00
1 parent ad84618b46
commit a427d4078b
3 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
use crate::MeasurementType; use crate::MeasurementType;
use etherparse::err::packet::SliceError; use etherparse::err::packet::SliceError;
use log::{debug, error}; use log::debug;
use socket2::{Domain, Protocol, SockAddr, Socket, Type}; use socket2::{Domain, Protocol, SockAddr, Socket, Type};
use std::net::{IpAddr, Ipv4Addr, Ipv6Addr, SocketAddrV4, SocketAddrV6}; use std::net::{IpAddr, Ipv4Addr, Ipv6Addr, SocketAddrV4, SocketAddrV6};
use std::str::FromStr; use std::str::FromStr;
+2 -2
View File
@@ -1,8 +1,8 @@
use crate::netlink::{Netlink, NetlinkError, Qdisc}; use crate::netlink::{Netlink, NetlinkError, Qdisc};
use crate::{Config, ReflectorStats}; use crate::{Config, ReflectorStats};
use log::{debug, error, info, warn}; use log::{debug, info, warn};
use rand::seq::IndexedRandom; use rand::seq::IndexedRandom;
use rand::{rng, RngCore}; use rand::{rng, Rng};
use std::collections::HashMap; use std::collections::HashMap;
use std::fs::File; use std::fs::File;
use std::io::Write; use std::io::Write;
+1 -1
View File
@@ -1,7 +1,7 @@
use crate::{Config, ReflectorStats}; use crate::{Config, ReflectorStats};
use log::{debug, info}; use log::{debug, info};
use rand::{rng, Rng};
use rand::seq::IndexedRandom; use rand::seq::IndexedRandom;
use rand::{rng, RngExt};
use std::collections::HashMap; use std::collections::HashMap;
use std::net::IpAddr; use std::net::IpAddr;
use std::sync::mpsc::Receiver; use std::sync::mpsc::Receiver;