reth_prune/
lib.rs

1//! Pruning implementation.
2
3#![doc(
4    html_logo_url = "https://raw.githubusercontent.com/paradigmxyz/reth/main/assets/reth-docs.png",
5    html_favicon_url = "https://avatars0.githubusercontent.com/u/97369466?s=256",
6    issue_tracker_base_url = "https://github.com/paradigmxyz/reth/issues/"
7)]
8#![cfg_attr(not(test), warn(unused_crate_dependencies))]
9#![allow(missing_docs)]
10#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))]
11
12mod builder;
13mod db_ext;
14mod error;
15mod limiter;
16mod metrics;
17mod pruner;
18pub mod segments;
19
20use crate::metrics::Metrics;
21pub use builder::PrunerBuilder;
22pub use error::PrunerError;
23pub use limiter::PruneLimiter;
24pub use pruner::{Pruner, PrunerResult, PrunerWithFactory, PrunerWithResult};
25
26// Re-export prune types
27#[doc(inline)]
28pub use reth_prune_types::*;