-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathCargo.toml
122 lines (111 loc) · 3.28 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
[package]
name = "git-iris"
version = "0.8.0"
edition = "2021"
authors = ["Stefanie Jane <[email protected]>"]
description = "AI-assisted Git workflow"
readme = "README.md"
homepage = "https://github.com/hyperb1iss/git-iris"
repository = "https://github.com/hyperb1iss/git-iris"
license = "Apache-2.0"
keywords = ["git", "commit", "ai", "cli"]
categories = ["command-line-utilities", "development-tools"]
[dependencies]
clap = { version = "4.5.16", features = ["derive", "cargo"] }
tokio = { version = "1.39.3", features = ["full"] }
reqwest = { version = "0.12.7", features = ["json"] }
serde = { version = "1.0.209", features = ["derive"] }
serde_json = "1.0.127"
anyhow = "1.0.86"
toml = "0.8.19"
dirs = "5.0.1"
regex = "1.10.6"
colored = "2.1.0"
console = "0.15.8"
tempfile = "3.12.0"
git2 = "0.19.0"
indicatif = "0.17.8"
async-trait = "0.1.81"
lazy_static = "1.5.0"
chrono = "0.4.38"
once_cell = "1.19.0"
textwrap = "0.16.1"
rand = "0.8.5"
unicode-width = "0.1.13"
tiktoken-rs = "0.5.9"
strum = "0.26.3"
strum_macros = "0.26.4"
ratatui = "0.28.0"
tui-textarea = "0.6.1"
crossterm = "0.28.1"
tokio-retry = "0.3.0"
log = "0.4.22"
futures = "0.3.30"
schemars = "0.8.21"
[dev-dependencies]
dotenv = "0.15.0"
[package.metadata.deb]
maintainer = "Stefanie Jane <[email protected]>"
copyright = "2024, Git-Iris Contributors <https://github.com/hyperb1iss/git-iris>"
license-file = ["LICENSE", "4"]
extended-description = """
Git-Iris is an AI-powered tool designed to generate meaningful and context-aware Git commit messages.
"""
depends = "$auto"
section = "utility"
priority = "optional"
assets = [
[
"target/release/git-iris",
"usr/bin/",
"755",
],
[
"README.md",
"usr/share/doc/git-iris/README",
"644",
],
[
"git-iris.1",
"usr/share/man/man1/git-iris.1",
"644",
],
]
[package.metadata.generate-rpm]
assets = [
{ source = "target/release/git-iris", dest = "/usr/bin/git-iris", mode = "755" },
{ source = "README.md", dest = "/usr/share/doc/git-iris/README", mode = "644" },
{ source = "git-iris.1", dest = "/usr/share/man/man1/git-iris.1", mode = "644" },
]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[lib]
name = "git_iris"
path = "src/lib.rs"
[[bin]]
name = "git-iris"
path = "src/main.rs"
[features]
integration = []
[lints.rust]
unsafe_code = "forbid"
[lints.clippy]
all = { level = "deny", priority = 0 }
pedantic = { level = "deny", priority = 1 }
enum_glob_use = { level = "deny", priority = 2 }
module_name_repetitions = { level = "allow", priority = 3 }
cast_precision_loss = { level = "allow", priority = 4 }
cast_possible_truncation = { level = "allow", priority = 5 }
cast_sign_loss = { level = "allow", priority = 6 }
out_of_bounds_indexing = { level = "allow", priority = 7 }
perf = { level = "warn", priority = 8 }
style = { level = "warn", priority = 9 }
missing_errors_doc = { level = "allow", priority = 10 }
must_use_candidate = { level = "allow", priority = 11 }
missing_panics_doc = { level = "allow", priority = 12 }
missing_docs = { level = "allow", priority = 13 }
significant_drop_tightening = { level = "allow", priority = 14 }
# maybe this should be enabled in the future
unwrap_used = { level = "deny", priority = 10 }
#expect_used = { level = "deny", priority = 11 }