Expand description
A deterministic simulator for distributed systems.
§Features
rpc: Enables built-in RPC framework.macros: Enables#[madsim::main]and#[madsim::test]macros.
Modules§
- buggify
madsim - Buggify allows you to cooperate with the simulator to inject failures.
- fs
madsim - Asynchronous file system.
- net
madsim - Asynchronous network endpoint and a controlled network simulator.
- plugin
madsim - Simulator plugin framework.
- rand
madsim - Utilities for random number generation.
- runtime
madsim - The madsim runtime.
- signal
madsim - Asynchronous signal handling.
- task
madsim - Asynchronous tasks executor.
- time
madsim - Utilities for tracking time.
Structs§
- Config
- Simulation configuration.
Attribute Macros§
- main
macros - Marks async function to be executed by the selected runtime. This macro
helps set up a
Runtimewithout requiring the user to use Runtime directly. - service
rpcandmacros - test
macros - Marks async function to be executed by runtime, suitable to test environment.
Derive Macros§
- Request
rpcandmacros