stormchaser-engine 1.4.2

A robust, distributed workflow engine for event-driven and human-triggered workflows.
Documentation
1
2
3
4
5
6
7
8
9
10
11
use stormchaser_dsl::StormchaserParser;

fn main() {
    let source = std::fs::read_to_string("tests/demo/complex-inputs.storm").unwrap();
    let wf = StormchaserParser::new().parse(&source).unwrap();
    let schema = wf.inputs_schema.unwrap();
    match jsonschema::validator_for(&schema) {
        Ok(_) => println!("Valid schema"),
        Err(e) => println!("Invalid schema: {}", e),
    }
}