Module cargo::util::command_prelude

source ·

Re-exports

Macros

  • Select a [ValueParser] implementation from the intended type

Structs

  • The abstract representation of a command line argument. Used to set all the options and relationships that define a valid argument for the program.
  • Container for parse results.
  • Build a command-line interface.

Enums

  • Behavior of arguments when they are encountered while parsing
  • The general “mode” for what to do. This is used for two purposes. The commands themselves pass this in to compile_ws to tell it the general execution strategy. This influences the default targets selected. The other use is in the Unit struct to indicate what is being done with a specific target.
  • Determines whether or not to gate --profile as unstable when resolving it.

Traits

Functions