# 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_tools_database"
version = "0.10.0"
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-tools-database"

[package.metadata.bundle]
identifier = "ai.kodegen.kodegen_tools_database"
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]
all = [
    "postgres",
    "mysql",
    "mariadb",
    "sqlite",
]
default = [
    "postgres",
    "mysql",
    "sqlite",
]
mariadb = ["sqlx/mysql"]
mysql = ["sqlx/mysql"]
postgres = ["sqlx/postgres"]
sqlite = ["sqlx/sqlite"]

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

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

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

[dependencies.anyhow]
version = "1"

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

[dependencies.base64]
version = "0.22"

[dependencies.chrono]
version = "0.4"

[dependencies.env_logger]
version = "0.11"

[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.lazy-regex]
version = "3"

[dependencies.log]
version = "0.4"

[dependencies.openssl-sys]
version = "0.9"
features = ["vendored"]

[dependencies.rand]
version = "0.9"

[dependencies.regex]
version = "1"

[dependencies.rmcp]
version = "0.10"
features = ["server"]

[dependencies.rustls]
version = "0.23"

[dependencies.schemars]
version = "1"

[dependencies.secrecy]
version = "0.10"

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

[dependencies.serde_json]
version = "1"

[dependencies.sqlparser]
version = "0.59"

[dependencies.sqlx]
version = "0.8"
features = [
    "runtime-tokio",
    "tls-rustls",
    "any",
    "postgres",
    "mysql",
    "sqlite",
]

[dependencies.ssh2]
version = "0.9"

[dependencies.thiserror]
version = "2"

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

[dependencies.url]
version = "2"

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

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

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

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

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

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

[dev-dependencies.uuid]
version = "1"
features = ["v4"]
