resolute 0.5.0

Compile-time-checked PostgreSQL queries with a pure-Rust wire protocol driver.
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 = "2021"
rust-version = "1.85"
name = "resolute"
version = "0.5.0"
authors = ["Josh Burgess <joshualoganburgess@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Compile-time-checked PostgreSQL queries with a pure-Rust wire protocol driver."
homepage = "https://github.com/joshburgess/resolute"
documentation = "https://docs.rs/resolute"
readme = "README.md"
keywords = [
    "postgres",
    "postgresql",
    "sql",
    "database",
    "async",
]
categories = [
    "database",
    "asynchronous",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/joshburgess/resolute"

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

[features]
chrono = [
    "dep:chrono",
    "resolute-macros/chrono",
]
default = [
    "chrono",
    "json",
    "uuid",
]
json = [
    "dep:serde_json",
    "resolute-macros/json",
]
test-utils = []
uuid = [
    "dep:uuid",
    "resolute-macros/uuid",
]

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

[[example]]
name = "basic_crud"
path = "examples/basic_crud.rs"

[[example]]
name = "copy_bulk"
path = "examples/copy_bulk.rs"

[[example]]
name = "custom_types"
path = "examples/custom_types.rs"

[[example]]
name = "named_params"
path = "examples/named_params.rs"

[[example]]
name = "retry_pool"
path = "examples/retry_pool.rs"

[[example]]
name = "streaming"
path = "examples/streaming.rs"

[[example]]
name = "transactions"
path = "examples/transactions.rs"

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

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

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

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

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

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

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

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

[[bench]]
name = "concurrent_load"
path = "benches/concurrent_load.rs"
harness = false

[[bench]]
name = "encode_decode"
path = "benches/encode_decode.rs"
harness = false

[[bench]]
name = "query_latency"
path = "benches/query_latency.rs"
harness = false

[dependencies.arc-swap]
version = "1"

[dependencies.bytes]
version = "1"

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

[dependencies.pg-pool]
version = "0.4.0"

[dependencies.pg-wired]
version = "0.4.0"

[dependencies.rand]
version = "0.9"

[dependencies.resolute-derive]
version = "0.1.0"

[dependencies.resolute-macros]
version = "0.3.0"

[dependencies.serde_json]
version = "1"
optional = true

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "sync",
    "fs",
    "time",
]

[dependencies.tokio-stream]
version = "0.1"

[dependencies.tracing]
version = "0.1"

[dependencies.uuid]
version = "1"
optional = true

[dev-dependencies.chrono]
version = "0.4"
features = ["clock"]

[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]

[dev-dependencies.proptest]
version = "1"

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

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

[dev-dependencies.sqlx]
version = "0.8"
features = [
    "runtime-tokio",
    "postgres",
    "chrono",
    "uuid",
    "json",
]

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

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

[dev-dependencies.trybuild]
version = "1"

[dev-dependencies.uuid]
version = "1"
features = ["v4"]