diff options
| author | mat <git@matdoes.dev> | 2025-11-12 04:26:02 +0330 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2025-11-11 18:56:14 -0600 |
| commit | a4312599f7c04709a92b7be238dcf577bafbb14f (patch) | |
| tree | bef58dca34239bac54649ab1e0db2597de10212c /azalea-auth/src/auth.rs | |
| parent | ac2b425615dd6cd8562c290e33b06e553559802d (diff) | |
| download | azalea-drasl-a4312599f7c04709a92b7be238dcf577bafbb14f.tar.xz | |
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
Diffstat (limited to 'azalea-auth/src/auth.rs')
| -rw-r--r-- | azalea-auth/src/auth.rs | 4 |
1 files changed, 0 insertions, 4 deletions
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, |
