From 6f11f3f247d8949401cd0afb676198b439053740 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Fri, 12 Apr 2024 19:34:13 +0200 Subject: Replace 'inherit' recipe field with 'parent' All occurrences of 'inherit' in the code are replaced with 'parent' or 'ancestors'. --- crates/driver/src/task.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crates/driver/src/task.rs') diff --git a/crates/driver/src/task.rs b/crates/driver/src/task.rs index e30f214..e84766e 100644 --- a/crates/driver/src/task.rs +++ b/crates/driver/src/task.rs @@ -28,7 +28,7 @@ fn default_output_name() -> String { } #[derive(Clone, Debug, Deserialize)] -pub struct InheritDep { +pub struct ParentDep { #[serde(flatten)] pub dep: TaskDep, } @@ -78,7 +78,7 @@ pub struct TaskDef { #[serde(default)] pub args: HashMap, #[serde(default)] - pub inherit: Option, + pub parent: Option, #[serde(default)] pub fetch: HashSet, #[serde(default)] -- cgit v1.2.3