# 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 = "kg-cli"
version = "0.2.11"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A knowledge graph CLI tool for managing structured information"
homepage = "https://github.com/nnar1o/kg"
documentation = "https://github.com/nnar1o/kg"
readme = "README.md"
keywords = [
    "cli",
    "knowledge-graph",
    "mcp",
    "tui",
]
categories = ["command-line-utilities"]
license = "Apache-2.0"
repository = "https://github.com/nnar1o/kg"

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

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

[[bin]]
name = "kg-cli"
path = "src/bin/kg-cli.rs"

[[bin]]
name = "kg-mcp"
path = "src/bin/kg-mcp.rs"

[[bin]]
name = "kg-tui"
path = "src/bin/kg-tui.rs"

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

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

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

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

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

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

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

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

[[bench]]
name = "cli_e2e"
path = "benches/cli_e2e.rs"
harness = false

[[bench]]
name = "large_graph"
path = "benches/large_graph.rs"
harness = false

[[bench]]
name = "persistence"
path = "benches/persistence.rs"
harness = false

[dependencies.anyhow]
version = "1.0"

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

[dependencies.crossterm]
version = "0.28"

[dependencies.csv]
version = "1.3"

[dependencies.flate2]
version = "1.0"

[dependencies.nucleo-matcher]
version = "0.3"

[dependencies.ratatui]
version = "0.29"

[dependencies.redb]
version = "2.0"

[dependencies.rmcp]
version = "0.16"
features = [
    "server",
    "transport-io",
    "macros",
    "schemars",
]

[dependencies.schemars]
version = "1.2.1"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.serde_yaml]
version = "0.9"

[dependencies.strsim]
version = "0.11"

[dependencies.tokio]
version = "1.48"
features = [
    "macros",
    "rt-multi-thread",
    "io-std",
]

[dependencies.toml]
version = "0.8"

[dev-dependencies.assert_cmd]
version = "2"

[dev-dependencies.criterion]
version = "0.5"

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