# 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 = "kodegen_claude_agent"
version = "0.10.1"
authors = ["KODEGEN.ᴀɪ"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "KODEGEN.ᴀɪ: Memory-efficient, Blazing-Fast, MCP tools for code generation agents."
homepage = "https://kodegen.ai"
readme = "README.md"
keywords = [
    "mcp",
    "terminal",
    "agent",
    "filesystem",
    "claude",
]
categories = [
    "development-tools",
    "command-line-utilities",
    "api-bindings",
]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/cyrup-ai/kodegen-claude-agent"

[package.metadata.bundle]
identifier = "ai.kodegen.kodegen_claude_agent"
publisher = "KODEGEN.ᴀɪ"
copyright = "Copyright © 2025"
short_description = "Memory-efficient, Blazing-Fast, MCP tools for code generation agents."

[package.metadata.bundle.category]
linux = "Development"
macos = "public.app-category.developer-tools"

[features]
default = []
http = ["reqwest"]
server = []

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

[[bin]]
name = "kodegen-claude-agent"
path = "src/main.rs"

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

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

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

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

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

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

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

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

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

[dependencies.anyhow]
version = "1"

[dependencies.async-stream]
version = "0.3"

[dependencies.bitflags]
version = "2"

[dependencies.chrono]
version = "0.4"

[dependencies.cyrup_termcolor]
version = "2"

[dependencies.env_logger]
version = "0.11"

[dependencies.futures]
version = "0.3"

[dependencies.kodegen_config]
version = "0.10"

[dependencies.kodegen_config_manager]
version = "0.10"

[dependencies.kodegen_mcp_schema]
version = "0.10"

[dependencies.kodegen_server_http]
version = "0.10"

[dependencies.kodegen_tools_prompt]
version = "0.10"

[dependencies.log]
version = "0.4"

[dependencies.parking_lot]
version = "0.12"

[dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "stream",
]
optional = true

[dependencies.rmcp]
version = "0.10"
features = [
    "client",
    "schemars",
    "server",
    "transport-sse-server",
]

[dependencies.rustls]
version = "0.23"

[dependencies.schemars]
version = "1"

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = ["full"]

[dependencies.tokio-util]
version = "0.7"
features = ["codec"]

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

[dependencies.which]
version = "8"

[dev-dependencies.anyhow]
version = "1"

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

[dev-dependencies.kodegen_mcp_client]
version = "0.10"

[dev-dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "stream",
    "rustls-tls",
]
default-features = false

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

[dev-dependencies.tokio-test]
version = "0.4"

[dev-dependencies.tracing]
version = "0.1"

[dev-dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]
