Skip to content

Commit

Permalink
Merge pull request #64 from HerodotusDev/0.4.8-added-hashing-to-enum-…
Browse files Browse the repository at this point in the history
…for-cache

v0.4.8 - Derive Hash for Hashing Function
  • Loading branch information
beeinger authored Oct 1, 2024
2 parents 195cdac + 0648346 commit 0df2e5e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -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)"
Expand Down
2 changes: 1 addition & 1 deletion src/hasher/core.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 0df2e5e

Please sign in to comment.