-
Notifications
You must be signed in to change notification settings - Fork 127
/
Cargo.toml
57 lines (52 loc) · 1.42 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
[package]
name = "code2prompt"
version = "2.0.0"
authors = ["Mufeed VH <[email protected]>","Olivier D'Ancona <[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/mufeedvh/code2prompt"
documentation = "https://github.com/mufeedvh/code2prompt"
repository = "https://github.com/mufeedvh/code2prompt"
license = "MIT"
readme = "README.md"
exclude = [".github/*", ".assets/*"]
edition = "2021"
[[bin]]
name = "code2prompt"
test = false
bench = false
path = "src/main.rs"
[dependencies]
clap = { version = "4.0", features = ["derive"] }
handlebars = "4.3"
jwalk = "0.8"
termtree = "0.4"
serde_json = "1.0.114"
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.18.2", 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"
[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 = "2.0"
env_logger = "0.11.3"