systemg 0.61.2

An agent-friendly general process composer.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use systemg::config::parse_config_manifest;

#[test]
fn repo_yaml_examples_parse() {
    let root = env!("CARGO_MANIFEST_DIR");
    for path in [
        "config.yaml",
        "examples/hello-world/hello-world.sysg.yaml",
        "examples/crud/crud.sysg.yaml",
        "examples/orchestrator/systemg.yaml",
    ] {
        let content = std::fs::read_to_string(format!("{root}/{path}")).unwrap();
        parse_config_manifest(&content)
            .unwrap_or_else(|e| panic!("{path} failed to parse: {e}"));
    }
}