| Crates.io | cortenforge-sim-core |
| lib.rs | cortenforge-sim-core |
| version | 0.6.0 |
| created_at | 2026-01-03 16:04:51.34127+00 |
| updated_at | 2026-01-14 00:55:04.899845+00 |
| description | Bevy-based simulation runtime primitives (modes, config, plugins) for the CortenForge stack. |
| homepage | https://github.com/via-balaena/CortenForge |
| repository | https://github.com/via-balaena/CortenForge |
| max_upload_size | |
| id | 2020395 |
| size | 131,091 |
Bevy runtime scaffolding, hooks, and recorder types shared by sim/datagen/inference apps. It owns:
AppSystemsPlugin).How to use (in your app repo)
sim_core::build_app(SimConfig { .. }).SimPlugin, SimRuntimePlugin, plus your app systems plugin and any app-specific bootstrap (e.g., environment).SimRunMode through CLI (sim/datagen/inference) and pass headless/output/prune/max_frames via SimConfig.Adding systems
Common systems: add to ModeSet::Common.
Sim/datagen-only: add to ModeSet::SimDatagen.
Inference-only: add to ModeSet::Inference.
Use SimRuntimePlugin to keep registration in one place; avoid detector wiring here to keep the core crate lean. Recorder metadata/sink/world-state live here (recorder_meta); apps provide world-state updates and can inject custom sinks.
Apache-2.0 (see LICENSE in the repo root).