Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog.d/marf-root-reexports.added
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
The core MARF types (`MARF`, `MARFOpenOpts`, `MarfConnection`, `MarfTransaction`) are now re-exported from the root of the `stacks-marf` crate, so they can be imported as `stacks_marf::MARF`. The existing `stacks_marf::marf::` paths keep working.
3 changes: 3 additions & 0 deletions stacks-marf/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@ pub mod trie_sql;
#[cfg(test)]
pub mod test;

// The core MARF types, re-exported so callers can write `stacks_marf::MARF`
// rather than `stacks_marf::marf::MARF`.
pub use crate::marf::{MARFOpenOpts, MarfConnection, MarfTransaction, MARF};
use crate::node::TrieNodePatch;

#[derive(Debug)]
Expand Down
Loading