Skip to content

Commit

Permalink
Export position & hashing types from the top-level module.
Browse files Browse the repository at this point in the history
  • Loading branch information
nuttycom committed Aug 4, 2022
1 parent ad2c751 commit 95d95f4
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
//! reset the state to.
//!
//! In this module, the term "ommer" is used as for the sibling of a parent node in a binary tree.
pub mod hashing;
pub mod position;
mod hashing;
mod position;

#[cfg(any(bench, test, feature = "test-dependencies"))]
pub mod testing;
Expand All @@ -43,9 +43,10 @@ use std::fmt::Debug;
use std::mem::size_of;
use std::ops::Range;

use crate::{
use crate::position::Source;
pub use crate::{
hashing::Hashable,
position::{Address, Level, Position, Source},
position::{Address, Level, Position},
};

/// Validation errors that can occur during reconstruction of a Merkle frontier from
Expand Down

0 comments on commit 95d95f4

Please sign in to comment.