ownpg 0.1.0

OwnPG serves PostgreSQL DBA tools to AI clients over the Model Context Protocol, one database and one schema per run
# 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"
rust-version = "1.89"
name = "ownpg"
version = "0.1.0"
authors = ["Md. Sazzad Hossain Sharkar <sazzad@devops.bd>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "OwnPG serves PostgreSQL DBA tools to AI clients over the Model Context Protocol, one database and one schema per run"
homepage = "https://github.com/devops-infinity/ownpg-releases"
readme = "README.md"
keywords = [
    "postgresql",
    "mcp",
    "database",
    "dba",
    "cli",
]
categories = [
    "command-line-utilities",
    "database",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/devops-infinity/ownpg-releases"

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

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

[dependencies.clap]
version = "4.6.7"
features = [
    "derive",
    "env",
    "wrap_help",
]

[dependencies.clap_complete]
version = "4.6.11"

[dependencies.clap_mangen]
version = "0.3.3"

[dependencies.etcetera]
version = "0.11.0"

[dependencies.keyring]
version = "4.2.0"

[dependencies.ownpg-core]
version = "0.1.0"

[dependencies.rpassword]
version = "7.5.4"

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

[dependencies.serde_json]
version = "1.0.151"

[dependencies.tokio]
version = "1.53.1"
features = [
    "rt",
    "rt-multi-thread",
    "net",
    "io-util",
    "io-std",
    "time",
    "sync",
    "macros",
    "signal",
]

[dependencies.tracing]
version = "0.1.44"

[dependencies.tracing-appender]
version = "0.2.5"

[dependencies.tracing-subscriber]
version = "0.3.23"
features = [
    "fmt",
    "env-filter",
    "json",
    "std",
]
default-features = false

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

[dev-dependencies.insta]
version = "1.48.0"
features = ["json"]

[dev-dependencies.predicates]
version = "3.1.4"

[dev-dependencies.serde_json]
version = "1.0.151"

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

[lints.clippy]
cargo_common_metadata = "allow"
dbg_macro = "deny"
expect_used = "deny"
indexing_slicing = "deny"
integer_division = "deny"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
multiple_crate_versions = "allow"
must_use_candidate = "allow"
panic = "deny"
print_stderr = "deny"
print_stdout = "deny"
todo = "deny"
unimplemented = "deny"
unwrap_used = "deny"

[lints.clippy.all]
level = "deny"
priority = -1

[lints.clippy.cargo]
level = "warn"
priority = -1

[lints.rust]
missing_debug_implementations = "warn"
unreachable_pub = "warn"
unsafe_code = "forbid"

[lints.rust.rust_2018_idioms]
level = "warn"
priority = -1