Skip to content

Commit b33b61e

Browse files
committed
🔧 Reorganize Cargo.toml structure and expand keywords
Reorganize package configuration for better readability and discoverability This change improves the project's package configuration by: - Reorganizing sections in a more logical order - Expanding keywords list to include "code review", "release notes", "changelog", and "generative ai" - Moving lib and bin sections to the top of the file - Reordering dependencies alphabetically for easier maintenance These changes make the package more discoverable on crates.io and help maintain a cleaner, more organized project configuration.
1 parent aff5be1 commit b33b61e

File tree

2 files changed

+75
-76
lines changed

2 files changed

+75
-76
lines changed

Diff for: Cargo.lock

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: Cargo.toml

+73-74
Original file line numberDiff line numberDiff line change
@@ -8,100 +8,60 @@ readme = "README.md"
88
homepage = "https://github.com/hyperb1iss/git-iris"
99
repository = "https://github.com/hyperb1iss/git-iris"
1010
license = "Apache-2.0"
11-
keywords = ["git", "commit", "ai", "cli"]
11+
keywords = ["git", "commit", "ai", "cli", "code review", "release notes", "changelog", "generative ai"]
1212
categories = ["command-line-utilities", "development-tools"]
1313

14+
[lib]
15+
name = "git_iris"
16+
path = "src/lib.rs"
17+
18+
[[bin]]
19+
name = "git-iris"
20+
path = "src/main.rs"
21+
22+
[features]
23+
integration = []
1424

1525
[dependencies]
16-
clap = { version = "4.5.36", features = ["derive", "cargo"] }
17-
tokio = { version = "1.44.2", features = ["full"] }
18-
reqwest = { version = "0.12.15", features = ["json"] }
19-
serde = { version = "1.0.209", features = ["derive"] }
20-
serde_json = "1.0.127"
2126
anyhow = "1.0.86"
22-
toml = "0.8.19"
23-
dirs = "6.0.0"
24-
regex = "1.10.6"
27+
async-trait = "0.1.88"
28+
chrono = "0.4.38"
29+
clap = { version = "4.5.36", features = ["derive", "cargo"] }
2530
colored = "3.0.0"
2631
console = "0.15.8"
27-
tempfile = "3.19.1"
32+
crossterm = "0.28.1"
33+
dirs = "6.0.0"
34+
futures = "0.3.30"
2835
git2 = "0.20.1"
2936
indicatif = "0.17.8"
30-
async-trait = "0.1.88"
3137
lazy_static = "1.5.0"
32-
chrono = "0.4.38"
38+
llm = "1.1.0"
39+
log = "0.4.27"
3340
once_cell = "1.21.3"
34-
textwrap = "0.16.1"
41+
parking_lot = "0.12.1"
3542
rand = "0.9.0"
36-
unicode-width = "0.2.0"
37-
tiktoken-rs = "0.6.0"
43+
ratatui = "0.29.0"
44+
regex = "1.10.6"
45+
reqwest = { version = "0.12.15", features = ["json"] }
46+
rmcp = { git = "https://github.com/modelcontextprotocol/rust-sdk", branch = "main", features = ["server", "transport-sse-server"] }
47+
schemars = "0.8.21"
48+
serde = { version = "1.0.209", features = ["derive"] }
49+
serde_json = "1.0.127"
3850
strum = "0.27.1"
3951
strum_macros = "0.27.1"
40-
ratatui = "0.29.0"
41-
tui-textarea = "0.7.0"
42-
crossterm = "0.28.1"
52+
tempfile = "3.19.1"
53+
textwrap = "0.16.1"
54+
tiktoken-rs = "0.6.0"
55+
tokio = { version = "1.44.2", features = ["full"] }
4356
tokio-retry = "0.3.0"
44-
log = "0.4.27"
45-
futures = "0.3.30"
46-
schemars = "0.8.21"
47-
parking_lot = "0.12.1"
48-
llm = "1.1.0"
57+
toml = "0.8.19"
58+
tui-textarea = "0.7.0"
59+
unicode-width = "0.2.0"
4960
url = "2.5.0"
50-
rmcp = { git = "https://github.com/modelcontextprotocol/rust-sdk", branch = "main", features = ["server", "transport-sse-server"] }
5161

