summaryrefslogtreecommitdiffstats
path: root/src/executor.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/executor.rs')
-rw-r--r--src/executor.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/executor.rs b/src/executor.rs
index 9af0863..3608696 100644
--- a/src/executor.rs
+++ b/src/executor.rs
@@ -1,6 +1,6 @@
use std::collections::{HashMap, HashSet};
-use crate::{runner, types::*, util::cjson};
+use crate::{runner, types::*};
#[derive(Debug)]
pub struct Executor<'a> {
@@ -73,7 +73,7 @@ impl<'a> Executor<'a> {
depends: task_deps,
};
- let input_hash = StringHash(cjson::digest::<InputHasher, _>(&task)?.into());
+ let input_hash = task.input_hash();
let output_hash = runner.run(&task)?;
let output = TaskOutput {