aboutsummaryrefslogtreecommitdiff
path: root/azalea-client/src
diff options
context:
space:
mode:
authorShayne Hartford <shaybox@shaybox.com>2024-11-23 03:29:30 -0500
committerGitHub <noreply@github.com>2024-11-23 02:29:30 -0600
commitdfdc3144b61b6750ad62fb493b7c00c6c820c90b (patch)
tree0cca5bcea62b3562152944b278c494401531d4d7 /azalea-client/src
parente443c5d76e706132ab554e97513d2b159f4ab0a1 (diff)
downloadazalea-drasl-dfdc3144b61b6750ad62fb493b7c00c6c820c90b.tar.xz
Update and merge the dependencies (#187)
* Add rust rover to .gitignore * Fold dependency feature lists * Sort dependencies alphabetically * Update dependencies * Upgrade dependencies * Comment out unused dependencies * Nightly is broken right now :) * Fix conflict with derive_more * cargo autoinherit to merge dependencies * Fix clippy lints
Diffstat (limited to 'azalea-client/src')
-rw-r--r--azalea-client/src/client.rs1
-rw-r--r--azalea-client/src/local_player.rs1
-rw-r--r--azalea-client/src/raw_connection.rs1
3 files changed, 1 insertions, 2 deletions
diff --git a/azalea-client/src/client.rs b/azalea-client/src/client.rs
index caeca7fe..9083a80b 100644
--- a/azalea-client/src/client.rs
+++ b/azalea-client/src/client.rs
@@ -3,7 +3,6 @@ use std::{
fmt::Debug,
io,
net::SocketAddr,
- ops::Deref,
sync::Arc,
time::{Duration, Instant},
};
diff --git a/azalea-client/src/local_player.rs b/azalea-client/src/local_player.rs
index b0582d8b..3cc77f9d 100644
--- a/azalea-client/src/local_player.rs
+++ b/azalea-client/src/local_player.rs
@@ -137,6 +137,7 @@ pub fn death_event(query: Query<&LocalPlayerEvents, Added<Dead>>) {
}
}
+#[allow(clippy::large_enum_variant)]
#[derive(Error, Debug)]
pub enum HandlePacketError {
#[error("{0}")]
diff --git a/azalea-client/src/raw_connection.rs b/azalea-client/src/raw_connection.rs
index 9f7a85f1..8cbb15a4 100644
--- a/azalea-client/src/raw_connection.rs
+++ b/azalea-client/src/raw_connection.rs
@@ -22,7 +22,6 @@ pub struct RawConnection {
writer: RawConnectionWriter,
/// Packets sent to this will be sent to the server.
-
/// A task that reads packets from the server. The client is disconnected
/// when this task ends.
read_packets_task: tokio::task::JoinHandle<()>,