rung-core 0.8.0

Core library for Rung - stack model, state management, sync engine
Documentation
//! # rung-core
//!
//! Core library for Rung providing stack management, state persistence,
//! and the sync engine for dependent PR stacks.
//!
//! # Architecture
//!
//! The crate provides both a concrete [`State`] implementation and
//! a [`StateStore`] trait for dependency injection and testing.

pub mod absorb;
pub mod branch_name;
pub mod config;
pub mod error;
pub mod stack;
pub mod state;
pub mod sync;
mod traits;

pub use absorb::{AbsorbPlan, AbsorbResult, UnmapReason};
pub use branch_name::{BranchName, slugify};
pub use config::Config;
pub use error::{Error, Result};
pub use stack::{BranchState, Stack, StackBranch};
pub use state::{
    DivergenceRecord, FoldState, RestackState, SplitPoint, SplitState, State, SyncState,
};
pub use traits::StateStore;