summaryrefslogtreecommitdiffstats
path: root/crates/common/src/types.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/common/src/types.rs')
-rw-r--r--crates/common/src/types.rs11
1 files changed, 9 insertions, 2 deletions
diff --git a/crates/common/src/types.rs b/crates/common/src/types.rs
index 51f9209..f45d1dd 100644
--- a/crates/common/src/types.rs
+++ b/crates/common/src/types.rs
@@ -22,8 +22,15 @@ impl Display for TaskID {
#[derive(Clone, Debug, Deserialize, Serialize, PartialEq, Eq, Hash)]
#[serde(rename_all = "snake_case")]
pub enum Dependency {
- Fetch { name: String, sha256: StringHash },
- Task { output: ArchiveHash, path: String },
+ Fetch {
+ name: String,
+ target_dir: String,
+ sha256: StringHash,
+ },
+ Task {
+ output: ArchiveHash,
+ path: String,
+ },
}
#[derive(Clone, Debug, Deserialize, Serialize)]