sqlx-pool-router 0.2.0

Lightweight SQLx PostgreSQL connection pool routing for primary/replica separation
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"
name = "sqlx-pool-router"
version = "0.2.0"
authors = ["fergus.finn@doubleword.ai"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Lightweight SQLx PostgreSQL connection pool routing for primary/replica separation"
readme = "README.md"
keywords = [
    "database",
    "postgres",
    "pool",
    "replica",
    "routing",
]
categories = [
    "database",
    "asynchronous",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/doublewordai/sqlx-pool-router"

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

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

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

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

[dependencies.sqlx]
version = "0.8"
features = ["postgres"]
default-features = false

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

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

[dev-dependencies.url]
version = "2.5"