rust_mc_status/core/mod.rs
1//! Internal infrastructure modules.
2//!
3//! These modules provide the plumbing that [`McClient`](crate::McClient) relies
4//! on — DNS resolution, response caching, address parsing, and timing. They are
5//! `pub` so that integration tests can reach internal types directly, but they
6//! are **not part of the stable public API** and may change between minor
7//! versions.
8//!
9//! | Module | Purpose |
10//! |--------|---------|
11//! | [`address`] | Parse `"host"`, `"host:port"`, `"[::1]:port"` strings |
12//! | [`cache`] | LRU + TTL response cache with in-flight deduplication |
13//! | [`dns`] | Async DNS/SRV resolver with per-client LRU cache |
14//! | [`fmt`] | Minecraft `§`-code stripping and Unicode-safe truncation |
15//! | [`time`] | Monotonic latency measurement via `tokio::time::Instant` |
16
17pub mod dns;
18pub mod cache;
19pub mod address;
20pub mod time;
21pub mod fmt;