From 95d95f46db94b13dc425331dd4f093f8b2090b79 Mon Sep 17 00:00:00 2001 From: Kris Nuttycombe Date: Thu, 4 Aug 2022 08:31:16 -0600 Subject: [PATCH] Export position & hashing types from the top-level module. --- src/lib.rs | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 03ef14bc..c276cbf3 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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; @@ -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