From 06483469dcde12caaa962d080f6d877b42d63f66 Mon Sep 17 00:00:00 2001 From: Marcin Wajdzik Date: Tue, 1 Oct 2024 09:42:56 +0200 Subject: [PATCH] feat: derived hash --- Cargo.toml | 2 +- src/hasher/core.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 50bbff7..c415715 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "accumulators" -version = "0.4.7" +version = "0.4.8" edition = "2021" license-file = "LICENSE" description = "Complete package of multiple Accumulators with Stores and hashing functions (Hashers)" diff --git a/src/hasher/core.rs b/src/hasher/core.rs index 574fbfc..bb07500 100644 --- a/src/hasher/core.rs +++ b/src/hasher/core.rs @@ -45,7 +45,7 @@ pub trait Hasher: Send + Sync + Debug { } /// Hashing functions types supported by the hasher -#[derive(EnumIter, Debug, PartialEq, Eq, Clone, Copy)] +#[derive(EnumIter, Debug, PartialEq, Eq, Clone, Copy, Hash)] pub enum HashingFunction { Keccak256, Poseidon,