chaos-engine-contain

Crates.iochaos-engine-contain
lib.rschaos-engine-contain
version0.1.1
created_at2025-08-07 02:58:55.292971+00
updated_at2025-08-07 03:04:19.192866+00
descriptionA crate that helps with the development of chaos-engine projects.
homepage
repositoryhttps://github.com/recleun/chaos-engine-contain
max_upload_size
id1784623
size3,629
recleun (recleun)

documentation

README

chaos-engine-contain

This crate simply makes the process of closing and opening programs being developed with the chaos-engine crate easier, by containing its process and automatically building and starting a new one if the process ends with code 1.

To use this crate, simply install it:

cargo install chaos-engine-contain

Then in your chaos-engine project directory:

chaos-contain

You have to make your program exit with code 1 if you want it to restart itself.

Commit count: 0

cargo fmt