mirror of
https://github.com/neondatabase/neon.git
synced 2025-12-26 15:49:58 +00:00
The synchronous 'postgres' crate is just a wrapper around the async 'tokio_postgres' crate. Some places were unnecessarily using the re-exported NoTls and Error from the synchronous 'postgres' crate, even though they were otherwise using the 'tokio_postgres' crate. Tidy up by using the tokio_postgres types directly.
15 lines
274 B
TOML
15 lines
274 B
TOML
[package]
|
|
name = "postgres_connection"
|
|
version = "0.1.0"
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
|
|
[dependencies]
|
|
anyhow.workspace = true
|
|
itertools.workspace = true
|
|
tokio-postgres.workspace = true
|
|
url.workspace = true
|
|
|
|
[dev-dependencies]
|
|
once_cell.workspace = true
|