diff --git a/src/site.rs b/src/site.rs
index 3beb245..f5a1c8a 100644
--- a/src/site.rs
+++ b/src/site.rs
@@ -1,3 +1,6 @@
+// #[derive(BartDisplay)] can cause unused extern crates warning:
+#![allow(unused_extern_crates)]
+
use std::fmt;
use futures::{self, Future};
diff --git a/src/state.rs b/src/state.rs
index 307f583..488b4f0 100644
--- a/src/state.rs
+++ b/src/state.rs
@@ -1,6 +1,5 @@
use std;
-use chrono;
use diesel;
use diesel::sqlite::SqliteConnection;
use diesel::prelude::*;
@@ -21,16 +20,6 @@ impl State {
State { connection_pool }
}
- pub fn get_article_revision_by_slug(&self, slug: &str) -> Result