aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2017-10-01 22:00:39 +0200
committerHarald Eilertsen <haraldei@anduin.net>2017-10-01 22:00:39 +0200
commit5fbde7064c26a00eb03bdd077a99b11362f7080f (patch)
tree212601cb5ade98a96fd3c202023907b52fe9ab19
parent921c3567e828bb02f4b0110a10749ae644d47906 (diff)
downloadrocket-blog-5fbde7064c26a00eb03bdd077a99b11362f7080f.tar.gz
rocket-blog-5fbde7064c26a00eb03bdd077a99b11362f7080f.tar.bz2
rocket-blog-5fbde7064c26a00eb03bdd077a99b11362f7080f.zip
Add dependency to r2d2 to manage database access.
-rw-r--r--Cargo.toml2
1 files changed, 2 insertions, 0 deletions
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"