From a4312599f7c04709a92b7be238dcf577bafbb14f Mon Sep 17 00:00:00 2001 From: mat Date: Wed, 12 Nov 2025 04:26:02 +0330 Subject: cleanup - remove deprecated code - add `[lints] workspace=true` to every Cargo.toml, to make modifying clippy lints easier for later - remove some unnecessary #[allow]s - use Vec3i in some parts of the collision code --- azalea-auth/src/auth.rs | 4 ---- 1 file changed, 4 deletions(-) (limited to 'azalea-auth/src') diff --git a/azalea-auth/src/auth.rs b/azalea-auth/src/auth.rs index f299ba74..a4176d6c 100644 --- a/azalea-auth/src/auth.rs +++ b/azalea-auth/src/auth.rs @@ -224,7 +224,6 @@ pub struct DeviceCodeResponse { pub interval: u64, } -#[allow(unused)] #[derive(Debug, Deserialize, Serialize, Clone)] pub struct AccessTokenResponse { pub token_type: String, @@ -235,7 +234,6 @@ pub struct AccessTokenResponse { pub user_id: String, } -#[allow(unused)] #[derive(Debug, Deserialize)] #[serde(rename_all = "PascalCase")] pub struct XboxLiveAuthResponse { @@ -252,7 +250,6 @@ pub struct XboxLiveAuth { pub user_hash: String, } -#[allow(unused)] #[derive(Debug, Deserialize, Serialize)] pub struct MinecraftAuthResponse { pub username: String, @@ -270,7 +267,6 @@ pub struct GameOwnershipResponse { pub key_id: String, } -#[allow(unused)] #[derive(Debug, Deserialize)] pub struct GameOwnershipItem { pub name: String, -- cgit v1.2.3