# 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 = "collie-search"
version = "0.2.0"
build = false
exclude = [
    "benchmark-data/",
    "benchmark-results/",
    "scripts/",
    "test-worktrees/",
    "large-repo-for-test/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Index-backed code search. Faster than grep on large repos."
readme = "README.md"
keywords = [
    "search",
    "code-search",
    "grep",
    "index",
    "tantivy",
]
categories = [
    "command-line-utilities",
    "development-tools",
    "text-processing",
]
license = "MIT"
repository = "https://github.com/suleymanozkeskin/collie"

[features]
_bench = []

[lib]
name = "collie_search"
path = "src/lib.rs"

[[bin]]
name = "collie"
path = "src/main.rs"

[[bin]]
name = "generate-corpus"
path = "benches/generate_corpus.rs"
required-features = ["_bench"]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[[bench]]
name = "search_benchmark"
path = "benches/search_benchmark.rs"
harness = false

[dependencies.anyhow]
version = "1.0"

[dependencies.bincode]
version = "1.3"

[dependencies.clap]
version = "4.5"
features = ["derive"]

[dependencies.crossbeam-channel]
version = "0.5"

[dependencies.daemonize]
version = "0.5"

[dependencies.fnv]
version = "1.0"

[dependencies.glob]
version = "0.3"

[dependencies.ignore]
version = "0.4"

[dependencies.libc]
version = "0.2"

[dependencies.memmap2]
version = "0.9"

[dependencies.notify]
version = "6.1"

[dependencies.once_cell]
version = "1.19"

[dependencies.pdf-extract]
version = "0.7"

[dependencies.rayon]
version = "1.10"

[dependencies.regex]
version = "1.10"

[dependencies.regex-syntax]
version = "0.8"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.signal-hook]
version = "0.3"

[dependencies.tantivy]
version = "0.22"

[dependencies.thiserror]
version = "1.0"

[dependencies.toml]
version = "0.8"

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"

[dependencies.tree-sitter]
version = "0.24"

[dependencies.tree-sitter-go]
version = "0.23"

[dependencies.tree-sitter-javascript]
version = "0.23"

[dependencies.tree-sitter-python]
version = "0.23"

[dependencies.tree-sitter-rust]
version = "0.23"

[dependencies.tree-sitter-typescript]
version = "0.23"

[dev-dependencies.criterion]
version = "0.5"

[dev-dependencies.libc]
version = "0.2"

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