diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2021-10-26 19:05:40 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2021-10-26 19:05:40 +0200 |
commit | 9951c5c24e7e23f7e80e8e13d7900c5d2470fbee (patch) | |
tree | e6b5c4e3b27d4f1962d11049c4a6e581c984684b /crates | |
parent | 5d93586e6def88752323d6dc91443a24a5b7e0f0 (diff) | |
download | rebel-9951c5c24e7e23f7e80e8e13d7900c5d2470fbee.tar rebel-9951c5c24e7e23f7e80e8e13d7900c5d2470fbee.zip |
executor: context: remove unneeded Serialize impl on TaskRef/OutputRef
Diffstat (limited to 'crates')
-rw-r--r-- | crates/executor/src/context.rs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/crates/executor/src/context.rs b/crates/executor/src/context.rs index 8951c50..daed230 100644 --- a/crates/executor/src/context.rs +++ b/crates/executor/src/context.rs @@ -10,7 +10,6 @@ use std::{ use lazy_static::lazy_static; use regex::Regex; -use serde::Serialize; use common::{ error::{self, Contextualizable}, @@ -63,7 +62,7 @@ impl<'ctx> From<Error<'ctx>> for error::Error { pub type Result<'ctx, T> = result::Result<T, Error<'ctx>>; -#[derive(Clone, Debug, Serialize, PartialEq, Eq, Hash)] +#[derive(Clone, Debug, PartialEq, Eq, Hash)] pub struct TaskRef<'ctx> { pub id: &'ctx TaskID, pub args: Rc<TaskArgs>, @@ -104,7 +103,7 @@ impl<'ctx> Display for TaskRef<'ctx> { } } -#[derive(Clone, Debug, Serialize, PartialEq, Eq, Hash)] +#[derive(Clone, Debug, PartialEq, Eq, Hash)] pub struct OutputRef<'ctx> { pub task: TaskRef<'ctx>, pub output: &'ctx str, |