From 2c0590fa2424cbf7b92f611507e1a19e2656d00e Mon Sep 17 00:00:00 2001 From: Thomas Epperson Date: Wed, 20 Mar 2024 11:09:54 -0500 Subject: [PATCH] Add PartialEq to scrypt::Params --- scrypt/src/params.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scrypt/src/params.rs b/scrypt/src/params.rs index 337567eb..b1cefeab 100644 --- a/scrypt/src/params.rs +++ b/scrypt/src/params.rs @@ -6,7 +6,7 @@ use crate::errors::InvalidParams; use password_hash::{errors::InvalidValue, Error, ParamsString, PasswordHash}; /// The Scrypt parameter values. -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, PartialEq)] pub struct Params { pub(crate) log_n: u8, pub(crate) r: u32,