Skip to content

Commit

Permalink
Replace core with ark_std
Browse files Browse the repository at this point in the history
  • Loading branch information
autquis committed Oct 22, 2024
1 parent 87cc830 commit 9979306
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions crypto-primitives/src/merkle_tree/mod.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
#![allow(clippy::needless_range_loop)]

use core::hash::BuildHasherDefault;

/// Defines a trait to chain two types of CRHs.
use crate::{
crh::{CRHScheme, TwoToOneCRHScheme},
Expand All @@ -11,7 +9,12 @@ use crate::{
use ark_serialize::{CanonicalDeserialize, CanonicalSerialize};
#[cfg(not(feature = "std"))]
use ark_std::vec::Vec;
use ark_std::{borrow::Borrow, collections::BTreeSet, fmt::Debug, hash::Hash};
use ark_std::{
borrow::Borrow,
collections::BTreeSet,
fmt::Debug,
hash::{BuildHasherDefault, Hash},
};
use hashbrown::HashMap;
#[cfg(feature = "parallel")]
use rayon::prelude::*;
Expand Down

0 comments on commit 9979306

Please sign in to comment.