code2prompt_core 4.3.0

A command-line (CLI) tool to generate an LLM prompt from codebases of any size, fast.
Documentation
# 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 = "2024"
name = "code2prompt_core"
version = "4.3.0"
authors = ["Olivier D'Ancona <olivier_dancona@hotmail.com>"]
build = false
exclude = [
    ".github/*",
    ".assets/*",
]
autolib = false
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://code2prompt.dev"
documentation = "https://code2prompt.dev/docs/welcome"
readme = "README.md"
keywords = [
    "code",
    "ingestion",
    "prompt",
    "llm",
    "agent",
]
categories = [
    "command-line-utilities",
    "development-tools",
]
license = "MIT"
repository = "https://github.com/mufeedvh/code2prompt"
resolver = "2"

[package.metadata.deb]
section = "utility"
assets = [[
    "target/release/code2prompt_core",
    "/usr/bin/",
    "755",
]]

[features]
default = []

[lib]
name = "code2prompt_core"
crate-type = ["rlib"]
path = "src/lib.rs"

[[test]]
name = "analysis"
path = "tests/analysis.rs"

[[test]]
name = "binary_detection_test"
path = "tests/binary_detection_test.rs"

[[test]]
name = "file_processor_test"
path = "tests/file_processor_test.rs"

[[test]]
name = "filter_test"
path = "tests/filter_test.rs"

[[test]]
name = "git_test"
path = "tests/git_test.rs"

[[test]]
name = "path_test"
path = "tests/path_test.rs"

[[test]]
name = "session_integration_test"
path = "tests/session_integration_test.rs"

[[test]]
name = "sort_test"
path = "tests/sort_test.rs"

[[test]]
name = "template_test"
path = "tests/template_test.rs"

[[test]]
name = "util_test"
path = "tests/util_test.rs"

[dependencies.anyhow]
version = "1.0.98"

[dependencies.bracoxide]
version = "0.1.8"

[dependencies.chardetng]
version = "1.0.0"

[dependencies.colored]
version = "3.0.0"

[dependencies.content_inspector]
version = "0.2.4"

[dependencies.csv]
version = "1.4.0"

[dependencies.derive_builder]
version = "0.20.2"

[dependencies.encoding_rs]
version = "0.8.35"

[dependencies.git2]
version = "0.21.0"
features = [
    "https",
    "vendored-libgit2",
    "vendored-openssl",
]
default-features = false

[dependencies.globset]
version = "0.4.15"

[dependencies.handlebars]
version = "6.4.0"

[dependencies.ignore]
version = "0.4.25"

[dependencies.indicatif]
version = "0.18.0"

[dependencies.log]
version = "0.4"

[dependencies.once_cell]
version = "1.19.0"

[dependencies.rayon]
version = "1.11.0"

[dependencies.regex]
version = "1.10.3"

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_json]
version = "1.0.114"

[dependencies.termtree]
version = "1.0.0"

[dependencies.tiktoken-rs]
version = "0.12.0"

[dependencies.toml]
version = "1.1.2"

[dev-dependencies.assert_cmd]
version = "2.1.1"

[dev-dependencies.env_logger]
version = "0.11.3"

[dev-dependencies.predicates]
version = "3.1"

[dev-dependencies.rstest]
version = "0.26.1"

[dev-dependencies.tempfile]
version = "3.24"