Lawouach / chaostoolkit-from-rust

Run Chaos Toolkit from a Rust binary.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hi all,

This is a simple POC to load and execute a Chaos Toolkit experiment from a binary implemented in Rust.

First make sure you have installed Chaos Toolkit as usual in a virtual environment.

$ python3 -m venv .venv
$ source .venv/bin/activate
$ pip install -U chaostoolkit

Now build the binary:

$ cargo build

You can now run it:

$ ./target/debug/ctkrust

This should load the experiment and run it using Chaos Toolkit libraries imported by Rust at runtime.

About

Run Chaos Toolkit from a Rust binary.

License:Apache License 2.0


Languages

Language:Rust 100.0%