forked from mufeedvh/code2prompt
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
60 lines (55 loc) · 1.49 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
[package]
name = "c2p"
version = "2.3.1"
authors = ["Mufeed VH <[email protected]>","Olivier D'Ancona <[email protected]>","Jerome Leong <[email protected]>"]
description = "A command-line (CLI) tool to generate an LLM prompt from codebases of any size, fast."
keywords = ["code", "prompt", "llm", "gpt", "ai"]
categories = ["command-line-utilities", "development-tools"]
homepage = "https://github.com/jeromeleong/c2p"
documentation = "https://github.com/jeromeleong/c2p"
repository = "https://github.com/jeromeleong/c2p"
license = "MIT"
readme = "README.md"
exclude = [".github/*", ".assets/*"]
edition = "2021"
[[bin]]
name = "c2p"
test = false
bench = false
path = "src/main.rs"
[dependencies]
clap = { version = "4.0", features = ["derive"] }
handlebars = "6.0.0"
jwalk = "0.8"
termtree = "0.5.1"
serde_json = "1.0.0"
indicatif = "0.17.8"
colored = "2.1.0"
tiktoken-rs = "0.5.8"
ignore = "0.4.22"
anyhow = "1.0.80"
inquire = "0.7.1"
regex = "1.10.3"
git2 = { version = "0.19.0", default-features = false, features = [ "https", "vendored-libgit2", "vendored-openssl" ] }
glob = "0.3.1"
once_cell = "1.19.0"
log = "0.4"
env_logger = "0.11.3"
arboard = "3.4.0"
chrono = "0.4.38"
prettytable = "0.10.0"
tempfile = "3.3"
[profile.release]
lto = "thin"
panic = 'abort'
codegen-units = 1
[package.metadata.deb]
section = "utility"
assets = [
["target/release/code2prompt", "/usr/bin/", "755"],
]
[dev-dependencies]
tempfile = "3.3"
assert_cmd = "2.0"
predicates = "3.1.2"
env_logger = "0.11.3"