Skip to content

Commit ea16655

Browse files
authored
Add partialeq to the HashAlgorithm struct (#13)
1 parent ed9e5d2 commit ea16655

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "atlas-c2pa-lib"
3-
version = "0.1.0"
3+
version = "0.1.1"
44
edition = "2021"
55
description = "A Rust library for creating, signing, and verifying machine learning assets with C2PA"
66
authors = ["Intel Labs"]

src/cose.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ use openssl::sign::{Signer, Verifier};
160160
use std::str::FromStr;
161161

162162
/// Supported hash algorithms for COSE signing and verification
163-
#[derive(Debug, Clone)]
163+
#[derive(Debug, PartialEq, Clone)]
164164
pub enum HashAlgorithm {
165165
/// SHA-256 hash algorithm (256-bit)
166166
Sha256,

0 commit comments

Comments
 (0)