# Detached bench crate for modgunn — its OWN `[workspace]` so the `nornir-bench`
# harness dev-dependency never touches the published `modgunn` crate's lockfile
# or dependency tree (the lean `scan` gate that holger / static-holger consume
# stays pure). `nornir`'s `run_bench_example` detects
# `<repo>/bench/examples/nornir-bench.rs` and runs cargo *inside* this dir.
# See nornir/.nornir/bencher.md (the three accepted layouts).
[package]
name = "modgunn-bench"
version = "0.0.0"
edition = "2021"
publish = false
[workspace]
[dependencies]
# The lean, project-agnostic Bencher harness (register_bench! + inventory +
# stdout-JSON envelope), lifted out of nornir so it carries NO egui/skade/arrow
# tree — just anyhow/serde/inventory. Registry dep, matching how modgunn already
# consumes nornir-testmatrix by version.
nornir-bench = "0.2.0"
# The crate under measurement — the lean `scan` gate only (Engine A verdict /
# policy evaluation). No warehouse/scip, so the bench builds the same lean tree
# holger's gate ships.
modgunn = { path = "..", version = "0.0.8", default-features = false, features = ["scan"] }
anyhow = "1"
serde_json = "1"
[[example]]
name = "nornir-bench"
path = "examples/nornir-bench.rs"
# 2026-10-05 (merge to main): no [patch.crates-io] any more — crates.io serves
# nornir-bench (published 2026-10-04; the siblings carry the same code, at most test/doc edits since).