5262
[dev-dependencies]
5363
dotenv = "0.15.0"
5464

55-
[package.metadata.deb]
56-
maintainer = "Stefanie Jane <[email protected]>"
57-
copyright = "2024, Git-Iris Contributors <https://github.com/hyperb1iss/git-iris>"
58-
license-file = ["LICENSE", "4"]
59-
extended-description = """
60-
Git-Iris is an AI-powered tool designed to generate meaningful and context-aware Git commit messages.
61-
"""
62-
depends = "$auto"
63-
section = "utility"
64-
priority = "optional"
65-
assets = [
66-
[
67-
"target/release/git-iris",
68-
"usr/bin/",
69-
"755",
70-
],
71-
[
72-
"README.md",
73-
"usr/share/doc/git-iris/README",
74-
"644",
75-
],
76-
[
77-
"git-iris.1",
78-
"usr/share/man/man1/git-iris.1",
79-
"644",
80-
],
81-
]
82-
83-
[package.metadata.generate-rpm]
84-
assets = [
85-
{ source = "target/release/git-iris", dest = "/usr/bin/git-iris", mode = "755" },
86-
{ source = "README.md", dest = "/usr/share/doc/git-iris/README", mode = "644" },
87-
{ source = "git-iris.1", dest = "/usr/share/man/man1/git-iris.1", mode = "644" },
88-
]
89-
90-
[package.metadata.docs.rs]
91-
all-features = true
92-
rustdoc-args = ["--cfg", "docsrs"]
93-
94-
[lib]
95-
name = "git_iris"
96-
path = "src/lib.rs"
97-
98-
[[bin]]
99-
name = "git-iris"
100-
path = "src/main.rs"
101-
102-
[features]
103-
integration = []
104-
10565
[lints.rust]
10666
unsafe_code = "forbid"
10767
missing_docs = { level = "allow", priority = 1 }
@@ -142,3 +102,42 @@ undocumented_unsafe_blocks = { level = "deny", priority = 30 }
142102
#todo = { level = "warn", priority = 20 } # Consider warning on TODOs
143103
#dbg_macro = { level = "warn", priority = 30 } # Consider warning on dbg! macro usage
144104
#print_stdout = { level = "warn", priority = 30 } # Consider warning on print!/println! usage
105+
106+
[package.metadata.docs.rs]
107+
all-features = true
108+
rustdoc-args = ["--cfg", "docsrs"]
109+
110+
[package.metadata.deb]
111+
maintainer = "Stefanie Jane <[email protected]>"
112+
copyright = "2024, Git-Iris Contributors <https://github.com/hyperb1iss/git-iris>"
113+
license-file = ["LICENSE", "4"]
114+
extended-description = """
115+
Git-Iris is an AI-powered tool designed to generate meaningful and context-aware Git commit messages.
116+
"""
117+
depends = "$auto"
118+
section = "utility"
119+
priority = "optional"
120+
assets = [
121+
[
122+
"target/release/git-iris",
123+
"usr/bin/",
124+
"755",
125+
],
126+
[
127+
"README.md",
128+
"usr/share/doc/git-iris/README",
129+
"644",
130+
],
131+
[
132+
"git-iris.1",
133+
"usr/share/man/man1/git-iris.1",
134+
"644",
135+
],
136+
]
137+
138+
[package.metadata.generate-rpm]
139+
assets = [
140+
{ source = "target/release/git-iris", dest = "/usr/bin/git-iris", mode = "755" },
141+
{ source = "README.md", dest = "/usr/share/doc/git-iris/README", mode = "644" },
142+
{ source = "git-iris.1", dest = "/usr/share/man/man1/git-iris.1", mode = "644" },
143+
]

0 commit comments

Comments
 (0)