From 5fbde7064c26a00eb03bdd077a99b11362f7080f Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Sun, 1 Oct 2017 22:00:39 +0200 Subject: Add dependency to r2d2 to manage database access. --- Cargo.toml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index fa1df62..78fbf3a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,3 +9,5 @@ rocket_codegen = "0.3.3" diesel = { version = "0.16.0", features = ["postgres"] } diesel_codegen = { version = "0.16.0", features = ["postgres"] } dotenv = "0.9.0" +r2d2 = "0.7.4" +r2d2-diesel = "0.16.0" -- cgit v1.2.3