aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/lib.rs
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2025-11-21 22:53:38 +0100
committermat <git@matdoes.dev>2025-11-21 22:53:38 +0100
commit6930966aabf9b49fb6a0dc8b61076fa3f1abc298 (patch)
tree52bd3e48c96f0898d0dce494044fbb40915da73f /azalea-protocol/src/lib.rs
parentf464f0152a6450fafc86e1dc993b90e12e395fe7 (diff)
downloadazalea-drasl-6930966aabf9b49fb6a0dc8b61076fa3f1abc298.tar.xz
refactor resolve_address
Diffstat (limited to 'azalea-protocol/src/lib.rs')
-rw-r--r--azalea-protocol/src/lib.rs7
1 files changed, 6 insertions, 1 deletions
diff --git a/azalea-protocol/src/lib.rs b/azalea-protocol/src/lib.rs
index fdba34bc..45abf240 100644
--- a/azalea-protocol/src/lib.rs
+++ b/azalea-protocol/src/lib.rs
@@ -24,9 +24,14 @@ pub mod connect;
#[cfg(feature = "packets")]
pub mod packets;
pub mod read;
-pub mod resolver;
+pub mod resolve;
pub mod write;
+#[deprecated(note = "Renamed to resolve")]
+pub mod resolver {
+ pub use super::resolve::*;
+}
+
/// A host and port. It's possible that the port doesn't resolve to anything.
///
/// # Examples