[package]
name = "git-editor"
version = "2.0.1"
edition = "2021"
description = "A command-line tool to edit git commit timestamps, messages, and author information"
license = "MIT"
homepage = "https://github.com/rohansen856/git_editor"
authors = ["Rohan Sen", "rohansen856@gmail.com"]
repository = "https://github.com/rohansen856/git_editor"
[dependencies]
git2 = "0.20.1"
clap = { version = "4.1", features = ["derive"] }
chrono = { version = "0.4.40", features = ["serde"] }
rand = "0.9.1"
regex = "1.7"
colored = "3.0.0"
url = "2.5.4"
uuid = { version = "1.17.0", features = ["v4"] }
crossterm = "0.27"
[dev-dependencies]
tempfile = "3.0"
serial_test = "3.0"
[package.metadata.deb]
maintainer = "Rohan Sen <rohansen856@gmail.com>"
copyright = "2024, Rohan Sen <rohansen856@gmail.com>"
license-file = ["LICENSE", "4"]
changelog = "CHANGELOG.md"
depends = "$auto"
section = "utility"
priority = "optional"
assets = [
[
"target/release/git-editor",
"usr/bin/",
"755",
],
[
"README.md",
"usr/share/doc/git-editor/README",
"644",
],
]
extended-description = """
A powerful command-line tool for editing git commit timestamps, messages,
and author information. Supports interactive editing, simulation mode,
and selective field editing.
"""
[package.metadata.generate-rpm]
license = "MIT"
summary = "A command-line tool to edit git commit timestamps, messages, and author information"
post_install_script = "scripts/post_install.sh"
post_uninstall_script = "scripts/post_uninstall.sh"
[package.metadata.generate-rpm.requires]
git = "*"
openssl = "*"
[[package.metadata.generate-rpm.files]]
path = "/usr/bin/git-editor"
mode = "755"
[[package.metadata.generate-rpm.files]]
path = "/usr/share/doc/git-editor/README.md"
mode = "644"
doc = true