aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/lib.rs
diff options
context:
space:
mode:
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