Commit Graph

3 Commits

Author SHA1 Message Date
62df3f239a
cargo fmt
Signed-off-by: ATechnoHazard <amolele@gmail.com>
2020-06-26 16:44:07 +05:30
supercmmetry
de741f451e
refactor: Remove unused code
- DbConn moved to /src/api/guards/db.rs
- Removed redundant imports in /src/api/routes

Signed-off-by: supercmmetry <vishaals2000@gmail.com>
2020-06-26 08:14:19 +05:30
supercmmetry
2f904690b5
utils: Implement psql db pool state
- Implement a PSQL DB Pool which is managed as a Rocket State

Signed-off-by: supercmmetry <vishaals2000@gmail.com>
2020-06-24 13:58:53 +05:30