aboutsummaryrefslogtreecommitdiffstats
path: root/Cargo.toml
diff options
context:
space:
mode:
authorJokler <jokler.contact@gmail.com>2017-11-04 22:46:39 +0100
committerJokler <jokler.contact@gmail.com>2017-12-24 00:40:06 +0100
commit5928afc3bf83661cd3b11130a31a2d97ef135a9e (patch)
tree4d1ad028c3a7130eb98c18ef5b97bea9f52f2e2f /Cargo.toml
parentf3d679da59a64711ef96042668b26dffd1e662d5 (diff)
downloadfrippy-5928afc3bf83661cd3b11130a31a2d97ef135a9e.tar.gz
frippy-5928afc3bf83661cd3b11130a31a2d97ef135a9e.zip
Add MySql as a possible database for the Factoids plugin
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml26
1 files changed, 24 insertions, 2 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 87c9052..5ff779f 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -18,6 +18,9 @@ name = "frippy"
path = "bin/main.rs"
doc = false
+[features]
+mysql = ["diesel", "diesel_codegen", "dotenv"]
+
[dependencies]
irc = "0.12.5"
tokio-core = "0.1.10"
@@ -34,6 +37,25 @@ serde_json = "1.0.3"
glob = "0.2"
frippy_derive = { path = "frippy_derive" }
-unicode_names = { git = 'https://github.com/Jokler/unicode_names', branch = 'update-to-latest-unicode' }
-clippy = {version = "*", optional = true}
+[dependencies.unicode_names]
+git = 'https://github.com/Jokler/unicode_names'
+branch = 'update-to-latest-unicode'
+
+[dependencies.diesel]
+version = "0.16.0"
+optional = true
+features = ["mysql"]
+
+[dependencies.diesel_codegen]
+version = "0.16.0"
+optional = true
+features = ["mysql"]
+
+[dependencies.dotenv]
+version = "0.10.1"
+optional = true
+
+[dependencies.clippy]
+version = "*"
+optional = true \ No newline at end of file