# 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 = "2021"
name = "cgx-engine"
version = "0.1.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core engine for cgx — Tree-sitter parsing, DuckDB graph storage, git analysis, and clustering"
readme = "README.md"
keywords = [
    "codebase",
    "knowledge-graph",
    "static-analysis",
    "git",
    "tree-sitter",
]
categories = [
    "development-tools",
    "command-line-utilities",
]
license = "MIT"
repository = "https://github.com/AayushBahukhandi/cgx"

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

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

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

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

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

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

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

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

[dependencies.anyhow]
version = "1"

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.dirs]
version = "5"

[dependencies.duckdb]
version = "1.10502.0"
features = ["bundled"]

[dependencies.fastrand]
version = "2"

[dependencies.git2]
version = "0.18"

[dependencies.ignore]
version = "0.4"

[dependencies.rayon]
version = "1.10"

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

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.10"

[dependencies.thiserror]
version = "1"

[dependencies.toml]
version = "0.8"

[dependencies.tracing]
version = "0.1"

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

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

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

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

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

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

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

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