Expand description
Low level data types for the peace automation framework.
This crate exists because:
-
peace_cfghas a dependency onpeace_resource_rtforResources, used inItem::setup. -
peace_resource_rthas a dependency onItemId, as usesTypeMap<ItemId, _>for theStatesmaps.When peace#67 is implemented, the
progressmodule can be moved out ofpeace_coreintopeace_cfg.
Re-exports§
pub extern crate id_newtype;pub use peace_fmt;
Macros§
- app_
name - Returns a
const AppNamevalidated at compile time. - id_
newtype - Implements common behaviour for an ID type.
- profile
- Returns a
const Profilevalidated at compile time.
Structs§
- AppName
- Name of the application that is run by end users.
- AppName
Invalid Fmt - Error indicating
AppNameprovided is not in the correct format.