replace winapi to windows crate (#1455)

This commit is contained in:
houseme
2026-01-10 02:15:08 +08:00
committed by GitHub
parent 9e162b6e9e
commit 04f441361e
5 changed files with 175 additions and 95 deletions
+1 -3
View File
@@ -14,8 +14,6 @@
use bytes::Bytes;
use futures::{Stream, StreamExt, pin_mut};
#[cfg(test)]
use std::sync::MutexGuard;
use std::{
collections::{HashMap, HashSet},
fmt::Display,
@@ -83,7 +81,7 @@ fn reset_dns_resolver_inner() {
#[cfg(test)]
pub struct MockResolverGuard {
_lock: MutexGuard<'static, ()>,
_lock: std::sync::MutexGuard<'static, ()>,
}
#[cfg(test)]