diff --git a/async_postgres/pg_pool.nim b/async_postgres/pg_pool.nim index 1557d19..c33bc8f 100644 --- a/async_postgres/pg_pool.nim +++ b/async_postgres/pg_pool.nim @@ -1,8 +1,6 @@ import std/[deques, macros, options] -import async_backend, pg_protocol, pg_connection, pg_types - -import pg_client +import async_backend, pg_protocol, pg_connection, pg_types, pg_client type PoolConfig* = object diff --git a/async_postgres/pg_pool_cluster.nim b/async_postgres/pg_pool_cluster.nim index 64ee304..13b1425 100644 --- a/async_postgres/pg_pool_cluster.nim +++ b/async_postgres/pg_pool_cluster.nim @@ -1,8 +1,6 @@ import std/[options, macros, strutils] -import async_backend, pg_protocol, pg_connection, pg_types, pg_pool - -import pg_client {.all.} +import async_backend, pg_protocol, pg_connection, pg_types, pg_pool, pg_client type ReplicaFallback* = enum