Skip to content

refactor: re-export the core MARF types at the stacks-marf root - #7752

Open
rob-stacks wants to merge 1 commit into
stacks-network:mainfrom
rob-stacks:marf/r-root-reexports
Open

rob-stacks wants to merge 1 commit into
stacks-network:mainfrom
rob-stacks:marf/r-root-reexports

Conversation

@rob-stacks

Copy link
Copy Markdown
Contributor

Description

Addresses @cylewitruk-stacks' review comment on #7697: having the core types under a marf module inside the stacks_marf crate is redundant, so they should live at, or be re-exported from, the crate root.

pub use crate::marf::{MARFOpenOpts, MarfConnection, MarfTransaction, MARF};

Callers can now write stacks_marf::MARF instead of stacks_marf::marf::MARF. It's additive: the existing stacks_marf::marf::… paths keep working, so no call sites change here. They can migrate whenever they're next touched.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants