[package] name = "code2prompt" version = "2.0.0" authors = ["Mufeed VH ","Olivier D'Ancona "] 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"