Skip to content

Commit

Permalink
Make Path struct public
Browse files Browse the repository at this point in the history
  • Loading branch information
kariy committed Dec 16, 2024
1 parent bfc6ad4 commit 9108a12
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)]
Expand Down
2 changes: 1 addition & 1 deletion src/trie/mod.rs
Original file line number Diff line number Diff line change
@@ -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;
Expand Down

0 comments on commit 9108a12

Please sign in to comment.