aboutsummaryrefslogtreecommitdiffstats
path: root/Cargo.toml
diff options
context:
space:
mode:
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml17
1 files changed, 16 insertions, 1 deletions
diff --git a/Cargo.toml b/Cargo.toml
index bc49f61..7b7c6f3 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -14,7 +14,14 @@ name = "frippy"
doc = false
[features]
-mysql = ["diesel", "diesel_infer_schema", "diesel_migrations", "dotenv"]
+mysql = [
+ "diesel",
+ "diesel_infer_schema",
+ "diesel_migrations",
+ "dotenv",
+ "r2d2",
+ "r2d2-diesel"
+]
[dependencies]
irc = "0.13.4"
@@ -52,6 +59,14 @@ version = "1.1.0"
optional = true
features = ["mysql"]
+[dependencies.r2d2]
+version = "0.8.2"
+optional = true
+
+[dependencies.r2d2-diesel]
+version = "1.0.0"
+optional = true
+
[dependencies.dotenv]
version = "0.11.0"
optional = true