# 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 = "cnctd_ai"
version = "0.1.14"
authors = [
    "Connected Dot Inc.",
    "Kyle Ebner <kyle@cnctd.world>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "AI and LLM utilities"
readme = "README.md"
keywords = ["module"]
license = "MIT"
repository = "https://github.com/Connected-Dot/cnctd_server"
resolver = "2"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.anthropic-sdk-rust]
version = "0.1.1"

[dependencies.anyhow]
version = "1.0"

[dependencies.async-openai]
version = "0.30.1"

[dependencies.bytes]
version = "1.11.0"

[dependencies.chrono]
version = "0.4"

[dependencies.dotenvy]
version = "0.15.7"

[dependencies.eventsource-stream]
version = "0.2.3"

[dependencies.futures]
version = "0.3.31"

[dependencies.reqwest]
version = "0.12.24"

[dependencies.rmcp]
version = "0.9.0"
features = [
    "client",
    "transport-streamable-http-client",
    "transport-streamable-http-client-reqwest",
    "transport-child-process",
]

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

[dependencies.serde_json]
version = "1.0.145"

[dependencies.thiserror]
version = "2.0.17"

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

[dependencies.uuid]
version = "1.11"
features = ["v4"]

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

[dev-dependencies.tokio]
version = "1.48.0"
features = ["full"]
