# 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 = "tsift-graph"
version = "0.1.63"
authors = ["Brian Takita <brian.takita@gmail.com>"]
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Language-aware graph extraction — call sites, routes, community detection, and path finding for tsift"
readme = "README.md"
keywords = [
    "agent",
    "search",
    "rag",
    "cli",
    "context",
]
categories = [
    "command-line-utilities",
    "development-tools",
]
license = "MIT"
repository = "https://github.com/btakita/tsift"

[features]
all-languages = [
    "lang-rust",
    "lang-python",
    "lang-typescript",
    "lang-javascript",
    "lang-kotlin",
    "lang-zig",
    "lang-bash",
    "lang-markdown",
]
default = [
    "lang-rust",
    "lang-python",
    "lang-typescript",
    "lang-javascript",
    "lang-kotlin",
    "lang-zig",
    "lang-bash",
    "lang-markdown",
]
lang-bash = ["dep:tree-sitter-bash"]
lang-javascript = ["dep:tree-sitter-javascript"]
lang-kotlin = ["dep:tree-sitter-kotlin-ng"]
lang-markdown = ["dep:tree-sitter-md"]
lang-python = ["dep:tree-sitter-python"]
lang-rust = ["dep:tree-sitter-rust"]
lang-typescript = ["dep:tree-sitter-typescript"]
lang-zig = ["dep:tree-sitter-zig"]

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

[[example]]
name = "dump_ast"
path = "examples/dump_ast.rs"

[dependencies.anyhow]
version = "1"

[dependencies.blake3]
version = "1"

[dependencies.lazily]
version = "0.2"

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

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

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

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

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

[dependencies.tree-sitter-md]
version = "0.5"
optional = true

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

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

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

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

[dependencies.tsift-core]
version = "0.1.63"
