Expand description
Low level data types for the peace automation framework.
This crate exists because:
-
peace_cfg
has a dependency onpeace_resource_rt
forResources
, used inItem::setup
. -
peace_resource_rt
has a dependency onItemId
, as usesTypeMap<ItemId, _>
for theStates
maps.When peace#67 is implemented, the
progress
module can be moved out ofpeace_core
intopeace_cfg
.
Re-exports§
pub extern crate id_newtype;
pub use peace_fmt;
Macros§
- app_
name - Returns a
const AppName
validated at compile time. - id_
newtype - Implements common behaviour for an ID type.
- profile
- Returns a
const Profile
validated at compile time.
Structs§
- AppName
- Name of the application that is run by end users.
- AppName
Invalid Fmt - Error indicating
AppName
provided is not in the correct format.