| Crates.io | mabi-scenario |
| lib.rs | mabi-scenario |
| version | 1.0.2 |
| created_at | 2026-01-25 08:03:02.444958+00 |
| updated_at | 2026-01-25 09:51:11.421479+00 |
| description | Mabinogion - Scenario engine for time-based simulation orchestration |
| homepage | https://github.com/seadonggyun4/mabinogion |
| repository | https://github.com/seadonggyun4/mabinogion |
| max_upload_size | |
| id | 2068353 |
| size | 211,784 |
Scenario engine for the Mabinogion industrial protocol simulator.
Time-based simulation orchestration engine for defining and executing complex test scenarios.
use mabi_scenario::prelude::*;
// Load and run a scenario
let scenario = Scenario::from_file("test_scenario.yaml")?;
let engine = ScenarioEngine::new(scenario);
engine.run().await?;
name: stress_test
duration: 10m
time_scale: 2.0
devices:
- id: plc-001
protocol: modbus_tcp
events:
- at: 1m
action: inject_latency
params:
delay: 100ms
Licensed under the Apache License, Version 2.0.