[package]
edition = "2024"
name = "database-mcp-postgres"
version = "0.6.4"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "PostgreSQL for database-mcp"
homepage = "https://database.haymon.ai"
readme = false
license = "MIT"
repository = "https://github.com/haymon-ai/database"
[lib]
name = "database_mcp_postgres"
path = "src/lib.rs"
[dependencies.database-mcp-config]
version = "0.6.4"
[dependencies.database-mcp-server]
version = "0.6.4"
[dependencies.database-mcp-sql]
version = "0.6.4"
[dependencies.moka]
version = "0.12"
features = ["future"]
[dependencies.rmcp]
version = "1.3"
features = [
"macros",
"server",
"transport-io",
"transport-streamable-http-server",
]
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.sqlparser]
version = "0.61"
features = ["visitor"]
[dependencies.sqlx]
version = "0.8"
features = [
"runtime-tokio",
"runtime-tokio-rustls",
"postgres",
]
[dependencies.sqlx_to_json]
version = "0.6.4"
[dependencies.tokio]
version = "1"
features = ["full"]
[dependencies.tracing]
version = "0.1"
[lints.clippy]
module_name_repetitions = "allow"
multiple_crate_versions = "allow"
struct_excessive_bools = "allow"
[lints.clippy.complexity]
level = "warn"
priority = -1
[lints.clippy.correctness]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.clippy.perf]
level = "warn"
priority = -1
[lints.clippy.style]
level = "warn"
priority = -1
[lints.clippy.suspicious]
level = "warn"
priority = -1
[lints.rust]
ambiguous_negative_literals = "warn"
missing_debug_implementations = "warn"
redundant_imports = "warn"
redundant_lifetimes = "warn"
trivial_numeric_casts = "warn"
unsafe_op_in_unsafe_fn = "warn"
unused_lifetimes = "warn"