Review fixes from Hoshe + Tyre: - EntityRng seeding: splitmix64(seed) ^ splitmix64(id) instead of splitmix64(seed + id) — eliminates collision class where adjacent seeds produce identical streams - AtomicBool ordering: Relaxed → SeqCst for shutdown flag (correct on weakly-ordered architectures) - Worker Drop: join handles instead of detaching threads - Normalize stub API: remove ChunkGenWorker convenience wrappers, use .pool consistently across all 3 workers - trigger_monologue: downgrade &mut to shared refs (no-op anchor was blocking parallel systems) - Remove dead SimRng inserts from migrated monologue tests - Document determinism gap on poll_worker_results - Document bevy_tasks/rayon dep rationale in Cargo.toml Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
50 lines
1.7 KiB
TOML
50 lines
1.7 KiB
TOML
[package]
|
|
name = "settled-reach-server"
|
|
version = "0.1.34"
|
|
edition = "2021"
|
|
|
|
[dependencies]
|
|
bevy_ecs = "0.18"
|
|
bevy_app = "0.18"
|
|
# multi_threaded enables Bevy's parallel system executor (no explicit import needed —
|
|
# bevy_ecs detects the feature on its bevy_tasks dependency at compile time).
|
|
bevy_tasks = { version = "0.18", features = ["multi_threaded"] }
|
|
# par_iter infrastructure for data-parallel systems. Not yet called — candidate
|
|
# systems marked with TODO comments. Active use begins when profiling shows bottlenecks.
|
|
rayon = "1"
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_yaml = "0.9"
|
|
ron = "0.8"
|
|
rmp-serde = "1"
|
|
bincode = "1"
|
|
rand = "0.9"
|
|
rand_chacha = "0.9"
|
|
pathfinding = "4.11"
|
|
thiserror = "2"
|
|
tracing = "0.1"
|
|
tracing-subscriber = { version = "0.3", features = ["env-filter", "json"] }
|
|
clap = { version = "4", features = ["derive"] }
|
|
crossbeam-channel = "0.5"
|
|
sysinfo = "0.35"
|
|
serde_json = "1"
|
|
rusqlite = { version = "0.32", features = ["bundled"] }
|
|
toml = "0.8"
|
|
# Economics simulation — Leontief + tâtonnement + D-180 event port (#821)
|
|
econ-sim = { path = "../tooling/econ-sim" }
|
|
|
|
[features]
|
|
default = ["gauntlet"]
|
|
gauntlet = []
|
|
|
|
[dev-dependencies]
|
|
|
|
# ---------------------------------------------------------------------------
|
|
# Explicit test target for the Layer 3 integration module (D-030, ticket #200).
|
|
# tests/integration/mod.rs cannot be auto-discovered by cargo (only top-level
|
|
# *.rs files in tests/ are auto-discovered). This declaration makes it a named
|
|
# test binary: `cargo test --test integration_layer3`.
|
|
# ---------------------------------------------------------------------------
|
|
[[test]]
|
|
name = "integration_layer3"
|
|
path = "tests/integration/mod.rs"
|