# 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 = "2021"
name = "pgb-iam"
version = "0.2.0"
build = false
exclude = ["config.toml"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "IAM-Aware PostgreSQL Connection Pooler — production-ready PgBouncer alternative with native AWS RDS IAM and GCP Cloud SQL IAM authentication"
homepage = "https://github.com/gaurav1704/pgb-iam"
readme = "README.md"
keywords = [
    "postgresql",
    "connection-pooler",
    "iam",
    "aws-rds",
    "gcp-cloud-sql",
]
categories = [
    "database",
    "authentication",
    "network-programming",
]
license = "Apache-2.0"
repository = "https://github.com/gaurav1704/pgb-iam"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

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

[[bin]]
name = "pgb-iam"
path = "src/main.rs"

[dependencies.anyhow]
version = "1"

[dependencies.aws-config]
version = "1"

[dependencies.aws-credential-types]
version = "1.2.14"

[dependencies.aws-sdk-rds]
version = "1"

[dependencies.aws-types]
version = "1"

[dependencies.axum]
version = "0.7"

[dependencies.base64]
version = "0.22"

[dependencies.chrono]
version = "0.4"
default-features = false

[dependencies.clap]
version = "4"
features = ["derive"]

[dependencies.hmac]
version = "0.12"

[dependencies.ipnetwork]
version = "0.20"

[dependencies.ldap3]
version = "0.11"
features = ["tls"]

[dependencies.libc]
version = "0.2"

[dependencies.md-5]
version = "0.10"

[dependencies.pbkdf2]
version = "0.12"

[dependencies.rand]
version = "0.8"

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

[dependencies.rustls]
version = "0.23"

[dependencies.rustls-native-certs]
version = "0.8"

[dependencies.rustls-pemfile]
version = "2"

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

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.10"

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

[dependencies.tokio-rustls]
version = "0.26"

[dependencies.toml]
version = "0.8"

[dependencies.tracing]
version = "0.1"

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