summaryrefslogtreecommitdiffstats
path: root/Cargo.toml
diff options
context:
space:
mode:
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml36
1 files changed, 33 insertions, 3 deletions
diff --git a/Cargo.toml b/Cargo.toml
index e320c55..44f70d7 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -13,19 +13,49 @@ description = "An IRC Bot"
name = "frippy"
doc = false
+[features]
+mysql = ["diesel", "diesel_infer_schema", "diesel_migrations", "dotenv"]
+
[dependencies]
irc = "0.13.2"
log = "0.4.1"
time = "0.1.39"
+rlua = "0.12.2"
reqwest = "0.8.4"
select = "0.4.2"
regex = "0.2.6"
-lazy_static = "1.0.0"
+lazy_static = "0.2.9"
serde = "1.0.27"
serde_json = "1.0.9"
+chrono = "0.4.0"
glob = "0.2.11"
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 = "1.0.0-rc1"
+optional = true
+features = ["mysql", "chrono"]
+
+[dependencies.diesel_infer_schema]
+version = "1.0.0-rc1"
+optional = true
+features = ["mysql"]
+
+[dependencies.diesel_migrations]
+version = "1.0.0-rc1"
+optional = true
+features = ["mysql"]
+
+[dependencies.dotenv]
+version = "0.10.1"
+optional = true
+
+[dependencies.clippy]
+version = "*"
+optional = true