Skip to content

Commit

Permalink
fix(data-resource): fix import statements for cryptographic-hash reso…
Browse files Browse the repository at this point in the history
…urces

Signed-off-by: Tarek <[email protected]>
  • Loading branch information
tareknaser committed May 11, 2024
1 parent 3f860aa commit e6ad074
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions data-resource/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ use std::{fmt::Debug, hash::Hash, path::Path};
#[cfg(not(feature = "non-cryptographic-hash"))]
mod blake3;
#[cfg(not(feature = "non-cryptographic-hash"))]
pub use blake3::ResourceId;
pub use blake3::ResourceId as Resource;
#[cfg(not(feature = "non-cryptographic-hash"))]
pub type ResourceId = <ResourceId as ResourceIdTrait>::HashType;
pub type ResourceId = <Resource as ResourceIdTrait>::HashType;

#[cfg(feature = "non-cryptographic-hash")]
mod crc32;
Expand Down

0 comments on commit e6ad074

Please sign in to comment.