From 9108a1264fd82f5e68f5056f8df767042440825f Mon Sep 17 00:00:00 2001 From: Ammar Arif Date: Mon, 16 Dec 2024 10:34:15 -0500 Subject: [PATCH] Make Path struct public --- src/lib.rs | 1 + src/trie/mod.rs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 97e44db..573429f 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -128,6 +128,7 @@ pub mod id; pub use bonsai_database::{BonsaiDatabase, BonsaiPersistentDatabase, DBError, DatabaseKey}; pub use error::BonsaiStorageError; +pub use trie::path::Path; pub use trie::proof::{MultiProof, ProofNode}; #[cfg(test)] diff --git a/src/trie/mod.rs b/src/trie/mod.rs index 41e38d6..08c0688 100644 --- a/src/trie/mod.rs +++ b/src/trie/mod.rs @@ -1,6 +1,6 @@ pub(crate) mod iterator; mod merkle_node; -mod path; +pub(crate) mod path; pub(crate) mod proof; pub mod tree; pub(crate) mod trees;