diff options
Diffstat (limited to 'azalea-auth')
| -rw-r--r-- | azalea-auth/Cargo.toml | 3 | ||||
| -rw-r--r-- | azalea-auth/src/auth.rs | 4 |
2 files changed, 3 insertions, 4 deletions
diff --git a/azalea-auth/Cargo.toml b/azalea-auth/Cargo.toml index db6837df..c33945df 100644 --- a/azalea-auth/Cargo.toml +++ b/azalea-auth/Cargo.toml @@ -31,3 +31,6 @@ uuid = { workspace = true, features = ["serde", "v3"] } [dev-dependencies] env_logger.workspace = true tokio = { workspace = true, features = ["full"] } + +[lints] +workspace = true 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, |
