summaryrefslogtreecommitdiffstats
path: root/src/context.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/context.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/context.rs')
-rw-r--r--src/context.rs7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/context.rs b/src/context.rs
index 4ec74a3..8953f0d 100644
--- a/src/context.rs
+++ b/src/context.rs
@@ -13,12 +13,15 @@ use lazy_static::lazy_static;
use regex::Regex;
use serde::Serialize;
+use common::{
+ error::{self, Contextualizable},
+ types::TaskID,
+};
+
use crate::{
args::{self, arg, Arg, ArgMapping, ArgType, PlatformRelation, TaskArgs},
paths,
task::*,
- types::TaskID,
- util::error::{self, Contextualizable},
};
#[derive(Debug, Clone, Copy)]