[package]
edition = "2024"
name = "git-tailor"
version = "0.2.0"
authors = ["Thomas Johannesson"]
build = false
exclude = [
"/.github",
"about.hbs",
"about.toml",
"examples",
"AGENTS.md",
"TASKS.md",
"TASKS-COMPLETED.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
An interactive terminal tool for tidying up Git commits on a branch —
squash, reorder, split, drop, and reword commits before submitting a
pull request or pushing to a shared branch.
"""
readme = "README.md"
keywords = [
"git",
"commit",
"tui",
"squash",
"split",
]
categories = [
"command-line-utilities",
"development-tools",
"visualization",
]
license = "Apache-2.0"
repository = "https://github.com/jordfras/git-tailor"
[lib]
name = "git_tailor"
path = "src/lib.rs"
[[bin]]
name = "gt"
path = "src/main.rs"
[[test]]
name = "commit_diff"
path = "tests/commit_diff.rs"
[[test]]
name = "common"
path = "tests/common.rs"
[[test]]
name = "drop_commit"
path = "tests/drop_commit.rs"
[[test]]
name = "list_commits"
path = "tests/list_commits.rs"
[[test]]
name = "mergetool"
path = "tests/mergetool.rs"
[[test]]
name = "move_commit"
path = "tests/move_commit.rs"
[[test]]
name = "reference_point"
path = "tests/reference_point.rs"
[[test]]
name = "reword_commit"
path = "tests/reword_commit.rs"
[[test]]
name = "split_commit"
path = "tests/split_commit.rs"
[[test]]
name = "squash_commit"
path = "tests/squash_commit.rs"
[[test]]
name = "static_fragmap"
path = "tests/static_fragmap.rs"
[[test]]
name = "tui_commit_detail"
path = "tests/tui_commit_detail.rs"
[[test]]
name = "tui_commit_list"
path = "tests/tui_commit_list.rs"
[[test]]
name = "tui_drop_confirm"
path = "tests/tui_drop_confirm.rs"
[[test]]
name = "tui_fragmap"
path = "tests/tui_fragmap.rs"
[[test]]
name = "tui_main_view"
path = "tests/tui_main_view.rs"
[[test]]
name = "tui_move_select"
path = "tests/tui_move_select.rs"
[[test]]
name = "tui_split_select"
path = "tests/tui_split_select.rs"
[[test]]
name = "tui_squash_select"
path = "tests/tui_squash_select.rs"
[dependencies.anyhow]
version = "1.0"
[dependencies.clap]
version = "4"
features = [
"std",
"derive",
"wrap_help",
"help",
"usage",
"error-context",
"suggestions",
]
default-features = false
[dependencies.crossterm]
version = "0.29"
[dependencies.git2]
version = "0.20"
default-features = false
[dependencies.ratatui]
version = "0.30"
[dependencies.tempfile]
version = "3"
[dependencies.time]
version = "0.3"
features = [
"formatting",
"macros",
]
default-features = false
[dev-dependencies.insta]
version = "1"