mirror of
https://github.com/floor-licker/polyfill-rs.git
synced 2026-08-17 22:48:07 +00:00
docs/chores/refactor
This commit is contained in:
+2
-2
@@ -3,13 +3,13 @@
|
||||
//! This module provides DNS caching functionality to avoid repeated DNS lookups
|
||||
//! which can add 10-20ms per request.
|
||||
|
||||
use hickory_resolver::config::*;
|
||||
use hickory_resolver::TokioAsyncResolver;
|
||||
use std::collections::HashMap;
|
||||
use std::net::IpAddr;
|
||||
use std::sync::Arc;
|
||||
use std::time::{Duration, Instant};
|
||||
use tokio::sync::RwLock;
|
||||
use hickory_resolver::config::*;
|
||||
use hickory_resolver::TokioAsyncResolver;
|
||||
|
||||
/// DNS cache entry with TTL
|
||||
#[derive(Clone, Debug)]
|
||||
|
||||
Reference in New Issue
Block a user