Crate peace_core

source ·
Expand description

Low level data types for the peace automation framework.

This crate exists because:

  • peace_cfg has a dependency on peace_resources for Resources, used in Item::setup.

  • peace_resources has a dependency on ItemId, as uses TypeMap<ItemId, _> for the States maps.

    When peace#67 is implemented, the progress module can be moved out of peace_core into peace_cfg.

Macros§

  • Returns a const AppName validated at compile time.
  • Returns a const FlowId validated at compile time.
  • Returns a const ItemId validated at compile time.
  • Returns a const Profile validated at compile time.

Structs§

  • Name of the application that is run by end users.
  • Error indicating AppName provided is not in the correct format.
  • Identifier or name of a process flow.
  • Error indicating FlowId provided is not in the correct format.
  • Unique identifier for an ItemId, Cow<'static, str> newtype.
  • Error indicating ItemId provided is not in the correct format.
  • Identifier or namespace to distinguish execution environments.
  • Error indicating Profile provided is not in the correct format.

Enums§

  • Whether the apply function needs to be executed.