summaryrefslogtreecommitdiffstats
path: root/src/job
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/job
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/job')
-rw-r--r--src/job/runnable.rs1
-rw-r--r--src/job/set.rs1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/job/runnable.rs b/src/job/runnable.rs
index 5e6387a..de5b32d 100644
--- a/src/job/runnable.rs
+++ b/src/job/runnable.rs
@@ -3,6 +3,7 @@ use anyhow::Error;
use anyhow::Result;
use anyhow::anyhow;
use getset::Getters;
+use log::{warn, trace};
use tokio::stream::StreamExt;
use uuid::Uuid;
diff --git a/src/job/set.rs b/src/job/set.rs
index 233110a..56485b4 100644
--- a/src/job/set.rs
+++ b/src/job/set.rs
@@ -1,4 +1,5 @@
use anyhow::Result;
+use log::{debug, trace};
use tokio::stream::StreamExt;
use crate::config::Configuration;