kona-derive 0.4.5

A no_std derivation pipeline implementation for the OP Stack
Documentation
//! Contains various traversal stages for kona's derivation pipeline.
//!
//! The traversal stage sits at the bottom of the pipeline, and is responsible for
//! providing the next block to the next stage in the pipeline.
//!
//! ## Types
//!
//! - [`IndexedTraversal`]: A passive traversal stage that receives the next block through a signal.
//! - [`PollingTraversal`]: An active traversal stage that polls for the next block through its
//!   provider.

mod indexed;
pub use indexed::IndexedTraversal;

mod polling;
pub use polling::PollingTraversal;

/// The type of traversal stage used in the derivation pipeline.
#[derive(Debug, Clone)]
pub enum TraversalStage {
    /// A passive traversal stage that receives the next block through a signal.
    Managed,
    /// An active traversal stage that polls for the next block through its provider.
    Polling,
}