No description
Restructures the crate to the SIM_SPEC six-component model (engine, network, host, bundle, evaluator, scenario) and relocates SIM_SPEC.md into the crate. Adds the SWIM host adapter wrapping production distribution::swim::SwimNode, the swim codec, a virtual network model, the scenario loader, an assertion evaluator, deterministic RNG, property-based tests, and reproduction/smoke/topology scenario TOMLs; drops the detector/divergence/lint/postproc/spec/runtime modules and prior spec docs. Signed-off-by: Zachery Aaron Shores-Chmielewski <zacheryasc@gmail.com> |
||
|---|---|---|
| .cargo | ||
| .deploy | ||
| benches | ||
| ci | ||
| crates | ||
| docs | ||
| examples | ||
| fuzz | ||
| scripts | ||
| src | ||
| tests | ||
| xtask | ||
| .dockerignore | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| Dockerfile | ||
| README.md | ||
swactor
Minimal actor runtime for Rust. One trait, one message type.
Single-threaded (tick()) or multi-threaded (run()).
Description
Core runtime is src/. Actors implement ActorInterface (in actor.rs),
interact through Ctx (in runtime.rs), and run on worker threads (worker.rs).
crates/ builds upward: std adds OTP patterns (supervision, monitoring, groups),
distribution adds clustering, everything else composes from there.
Dev commands
cargo xtask --help for available test groups.
Testing
cargo check --workspace
cargo xtask test <your-feature-crate>
cargo xtask test essential