toasty-driver-postgresql 0.4.0

PostgreSQL driver for Toasty
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"
rust-version = "1.94"
name = "toasty-driver-postgresql"
version = "0.4.0"
authors = ["Carl Lerche <me@carllerche.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "PostgreSQL driver for Toasty"
homepage = "https://github.com/tokio-rs/toasty"
documentation = "https://docs.rs/toasty-driver-postgresql"
readme = "README.md"
keywords = [
    "orm",
    "database",
    "sql",
    "nosql",
    "async",
]
categories = ["database"]
license = "MIT"
repository = "https://github.com/tokio-rs/toasty"
resolver = "2"

[features]
bigdecimal = [
    "dep:bigdecimal",
    "toasty-core/bigdecimal",
]
default = ["tls"]
jiff = [
    "dep:jiff",
    "toasty-core/jiff",
    "postgres-types/with-jiff-0_2",
]
rust_decimal = [
    "dep:rust_decimal",
    "toasty-core/rust_decimal",
]
tls = [
    "dep:rustls",
    "dep:tokio-rustls",
    "dep:const-oid",
    "dep:sha2",
    "dep:x509-cert",
    "dep:rustls-platform-verifier",
    "dep:rustls-pemfile",
    "dep:rustls-webpki",
]

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

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

[dependencies.bigdecimal]
version = "0.4.10"
optional = true

[dependencies.const-oid]
version = "0.9.6"
features = ["db"]
optional = true
default-features = false

[dependencies.jiff]
version = "0.2.23"
optional = true

[dependencies.lru]
version = "0.16.3"

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

[dependencies.postgres-types]
version = "0.2.13"
features = [
    "with-uuid-1",
    "array-impls",
]

[dependencies.rust_decimal]
version = "1.41.0"
features = ["db-postgres"]
optional = true

[dependencies.rustls]
version = "0.23"
features = [
    "std",
    "ring",
]
optional = true
default-features = false

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

[dependencies.rustls-platform-verifier]
version = "0.6"
optional = true

[dependencies.rustls-webpki]
version = "0.103"
features = [
    "alloc",
    "std",
]
optional = true
default-features = false

[dependencies.sha2]
version = "0.11"
optional = true
default-features = false

[dependencies.toasty-core]
version = "0.4.0"

[dependencies.toasty-sql]
version = "0.4.0"

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

[dependencies.tokio-postgres]
version = "0.7.17"

[dependencies.tokio-rustls]
version = "0.26"
optional = true
default-features = false

[dependencies.tracing]
version = "0.1"

[dependencies.url]
version = "2.5.8"

[dependencies.uuid]
version = "1.23.0"
features = [
    "v4",
    "v7",
    "fast-rng",
]

[dependencies.x509-cert]
version = "0.2.5"
features = ["std"]
optional = true
default-features = false

[lints.rust]
unsafe_code = "deny"