about summary refs log tree commit diff
path: root/finito-postgres/Cargo.toml
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2018-12-13T15·53+0100
committerVincent Ambo <mail@tazj.in>2018-12-13T15·53+0100
commitb7481172252d6f00546e94534b05d011b4105843 (patch)
tree3d3d3024d7d45d3875ad651f01b4df91acd7967e /finito-postgres/Cargo.toml
parent42d56713bd6bbaf213cac37ff85fb1c64188fec5 (diff)
feat(postgres): Introduce database connection pool
Adds an r2d2 database connection pool to the backend type. This makes
it possible for separate FSMs to run at the same time through the same
backend, by retrieving separate connections.
Diffstat (limited to 'finito-postgres/Cargo.toml')
-rw-r--r--finito-postgres/Cargo.toml3
1 files changed, 2 insertions, 1 deletions
diff --git a/finito-postgres/Cargo.toml b/finito-postgres/Cargo.toml
index 12bcef8c2f4b..dd8d1d000304 100644
--- a/finito-postgres/Cargo.toml
+++ b/finito-postgres/Cargo.toml
@@ -5,9 +5,10 @@ authors = ["Vincent Ambo <mail@tazj.in>"]
 
 [dependencies]
 chrono = "0.4"
+postgres-derive = "0.3"
 serde = "1.0"
 serde_json = "1.0"
-postgres-derive = "0.3"
+r2d2_postgres = "0.14"
 
 [dependencies.postgres]
 version = "0.15"