# 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.4.2"
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 = "cli_tests"
path = "tests/cli_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 = "watcher"
path = "tests/watcher.rs"

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

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

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

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

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

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

[dependencies.glob]
version = "0.3"

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

[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.tracing]
version = "0.1"

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

[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.axum-core]
version = "0.4"

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

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.headers]
version = "0.4"

[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-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"
