influxdb/sqlx-hotswap-pool/Cargo.toml

21 lines
642 B
TOML
Raw Normal View History

[package]
name = "sqlx-hotswap-pool"
authors = ["Marko Mikulicic <mkm@influxdata.com>"]
version = "0.0.0"
edition = "2021"
description = "Workaround for the lack of dyanmic credential update support in sqlx"
# Prevent this from being published to crates.io!
publish = false
[dependencies]
sqlx = { version = "0.6.1", features = ["runtime-tokio-rustls", "postgres", "json", "tls"] }
either = "1.7.0"
tokio = { version = "1.20", features = ["rt-multi-thread", "macros", "parking_lot"] }
futures = "0.3"
workspace-hack = { path = "../workspace-hack"}
[dev-dependencies]
dotenvy = "0.15.2"
rand = { version = "0.8", features = ["small_rng"] }