aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
authorNathan Perry <avaglir@gmail.com>2018-02-15 00:03:32 -0500
committerNathan Perry <avaglir@gmail.com>2018-02-15 00:03:51 -0500
commitd410d75ca967d476784eaca22d6e49f21ca318dd (patch)
tree77d1c364e075e6f6123d7fcd238a04496664e66b /Cargo.toml
parent66eeaaab1777c6bb85627c2a41fd5234a7576f84 (diff)
start adding in diesel
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml5
1 files changed, 5 insertions, 0 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 0f9a5d0..8118a0a 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -3,6 +3,9 @@ name = "thulani"
version = "0.1.0"
authors = ["Nathan Perry <avaglir@gmail.com>"]
+[features]
+default = ["diesel"]
+
[dependencies]
lazy_static = "1.0"
error-chain = "0.11.0"
@@ -12,6 +15,8 @@ url = "1.6.0"
dotenv = "0.10.1"
chrono = "0.4"
fern = { version = "0.5", features = ["colored"] }
+diesel = { version = "1.0.0", features = ["postgres"], optional = true }
+cfg-if = "0.1"
[dependencies.serenity]
version = "0.5"