Skip to content

Commit 32a9b69

Browse files
committed
refactor: Use external library gleisbau
The library part of git-graph was moved to a crate named gleisbau.
1 parent 7582232 commit 32a9b69

10 files changed

Lines changed: 46 additions & 1233 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1919

2020
- Add clippy warning for complex functions.
2121
- Code refactoring to make it easier to understand.
22+
- Extract library part into crate gleisbau
2223

2324
### Removed
2425

‎Cargo.lock‎

Lines changed: 24 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎Cargo.toml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "git-graph"
3-
version = "0.7.0"
3+
version = "0.7.1"
44
authors = ["Martin Lange <martin_lange_@gmx.net>"]
55
description = "Command line tool to show clear git graphs arranged for your branching model"
66
repository = "https://github.com/mlange-42/git-graph.git"
@@ -34,3 +34,4 @@ platform-dirs = "0.3"
3434
crossterm = {version = "0.29", optional = false}
3535
chrono = {version = "0.4", optional = false}
3636
textwrap = {version = "0.16", default-features = false, optional = false, features = ["unicode-width"]}
37+
gleisbau = "0.7.1"

‎src/config.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//! The [branching models][BranchSettingsDef] themselves are defined in
77
//! module [settings][super::settings]
88
9-
use crate::settings::{BranchSettingsDef, RepoSettings};
9+
use gleisbau::settings::{BranchSettingsDef, RepoSettings};
1010
use git2::Repository;
1111
use std::ffi::OsStr;
1212
use std::path::{Path, PathBuf};

0 commit comments

Comments
 (0)