Skip to content

Commit d63c23a

Browse files
committed
chore: Update package name and add metadata
This commit updates the package name from "git-commit-helper" to "git-commit-helper-cli" in both `Cargo.toml` and `Cargo.lock`. This change clarifies the nature of the project as a command-line interface tool, distinguishing it from potential library or non-CLI components. Additionally, a `description` and `license` field (MIT) have been added to `Cargo.toml`. These additions are crucial for improving the project's discoverability and adherence to open-source best practices, especially when published to `crates.io`. The `Cargo.lock` file was automatically updated by Cargo to reflect the package name change and maintain consistency. Influence: 1. Verify the project builds successfully with `cargo build`. 2. Check `Cargo.toml` and `Cargo.lock` to ensure the new package name and metadata are correctly present. 3. If publishing to `crates.io`, verify the new name, description, and license are accurately displayed on the registry. 4. Ensure any CI/CD pipelines, documentation, or scripts that might reference the old package name are updated. chore: 更新包名并添加元数据 此提交将 `Cargo.toml` 和 `Cargo.lock` 中的包名从 "git-commit-helper" 更 新为 "git-commit-helper-cli"。此更改旨在明确项目作为命令行界面工具的性 质,将其与潜在的库或非 CLI 组件区分开来。此外,还在 `Cargo.toml` 中
1 parent 843042e commit d63c23a

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
[package]
2-
name = "git-commit-helper"
2+
name = "git-commit-helper-cli"
33
version = "0.8.0"
44
edition = "2021"
5+
description = "A CLI tool to help generate standardized git commit messages"
6+
license = "MIT"
57

68
[dependencies]
79
serde = { version = "1.0", features = ["derive"] }

0 commit comments

Comments
 (0)