Expand description
GitKraft Core
Shared, framework-free logic reused by both the Iced GUI and Ratatui TUI.
| Module | What lives here |
|---|---|
features | Git operations and types grouped by feature — repo, branches, commits, diff, staging, remotes, stash, log |
utils | Helpers — relative time formatting, OID formatting, text truncation |
This crate has NO GUI or TUI dependencies.
Re-exports§
pub use features::branches::BranchInfo;pub use features::branches::BranchType;pub use features::commits::CommitInfo;pub use features::diff::DiffFileEntry;pub use features::diff::DiffHunk;pub use features::diff::DiffInfo;pub use features::diff::DiffLine;pub use features::diff::FileStatus;pub use features::diff::StatusColorCategory;pub use features::graph::GraphEdge;pub use features::graph::GraphRow;pub use features::persistence::AppSettings;pub use features::persistence::LayoutSettings;pub use features::persistence::RepoHistoryEntry;pub use features::remotes::RemoteInfo;pub use features::repo::RepoInfo;pub use features::repo::RepoState;pub use features::stash::StashEntry;pub use features::theme::theme_by_index;pub use features::theme::theme_index_by_name;pub use features::theme::AppTheme;pub use features::theme::Rgb;pub use features::theme::THEME_COUNT;pub use features::theme::THEME_NAMES;pub use utils::short_oid_str;pub use utils::text::truncate_str;