pub struct Dependencies(pub Vec<String>);
Expand description
List of targets
that must complete successfully before this target can be built.
It should be an array of strings.
If any of the dependencies fails to complete, this target will not be executed.
Example
targets:
target1:
dependencies: []
target2:
dependencies: [target1]
target3:
dependencies: [target2]
In this example, target1
must complete successfully before target2
begins, while target3
waits for target2
to complete.
zinoma target2
will run sequentially target1
and target2
.
zinoma target3
will run sequentially target1
, target2
and target3
.
Tuple Fields§
§0: Vec<String>
Trait Implementations§
source§impl Debug for Dependencies
impl Debug for Dependencies
source§impl Default for Dependencies
impl Default for Dependencies
source§fn default() -> Dependencies
fn default() -> Dependencies
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for Dependencies
impl<'de> Deserialize<'de> for Dependencies
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl JsonSchema for Dependencies
impl JsonSchema for Dependencies
source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref
keyword. Read moreAuto Trait Implementations§
impl RefUnwindSafe for Dependencies
impl Send for Dependencies
impl Sync for Dependencies
impl Unpin for Dependencies
impl UnwindSafe for Dependencies
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more