| Crates.io | mabi-chaos |
| lib.rs | mabi-chaos |
| version | 1.0.2 |
| created_at | 2026-01-25 08:03:08.031806+00 |
| updated_at | 2026-01-25 09:51:25.406736+00 |
| description | Mabinogion - Chaos engineering module for fault injection and resilience testing |
| homepage | https://github.com/seadonggyun4/mabinogion |
| repository | https://github.com/seadonggyun4/mabinogion |
| max_upload_size | |
| id | 2068354 |
| size | 347,710 |
Chaos engineering module for the Mabinogion industrial protocol simulator.
Fault injection and resilience testing framework for industrial protocol clients.
| Category | Faults |
|---|---|
| Network | Latency, packet loss, bandwidth throttling, connection drops |
| Device | Offline, timeout, corrupted responses |
| Protocol | Invalid CRC, malformed packets, out-of-sequence |
use mabi_chaos::prelude::*;
// Create a chaos engine
let engine = ChaosEngine::builder()
.add_fault(LatencyFault::new(Duration::from_millis(100)))
.add_fault(PacketLossFault::new(0.05)) // 5% loss
.build()?;
engine.start().await?;
Licensed under the Apache License, Version 2.0.