diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2024-04-12 19:34:13 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2024-04-13 20:07:55 +0200 |
commit | 6f11f3f247d8949401cd0afb676198b439053740 (patch) | |
tree | f3d244a97885e22f5a678f937ad44789aa5fb0d5 /crates/driver/src/task.rs | |
parent | 35e0cd907a89b751637f71ce910950a8a8865fe0 (diff) | |
download | rebel-6f11f3f247d8949401cd0afb676198b439053740.tar rebel-6f11f3f247d8949401cd0afb676198b439053740.zip |
Replace 'inherit' recipe field with 'parent'
All occurrences of 'inherit' in the code are replaced with 'parent' or
'ancestors'.
Diffstat (limited to 'crates/driver/src/task.rs')
-rw-r--r-- | crates/driver/src/task.rs | 4 |
1 files changed, 2 insertions, 2 deletions
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<String, ArgType>, #[serde(default)] - pub inherit: Option<InheritDep>, + pub parent: Option<ParentDep>, #[serde(default)] pub fetch: HashSet<Fetch>, #[serde(default)] |