Module cli::types

source ·
Expand description

types

Defines the various types and aliases used by cargo-make.

Structs

Holds persisted data used by cargo-make
Holds CLI args
Command info
Holds the entire configuration such as task definitions and env vars
Holds the configuration found in the makefile toml config section.
Holds crate dependency info.
Holds crate information loaded from the Cargo.toml file.
Env file path and attributes
Holds env information
Env value set if condition is met
Env value provided by decoding other values
Env value holding a list of paths based on given glob definitions
Env value provided by a script
Enables to unset env variables
Execution plan which defines all steps to run and the order to run them
Extend with more fine tuning options
Holds the entire externally read configuration such as task definitions and env vars where all values are optional
Script file name
Files modified (input/output) condition structure
Holds flow information
Holds mutable flow state
Holds configuration info for cargo-make
Holds instructions how to install the cargo plugin
Holds instructions how to install the crate
Holds instructions how to install a rustup component
Holds properties to modify the core tasks
Holds crate package information loaded from the Cargo.toml file package section.
Holds a single task configuration for a specific platform as an override of another task
Holds the run task information
Holds the run task routing information
Rust version condition structure
Script content split to parts to enable a more fine tuned extension capability
Execution plan step to execute
Holds a single task configuration such as command and dependencies list
Holds condition attributes
An identifier for a task
Arguments used to check whether a crate or rustup component is installed.
A toolchain with a minimum version bound
Holds watch options

Enums

Holds crate dependency info.
A dependency, defined either as a string or as a Dependency object
Holds deprecation info such as true/false/message
Holds the env file path and attributes
Holds the env value or script
Holds makefile extend value
Install crate name or params
Run task info
Holds the run task name/s
Script value (text, file name, …)
Holds watch options or simple true/false value
A toolchain, defined either as a string (following the rustup syntax) or a ToolchainBoundedSpecifier.
Unstable cargo-make feature

Functions

Returns the platform name