# 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 = "omengrep"
version = "0.0.3"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Semantic code search — multi-vector embeddings + BM25"
homepage = "https://github.com/nijaru/omengrep"
readme = "README.md"
keywords = [
    "search",
    "semantic",
    "code",
    "grep",
    "embeddings",
]
categories = [
    "command-line-utilities",
    "development-tools",
]
license = "MIT"
repository = "https://github.com/nijaru/omengrep"

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

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

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

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

[dependencies.anyhow]
version = "1"

[dependencies.blake3]
version = "1"

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

[dependencies.hf-hub]
version = "0.5"

[dependencies.ignore]
version = "0.4"

[dependencies.indicatif]
version = "0.18"

[dependencies.ndarray]
version = "0.17"

[dependencies.omendb]
version = "0.0.37"

[dependencies.ort]
version = "2.0.0-rc.12"
features = ["download-binaries"]

[dependencies.owo-colors]
version = "4"

[dependencies.rand]
version = "0.10.1"

[dependencies.rayon]
version = "1"

[dependencies.regex]
version = "1"

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

[dependencies.tokenizers]
version = "0.22"
features = ["onig"]
default-features = false

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

[dependencies.tree-sitter-bash]
version = "0.25"

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

[dependencies.tree-sitter-c-sharp]
version = "0.23"

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

[dependencies.tree-sitter-css]
version = "0.25"

[dependencies.tree-sitter-elixir]
version = "0.3"

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

[dependencies.tree-sitter-hcl]
version = "1"

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

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

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

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

[dependencies.tree-sitter-kotlin-ng]
version = "1"

[dependencies.tree-sitter-lua]
version = "0.5"

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

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

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

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

[dependencies.tree-sitter-swift]
version = "0.7"

[dependencies.tree-sitter-toml-ng]
version = "0.7"

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

[dependencies.tree-sitter-yaml]
version = "0.7"

[dependencies.tree-sitter-zig]
version = "1"

[dependencies.walkdir]
version = "2"

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

[dev-dependencies.divan]
version = "0.1.21"

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

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

[profile.release]
lto = "thin"
codegen-units = 1
