2026-02-12 09:13:50 +00:00
|
|
|
[package]
|
|
|
|
|
name = "simulation"
|
|
|
|
|
version = "0.1.0"
|
|
|
|
|
edition = "2024"
|
|
|
|
|
|
2026-05-21 19:48:02 +00:00
|
|
|
[lib]
|
|
|
|
|
path = "src/lib.rs"
|
|
|
|
|
|
2026-02-12 09:13:50 +00:00
|
|
|
[dependencies]
|
|
|
|
|
serde = { version = "1", features = ["derive"] }
|
feat(sim): add swim host adapter and network model
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>
2026-05-24 09:05:11 +00:00
|
|
|
serde_json = { version = "1", features = ["preserve_order"] }
|
|
|
|
|
toml = { version = "0.8", features = ["preserve_order"] }
|
|
|
|
|
# SipHash-2-4 for the §7.2 substream derivation. Pure-Rust, no float
|
|
|
|
|
# math, identical output on every architecture.
|
|
|
|
|
siphasher = "1"
|
|
|
|
|
# SHA-256 for the §9.4 manifest hash integrity field. Pure-Rust.
|
2026-05-21 19:48:02 +00:00
|
|
|
sha2 = "0.10"
|
feat(sim): add swim host adapter and network model
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>
2026-05-24 09:05:11 +00:00
|
|
|
# §3.3 / §6.4 — the simulator re-uses production's SWIM message
|
|
|
|
|
# types and JSON codec so the bytes its bandwidth model carries match
|
|
|
|
|
# the bytes production puts on the wire. Default features only — no
|
|
|
|
|
# iroh, no tokio, no axum.
|
|
|
|
|
distribution = { path = "../distribution" }
|
2026-02-12 09:13:50 +00:00
|
|
|
|
|
|
|
|
[dev-dependencies]
|
feat(sim): add swim host adapter and network model
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>
2026-05-24 09:05:11 +00:00
|
|
|
proptest = "1"
|
|
|
|
|
tempfile = "3"
|
|
|
|
|
|
|
|
|
|
[[test]]
|
|
|
|
|
name = "scenario_examples"
|
|
|
|
|
path = "tests/scenario_examples.rs"
|
2026-05-21 19:48:02 +00:00
|
|
|
|
|
|
|
|
[[test]]
|
feat(sim): add swim host adapter and network model
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>
2026-05-24 09:05:11 +00:00
|
|
|
name = "scenario_validation"
|
|
|
|
|
path = "tests/scenario_validation.rs"
|
2026-05-21 19:48:02 +00:00
|
|
|
|
|
|
|
|
[[test]]
|
feat(sim): add swim host adapter and network model
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>
2026-05-24 09:05:11 +00:00
|
|
|
name = "scenario_invariants"
|
|
|
|
|
path = "tests/scenario_invariants.rs"
|
2026-05-21 19:48:02 +00:00
|
|
|
|
|
|
|
|
[[test]]
|
feat(sim): add swim host adapter and network model
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>
2026-05-24 09:05:11 +00:00
|
|
|
name = "network_invariants"
|
|
|
|
|
path = "tests/network_invariants.rs"
|
2026-05-21 19:48:02 +00:00
|
|
|
|
|
|
|
|
[[test]]
|
feat(sim): add swim host adapter and network model
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>
2026-05-24 09:05:11 +00:00
|
|
|
name = "engine_invariants"
|
|
|
|
|
path = "tests/engine_invariants.rs"
|
2026-05-21 19:48:02 +00:00
|
|
|
|
|
|
|
|
[[test]]
|
feat(sim): add swim host adapter and network model
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>
2026-05-24 09:05:11 +00:00
|
|
|
name = "bundle_invariants"
|
|
|
|
|
path = "tests/bundle_invariants.rs"
|
2026-05-21 19:48:02 +00:00
|
|
|
|
|
|
|
|
[[test]]
|
feat(sim): add swim host adapter and network model
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>
2026-05-24 09:05:11 +00:00
|
|
|
name = "evaluator_invariants"
|
|
|
|
|
path = "tests/evaluator_invariants.rs"
|
2026-05-21 19:48:02 +00:00
|
|
|
|
|
|
|
|
[[test]]
|
feat(sim): add swim host adapter and network model
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>
2026-05-24 09:05:11 +00:00
|
|
|
name = "cross_arch_parity"
|
|
|
|
|
path = "tests/cross_arch_parity.rs"
|
2026-05-21 19:48:02 +00:00
|
|
|
|
|
|
|
|
[[test]]
|
feat(sim): add swim host adapter and network model
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>
2026-05-24 09:05:11 +00:00
|
|
|
name = "swim_codec_parity"
|
|
|
|
|
path = "tests/swim_codec_parity.rs"
|
2026-05-21 19:48:02 +00:00
|
|
|
|
|
|
|
|
[[test]]
|
feat(sim): add swim host adapter and network model
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>
2026-05-24 09:05:11 +00:00
|
|
|
name = "swim_host_invariants"
|
|
|
|
|
path = "tests/swim_host_invariants.rs"
|
2026-02-12 09:13:50 +00:00
|
|
|
|
2026-05-21 19:48:02 +00:00
|
|
|
[[test]]
|
feat(sim): add swim host adapter and network model
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>
2026-05-24 09:05:11 +00:00
|
|
|
name = "early_termination"
|
|
|
|
|
path = "tests/early_termination.rs"
|
2026-02-13 17:34:01 +00:00
|
|
|
|
2026-05-21 19:48:02 +00:00
|
|
|
[[test]]
|
feat(sim): add swim host adapter and network model
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>
2026-05-24 09:05:11 +00:00
|
|
|
name = "swim_integration"
|
|
|
|
|
path = "tests/swim_integration.rs"
|
2026-02-13 17:34:01 +00:00
|
|
|
|
2026-05-21 19:48:02 +00:00
|
|
|
[[test]]
|
feat(sim): add swim host adapter and network model
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>
2026-05-24 09:05:11 +00:00
|
|
|
name = "property_runner"
|
|
|
|
|
path = "tests/property_runner.rs"
|