1 2 3 4 5 6 7 8 9 10 11 12 13
//! Stack safe and performant recursion in Rust.
//!
//! Generic utilities for expanding and collapsing user-defined recursive structures
//! of any type. Define recursive algorithms by writing functions that expand or
//! collapse a single layer of your structure.
pub mod map_layer;
pub mod recursive;
pub mod recursive_tree;
pub mod stack_machine;
pub use crate::recursive::{Collapse, Expand, ExpandAsync};
pub use crate::stack_machine::{expand_and_collapse, expand_and_collapse_result};