Expand description
§types
Defines the various types and aliases used by cargo-make.
Structs§
- Cache
- Holds persisted data used by cargo-make
- CliArgs
- Holds CLI args
- Command
Spec - Command info
- Config
- Holds the entire configuration such as task definitions and env vars
- Config
Section - Holds the configuration found in the makefile toml config section.
- Crate
Dependency Info - Holds crate dependency info.
- Crate
Info - Holds crate information loaded from the Cargo.toml file.
- EnvFile
Info - Env file path and attributes
- EnvInfo
- Holds env information
- EnvValue
Conditioned - Env value set if condition is met
- EnvValue
Decode - Env value provided by decoding other values
- EnvValue
Path Glob - Env value holding a list of paths based on given glob definitions
- EnvValue
Script - Env value provided by a script
- EnvValue
Unset - Enables to unset env variables
- Execution
Plan - Execution plan which defines all steps to run and the order to run them
- Extend
Options - Extend with more fine tuning options
- External
Config - Holds the entire externally read configuration such as task definitions and env vars where all values are optional
- File
Script Value - Script file name
- Files
Files Modified Condition - Files modified (input/output) condition structure
- Flow
Info - Holds flow information
- Flow
State - Holds mutable flow state
- Global
Config - Holds configuration info for cargo-make
- Install
Cargo Plugin Info - Holds instructions how to install the cargo plugin
- Install
Crate Info - Holds instructions how to install the crate
- Install
Rustup Component Info - Holds instructions how to install a rustup component
- Modify
Config - Holds properties to modify the core tasks
- Package
Info - Holds crate package information loaded from the Cargo.toml file package section.
- Platform
Override Task - Holds a single task configuration for a specific platform as an override of another task
- RunTask
Details - Holds the run task information
- RunTask
Routing Info - Holds the run task routing information
- Rust
Version Condition - Rust version condition structure
- Script
Sections - Script content split to parts to enable a more fine tuned extension capability
- Step
- Execution plan step to execute
- Task
- Holds a single task configuration such as command and dependencies list
- Task
Condition - Holds condition attributes
- Task
Identifier - An identifier for a task
- TestArg
- Arguments used to check whether a crate or rustup component is installed.
- Toolchain
Bounded Specifier - A toolchain with a minimum version bound
- Watch
Options - Holds watch options
- Workspace
- Holds crate workspace info, see http://doc.crates.io/manifest.html#the-workspace-section
Enums§
- Condition
Script Value - Condition script value (not as advanced as normal script value)
- Condition
Type - Control how condition checks are evaluated
- Crate
Dependency - Holds crate dependency info.
- Dependency
Identifier - A dependency, defined either as a string or as a Dependency object
- Deprecation
Info - Holds deprecation info such as true/false/message
- EnvFile
- Holds the env file path and attributes
- EnvValue
- Holds the env value or script
- Extend
- Holds makefile extend value
- Install
Crate - Install crate name or params
- Maybe
Array - Could be an array or single value
- RunTask
Info - Run task info
- RunTask
Name - Holds the run task name/s
- Script
Value - Script value (text, file name, …)
- Task
Watch Options - Holds watch options or simple true/false value
- Toolchain
Specifier - A toolchain, defined either as a string (following the rustup syntax) or a ToolchainBoundedSpecifier.
- Unstable
Feature - Unstable cargo-make feature
Functions§
- get_
platform_ name - Returns the platform name