# 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 = "search-semantically"
version = "0.1.6"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Embeddable semantic code search with multi-signal POEM ranking"
documentation = "https://docs.rs/search-semantically/latest/search_semantically/"
readme = "README.md"
keywords = [
    "search",
    "semantic",
    "code-search",
    "embedding",
    "poem",
]
categories = [
    "development-tools",
    "text-processing",
]
license = "MIT"
repository = "https://github.com/Fizzizist/search-semantically"

[features]
default = ["ts-rust"]
ts-c = ["dep:tree-sitter-c"]
ts-cpp = ["dep:tree-sitter-cpp"]
ts-go = ["dep:tree-sitter-go"]
ts-java = ["dep:tree-sitter-java"]
ts-python = ["dep:tree-sitter-python"]
ts-rust = ["dep:tree-sitter-rust"]
ts-typescript = ["dep:tree-sitter-typescript"]

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

[dependencies.anyhow]
version = "1.0.102"

[dependencies.dirs]
version = "6.0.0"

[dependencies.ignore]
version = "0.4.25"

[dependencies.ndarray]
version = "0.17.2"

[dependencies.ort]
version = "2.0.0-rc.12"
features = ["load-dynamic"]

[dependencies.reqwest]
version = "0.13.2"
features = ["blocking"]

[dependencies.rusqlite]
version = "0.39.0"
features = ["bundled"]

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

[dependencies.serde_json]
version = "1.0.149"

[dependencies.tokenizers]
version = "0.22.2"

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

[dependencies.tree-sitter-c]
version = "0.24.1"
optional = true

[dependencies.tree-sitter-cpp]
version = "0.23.4"
optional = true

[dependencies.tree-sitter-go]
version = "0.25.0"
optional = true

[dependencies.tree-sitter-java]
version = "0.23.5"
optional = true

[dependencies.tree-sitter-python]
version = "0.25.0"
optional = true

[dependencies.tree-sitter-rust]
version = "0.24.2"
optional = true

[dependencies.tree-sitter-typescript]
version = "0.23.2"
optional = true

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