bestool-postgres 1.0.6

PostgreSQL connection pool utilities for BES tooling
Documentation
# 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 = "bestool-postgres"
version = "1.0.6"
authors = [
    "Félix Saparelli <felix@passcod.name>",
    "BES Developers <contact@bes.au>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "PostgreSQL connection pool utilities for BES tooling"
readme = false
license = "GPL-3.0-or-later"
repository = "https://github.com/beyondessential/bestool/tree/main/crates/postgres"
resolver = "2"

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

[dependencies.bytes]
version = "1.9.0"

[dependencies.fraction]
version = "0.15"
features = ["with-postgres-support"]

[dependencies.hex]
version = "0.4.3"

[dependencies.jiff]
version = "0.2.15"

[dependencies.miette]
version = "7.6.0"

[dependencies.mobc]
version = "0.9.0"

[dependencies.mobc-postgres]
version = "0.9.0"
features = ["with-serde_json-1"]

[dependencies.percent-encoding]
version = "2.3"

[dependencies.rpassword]
version = "7.4.0"

[dependencies.rustls]
version = "0.23"
features = [
    "aws-lc-rs",
    "logging",
    "std",
    "tls12",
]
default-features = false

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

[dependencies.serde_json]
version = "1.0.145"

[dependencies.thiserror]
version = "2.0.16"

[dependencies.tokio]
version = "1.47.1"

[dependencies.tokio-postgres]
version = "0.7.15"
features = [
    "with-jiff-0_2",
    "with-serde_json-1",
]

[dependencies.tokio-postgres-rustls]
version = "0.13.0"

[dependencies.tracing]
version = "0.1.43"
features = ["attributes"]

[dev-dependencies.temp-env]
version = "0.3"

[lints.rust]
unsafe_code = "forbid"

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