-
Notifications
You must be signed in to change notification settings - Fork 78
/
Copy pathCargo.toml
59 lines (54 loc) · 1.37 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
[package]
name = "gptcommit"
version = "0.5.17"
edition = "2021"
rust-version = "1.74"
authors = ["Roger Zurawicki <[email protected]>"]
categories = ["development-tools"]
keywords = ["openai", "githook", "git", "ai", "gpt"]
description = "A git prepare-commit-msg hook for summarizing commits with LLMs."
readme = "README.md"
license = "MIT"
homepage = "https://github.com/zurawiki/gptcommit"
repository = "https://github.com/zurawiki/gptcommit"
[[bin]]
name = "gptcommit"
path = "src/main.rs"
[dependencies]
anyhow = "1.0.90"
async-openai = "0.14.2"
async-trait = "0.1.73"
backoff = "0.4.0"
clap = { version = "4.4.4", features = ["derive"] }
colored = "2.0.4"
config = { version = "0.14.0", features = ["toml"] }
dirs = "5.0.1"
lazy_static = "1.4.0"
log = "0.4.20"
regex = "1.9.5"
serde = { version = "1.0", features = ["derive"] }
serde_derive = "1.0.188"
serde_json = "1.0.132"
simple_logger = "5.0.0"
strum = "0.26.0"
strum_macros = "0.26.0"
tera = { version = "1.19.1", default-features = false }
tiktoken-rs = { version = "0.6.0", features = ["async-openai"] }
tokio = { version = "1.32.0", features = ["full"] }
toml = "0.8.0"
toml_edit = "0.22.0"
which = "6.0.0"
[dependencies.reqwest]
version = "0.11.20"
features = [
"brotli",
"gzip",
"json",
"multipart",
"rustls-tls",
"stream",
"socks",
]
default-features = false
[dev-dependencies]
async-std = "1.12.0"