[package]
edition = "2021"
rust-version = "1.87"
name = "git-editor"
version = "2.1.0"
authors = ["Rohan Sen <rohansen856@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A command-line tool to edit git commit timestamps, messages, and author information"
homepage = "https://github.com/rohansen856/git-editor"
readme = "README.md"
license = "MIT"
repository = "https://github.com/rohansen856/git-editor"
[package.metadata.deb]
maintainer = "Rohan Sen <rohansen856@gmail.com>"
copyright = "2024, Rohan Sen <rohansen856@gmail.com>"
license-file = [
"LICENSE",
"4",
]
depends = "$auto"
section = "utils"
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"
[[package.metadata.generate-rpm.assets]]
source = "target/release/git-editor"
dest = "/usr/bin/git-editor"
mode = "755"
[[package.metadata.generate-rpm.assets]]
source = "README.md"
dest = "/usr/share/doc/git-editor/README.md"
mode = "644"
[[package.metadata.generate-rpm.assets]]
source = "LICENSE"
dest = "/usr/share/doc/git-editor/LICENSE"
mode = "644"
[package.metadata.wix]
upgrade-guid = "EFEE90CF-2BBC-441B-96F2-96F71DD2D7BE"
path-guid = "1639BC60-5763-4F1A-902C-CDEE03F36516"
license = false
eula = false
[lib]
name = "git_editor"
path = "src/lib.rs"
[[bin]]
name = "git-editor"
path = "src/main.rs"
[[test]]
name = "e2e"
path = "tests/e2e.rs"
[[test]]
name = "engine"
path = "tests/engine.rs"
[[test]]
name = "integration_tests"
path = "tests/integration_tests.rs"
[dependencies.chrono]
version = "0.4.40"
features = ["serde"]
[dependencies.clap]
version = "4.1"
features = ["derive"]
[dependencies.colored]
version = "3.0.0"
[dependencies.crossterm]
version = "0.27"
[dependencies.git2]
version = "0.21"
features = [
"https",
"ssh",
"vendored-libgit2",
]
[dependencies.open]
version = "5.0"
[dependencies.rand]
version = "0.9.1"
[dependencies.regex]
version = "1.7"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.tempfile]
version = "3.0"
[dependencies.url]
version = "2.5.4"
[dev-dependencies.serial_test]
version = "3.0"