diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6493332d2d5..07e27e25193 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,7 +11,7 @@ on: env: DIESEL_CLI_VERSION: 1.4.1 - RUST_VERSION: 1.62.1 + RUST_VERSION: 1.63.0 jobs: frontend: diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 9d8a9b27979..72f5763961c 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -9,7 +9,7 @@ on: env: CARGO_TARPAULIN_VERSION: 0.20.1 DIESEL_CLI_VERSION: 1.4.1 - RUST_VERSION: 1.62.1 + RUST_VERSION: 1.63.0 jobs: coverage: diff --git a/RustConfig b/RustConfig index 94f237d7e87..6c59636f604 100644 --- a/RustConfig +++ b/RustConfig @@ -1 +1 @@ -VERSION=1.62.1 +VERSION=1.63.0 diff --git a/src/models/action.rs b/src/models/action.rs index d8b945f80da..0fba86a1909 100644 --- a/src/models/action.rs +++ b/src/models/action.rs @@ -11,7 +11,7 @@ use std::io::Write; use crate::models::{ApiToken, User, Version}; use crate::schema::*; -#[derive(Debug, Clone, Copy, PartialEq, FromSqlRow, AsExpression)] +#[derive(Debug, Clone, Copy, PartialEq, Eq, FromSqlRow, AsExpression)] #[repr(i32)] #[sql_type = "Integer"] pub enum VersionAction { diff --git a/src/models/badge.rs b/src/models/badge.rs index e0a8cfd3498..cc5fe5ad870 100644 --- a/src/models/badge.rs +++ b/src/models/badge.rs @@ -19,7 +19,7 @@ pub struct CrateBadge { pub badge: Badge, } -#[derive(Debug, PartialEq, Clone, Deserialize, Serialize)] +#[derive(Debug, PartialEq, Eq, Clone, Deserialize, Serialize)] #[serde(rename_all = "kebab-case", tag = "badge_type", content = "attributes")] pub enum Badge { TravisCi { @@ -76,7 +76,7 @@ pub enum Badge { }, } -#[derive(Debug, PartialEq, Clone, Copy, Deserialize, Serialize)] +#[derive(Debug, PartialEq, Eq, Clone, Copy, Deserialize, Serialize)] #[serde(rename_all = "kebab-case")] pub enum MaintenanceStatus { ActivelyDeveloped, diff --git a/src/views.rs b/src/views.rs index 787fafb968a..569ce543817 100644 --- a/src/views.rs +++ b/src/views.rs @@ -14,7 +14,7 @@ use crate::util::rfc3339; /// and are possibly of malicious intent e.g. ad tracking networks, etc. const DOCUMENTATION_BLOCKLIST: &[&str] = &["rust-ci.org", "rustless.org", "ironframework.io"]; -#[derive(PartialEq, Debug, Serialize, Deserialize)] +#[derive(PartialEq, Eq, Debug, Serialize, Deserialize)] pub struct EncodableBadge { pub badge_type: String, pub attributes: HashMap>,