# 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 = "leankg"
version = "0.10.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Lightweight Knowledge Graph for AI-Assisted Development"
homepage = "https://github.com/FreePeak/LeanKG"
documentation = "https://github.com/FreePeak/LeanKG"
readme = "README.md"
keywords = [
    "knowledge-graph",
    "ai",
]
categories = [
    "command-line-utilities",
    "data-structures",
]
license = "MIT"
repository = "https://github.com/FreePeak/LeanKG"

[lib]
name = "leankg"
crate-type = ["rlib"]
path = "src/lib.rs"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[[bench]]
name = "orchestrator_bench"
path = "benches/orchestrator_bench.rs"

[[bench]]
name = "orchestrator_real_bench"
path = "benches/orchestrator_real_bench.rs"

[dependencies.argon2]
version = "0.5"

[dependencies.async-trait]
version = "0.1"

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

[dependencies.dirs]
version = "5"

[dependencies.futures-util]
version = "0.3"

[dependencies.glob]
version = "0.3"

[dependencies.pulldown-cmark]
version = "0.12"

[dependencies.rayon]
version = "1.10"

[dependencies.regex]
version = "1"

[dependencies.schemars]
version = "0.8"

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

[dependencies.serde_json]
version = "1"

[dependencies.serde_yaml]
version = "0.9"

[dependencies.sha2]
version = "0.10"

[dependencies.thiserror]
version = "2"

[dependencies.tower-http]
version = "0.6"
features = ["cors"]

[dependencies.tracing]
version = "0.1"

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

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

[dependencies.uuid]
version = "1"
features = [
    "v4",
    "serde",
]

[dependencies.walkdir]
version = "2"

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

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.axum]
version = "0.7"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.cozo]
version = "0.2"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.notify]
version = "7"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.parking_lot]
version = "0.12"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.rmcp]
version = "1.2.0"
features = [
    "server",
    "transport-io",
]

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio]
version = "1"
features = ["full"]

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tree-sitter]
version = "0.25"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tree-sitter-go]
version = "0.25"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tree-sitter-java]
version = "0.23"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tree-sitter-python]
version = "0.25"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tree-sitter-rust]
version = "0.24"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tree-sitter-typescript]
version = "0.23"
