summaryrefslogtreecommitdiffstats
path: root/src/commands/db.rs
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2020-12-04 11:49:33 +0100
committerMatthias Beyer <mail@beyermatthias.de>2020-12-07 13:21:54 +0100
commita0235c900b052f31b221d7c0994598c014b1b791 (patch)
treecfecfa88cd12bfdec2a4125caa37c55699882221 /src/commands/db.rs
parentb653c3377c37458e23e837f54f5e597bf07641ba (diff)
Deny macro_use from external crate
Diesel is an exception here, because the generated src/schema.rs file does not automatically contain the necessary imports. All imports were added where necessary. Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Diffstat (limited to 'src/commands/db.rs')
-rw-r--r--src/commands/db.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/commands/db.rs b/src/commands/db.rs
index fc6c821..3c0a040 100644
--- a/src/commands/db.rs
+++ b/src/commands/db.rs
@@ -14,6 +14,7 @@ use diesel::ExpressionMethods;
use diesel::QueryDsl;
use diesel::RunQueryDsl;
use itertools::Itertools;
+use log::info;
use syntect::easy::HighlightLines;
use syntect::highlighting::{ThemeSet, Style};
use syntect::parsing::SyntaxSet;