aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
authorNathan Perry <avaglir@gmail.com>2019-03-29 18:11:47 -0400
committerNathan Perry <avaglir@gmail.com>2019-03-29 18:11:47 -0400
commit4b57515192631b29c0e95847bab5667d70353435 (patch)
treeceddc5713842e030f7fe2c14130e1e070cf06005 /Cargo.toml
parent122e3e22330d961fc3f3f35c117f8c64d592bf36 (diff)
improved stats output
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml5
1 files changed, 4 insertions, 1 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 19924ef..37c7e3a 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -4,7 +4,8 @@ version = "0.1.6"
authors = ["Nathan Perry <avaglir@gmail.com>"]
[features]
-default = ["diesel", "games"]
+default = ["db", "games"]
+db = ["diesel", "postgres", "r2d2_postgres"]
games = []
[dependencies]
@@ -33,6 +34,8 @@ statrs = "^0.10"
fnv = "~1.0"
pest = "~2.1"
pest_derive = "~2.1"
+postgres = { version = "^0.15", optional = true, features = ["with-chrono"] }
+r2d2_postgres = { version = "^0.14", optional = true }
[dependencies.serenity]
default-features = false