summaryrefslogtreecommitdiffstats
path: root/src/recipe.rs
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2021-10-24 22:40:08 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2021-10-24 23:58:03 +0200
commita1a185370da27f2cc3df84d3a8d7141f9ce7db16 (patch)
tree6904f6f0549e89d160cbe635713e2864df25c21a /src/recipe.rs
parent524985f9449eb2f3a1d01b5f88dc74123d40c43a (diff)
downloadrebel-a1a185370da27f2cc3df84d3a8d7141f9ce7db16.tar
rebel-a1a185370da27f2cc3df84d3a8d7141f9ce7db16.zip
Split defintions used by both runner and executor into separate crate
Also get rid of the Runner trait - different runner implementations do not make sense with our current design.
Diffstat (limited to 'src/recipe.rs')
-rw-r--r--src/recipe.rs7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/recipe.rs b/src/recipe.rs
index 5155474..04f356b 100644
--- a/src/recipe.rs
+++ b/src/recipe.rs
@@ -4,10 +4,9 @@ use scoped_tls_hkt::scoped_thread_local;
use serde::{Deserialize, Deserializer};
use walkdir::WalkDir;
-use crate::{
- task::{RecipeMeta, TaskDef},
- types::TaskID,
-};
+use common::types::*;
+
+use crate::task::{RecipeMeta, TaskDef};
scoped_thread_local!(static CURRENT_RECIPE: str);