aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/tutorial01/main.rs2
-rw-r--r--examples/tutorial02/main.rs2
2 files changed, 4 insertions, 0 deletions
diff --git a/examples/tutorial01/main.rs b/examples/tutorial01/main.rs
index 7426ab7..52ae922 100644
--- a/examples/tutorial01/main.rs
+++ b/examples/tutorial01/main.rs
@@ -1,3 +1,5 @@
+#[macro_use] extern crate diesel;
+
use tosin::Settings;
use tosin::contrib::admin;
use tosin::db::backend::Connectable;
diff --git a/examples/tutorial02/main.rs b/examples/tutorial02/main.rs
index 0f8dc11..8f0eebe 100644
--- a/examples/tutorial02/main.rs
+++ b/examples/tutorial02/main.rs
@@ -1,3 +1,5 @@
+#[macro_use] extern crate diesel;
+
use tosin::Settings;
use tosin::contrib::admin;
use tosin::db::backend::Connectable;