feat(db): Bootstrap DbExecutor actor

Bootstraps an Actix actor carrying DB connections. This actor will be
used to interact with converse's database.
This commit is contained in:
Vincent Ambo 2018-04-08 16:41:34 +02:00
parent 5604d933e8
commit bea6eb8eb3
3 changed files with 45 additions and 1 deletions

View file

@ -7,5 +7,7 @@ authors = ["Vincent Ambo <mail@tazj.in>"]
actix = "0.5"
actix-web = { git="https://github.com/actix/actix-web.git" }
env_logger = "0.5"
diesel = { version = "1.2", features = ["postgres", "chrono"]}
diesel = { version = "1.2", features = ["postgres", "chrono", "r2d2"]}
chrono = "0.4"
log = "0.4"
r2d2 = "*"