# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "code2prompt" version = "2.0.0" authors = [ "Mufeed VH ", "Olivier D'Ancona ", ] build = false exclude = [ ".github/*", ".assets/*", ] autobins = false autoexamples = false autotests = false autobenches = false description = "A command-line (CLI) tool to generate an LLM prompt from codebases of any size, fast." homepage = "https://github.com/mufeedvh/code2prompt" documentation = "https://github.com/mufeedvh/code2prompt" readme = "README.md" keywords = [ "code", "prompt", "llm", "gpt", "ai", ] categories = [ "command-line-utilities", "development-tools", ] license = "MIT" repository = "https://github.com/mufeedvh/code2prompt" [package.metadata.deb] assets = [[ "target/release/code2prompt", "/usr/bin/", "755", ]] section = "utility" [profile.release] lto = "thin" codegen-units = 1 panic = "abort" [lib] name = "code2prompt" path = "src/lib.rs" [[bin]] name = "code2prompt" path = "src/main.rs" test = false bench = false [[test]] name = "git_test" path = "tests/git_test.rs" [[test]] name = "integration_test" path = "tests/integration_test.rs" [[test]] name = "template_test" path = "tests/template_test.rs" [[test]] name = "test_filter" path = "tests/test_filter.rs" [dependencies.anyhow] version = "1.0.80" [dependencies.arboard] version = "3.4.0" [dependencies.clap] version = "4.0" features = ["derive"] [dependencies.colored] version = "2.1.0" [dependencies.env_logger] version = "0.11.3" [dependencies.git2] version = "0.18.2" features = [ "https", "vendored-libgit2", "vendored-openssl", ] default_features = false [dependencies.glob] version = "0.3.1" [dependencies.handlebars] version = "4.3" [dependencies.ignore] version = "0.4.22" [dependencies.indicatif] version = "0.17.8" [dependencies.inquire] version = "0.7.1" [dependencies.jwalk] version = "0.8" [dependencies.log] version = "0.4" [dependencies.once_cell] version = "1.19.0" [dependencies.regex] version = "1.10.3" [dependencies.serde_json] version = "1.0.114" [dependencies.termtree] version = "0.4" [dependencies.tiktoken-rs] version = "0.5.8" [dev-dependencies.assert_cmd] version = "2.0" [dev-dependencies.env_logger] version = "0.11.3" [dev-dependencies.predicates] version = "2.0" [dev-dependencies.tempfile] version = "3.3"