Module cargo_task::_cargo_task_util[][src]

Expand description

Common cargo_task_util mod will be available to all tasks.

Simply include it in your task module:

  • mod cargo_task_util;
  • use cargo_task_util::*;

Note, the macros ct_info!, ct_warn!, ct_fatal!, and ct_check_fatal! are all defined in this module, and thus are available to task code too. But rust hoists all macros up to the root, so their docs are up there : )

Structs

Cargo-task environment info struct.

Cargo-task task metadata struct.

Enums

Log Level enum for CT logging

Functions

Fetch the current CTEnv

Fatal level log function

Info level log function

Generic CT log function

Warn level log function