Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: make reth-db compile without default features #8509

Merged
merged 2 commits into from
May 30, 2024

Conversation

mattsse
Copy link
Collaborator

@mattsse mattsse commented May 30, 2024

closes #8477

This crate is a little bit busted because it mixes the db abstraction with a feature gated implementation.

imo this should be split into reth-mdbx

@mattsse mattsse requested a review from onbjerg May 30, 2024 13:20
@mattsse mattsse added the A-db Related to the database label May 30, 2024
@github-actions github-actions bot added C-debt Refactor of code section that is hard to understand or maintain C-enhancement New feature or request labels May 30, 2024
@@ -73,98 +73,17 @@ pub mod tables;
mod utils;
pub mod version;

#[cfg(feature = "mdbx")]
/// Bindings for [MDBX](https://libmdbx.dqdkfa.ru/).
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

move doc to module file

@mattsse mattsse enabled auto-merge May 30, 2024 17:46
@mattsse mattsse added this pull request to the merge queue May 30, 2024
Merged via the queue into main with commit 80c0d61 May 30, 2024
30 checks passed
@mattsse mattsse deleted the matt/make-reth-db-compile branch May 30, 2024 18:08
mw2000 pushed a commit to mw2000/reth that referenced this pull request Jun 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-db Related to the database C-debt Refactor of code section that is hard to understand or maintain C-enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

reth-db does not compile without default features
2 participants