Skip to main content

Crate rung_core

Crate rung_core 

Source
Expand description

§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.

Re-exports§

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

Modules§

absorb
Absorb command logic for automatic fixup commit creation.
branch_name
Branch name validation and newtype.
config
Configuration management for Rung.
error
Error types for rung-core.
stack
Stack data model representing a chain of dependent branches.
state
State persistence for .git/rung/ directory.
sync
Sync engine for rebasing stack branches.

Traits§

StateStore
Trait for state storage operations.