Cargo Features

Peace has no features set by default.

[dependencies]
peace = { version = "0.0.14", features = ["cli", "webi", "error_reporting", "output_in_memory", "output_progress", "item_interactions", "item_state_example", "ssr"] }
cli

Enables peace_cli and peace_cli_model

webi

Enables peace_webi, peace_webi_components, and peace_webi_model

error_reporting

Enables miette, error_reporting of peace_cmd_model, peace_cmd_rt, peace_params, peace_rt, peace_rt_model, and optional peace_webi_model

output_in_memory

Enables output_in_memory of optional peace_cli

output_progress

Enables output_progress of peace_cfg, optional peace_cli, peace_cmd_model, peace_cmd_rt, peace_item_model, peace_rt, peace_rt_model, and optional peace_webi

item_interactions

Enables peace_item_model, item_interactions of peace_cfg and item_interactions of optional peace_webi and optional peace_webi_components

peace_webi_components:

Technically always needed, but we need to put these in its own feature so that these aren't enabled in the underlying crates when --no-default-features is used.

item_state_example

Enables item_state_example of peace_cfg, peace_cmd, peace_data, peace_params, peace_rt_model, optional peace_webi, and optional peace_webi_components

ssr

Enables ssr of optional peace_webi and optional peace_webi_components

Peace has 8 features without comments.