aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib.rs
diff options
context:
space:
mode:
authorJokler <jokler.contact@gmail.com>2019-12-07 21:34:40 +0100
committerJokler <jokler.contact@gmail.com>2019-12-07 21:34:40 +0100
commitf372945457078451dd62775ae2ce16a2a71f4147 (patch)
treef4b4af2290d10efa2baed7d3ab9c52bb4052c258 /src/lib.rs
parentb74b1915d9c64894bb8c2d310879d0047bb87d00 (diff)
downloadfrippy-f372945457078451dd62775ae2ce16a2a71f4147.tar.gz
frippy-f372945457078451dd62775ae2ce16a2a71f4147.zip
Fix mysql feature by readding diesel macros
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index fc539e2..ab4c71f 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -28,6 +28,10 @@
//! Frippy uses the [log](https://docs.rs/log) crate so you can log events
//! which might be of interest.
+#[cfg(feature = "mysql")]
+#[macro_use]
+extern crate diesel;
+
pub mod error;
pub mod plugin;
pub mod plugins;