crates/nornir-jobs/Cargo.toml
[package]
name = "nornir-jobs"
# 0.1.3: src/selftest.rs drifted from the published 0.1.2 under the SAME version
# number — see the note in nornir-guard, same cause, same day, caught by the same
# `dwarves release_gates` leg.
version = "0.2.0"
edition = "2021"
description = "Unified job ledger — the one durable redb list of every long-running nornir operation (release runs, fetch/republish, docs, scans, bench, embed, …): the op *lifecycle* (running/done/failed + timing), orthogonal to the Iceberg result it produced. Lifted out of nornir."
license = "MIT OR Apache-2.0"
repository = "https://git.gunnar.rs/nordisk/nornir"
keywords = ["jobs", "ledger", "redb"]
categories = ["database"]
exclude = ["/.nornir/"]
[features]
# Functional-status emit MODE: pull `nornir-testmatrix` and light this crate's
# `selftest::emit` bridge so the job lifecycle records honest matrix rows. OFF by
# default — release strips the emit to an `#[inline]` no-op and does NOT link
# `nornir-testmatrix`.
testmatrix = ["dep:nornir-testmatrix", "nornir-testmatrix/testmatrix"]
[dependencies]
# Floor 0.1 -> 0.1.8: nornir uses `jobs::chain`, `jobs::kind::LENS` and
# `jobs::kind::FEED`, none of which exist in any jera the old caret admitted.
# Gate B refused nornir 0.5.5 on exactly that — E0432 on `crate::jobs::chain` in a
# verify build against the real registry, while the workspace build stayed green
# because the `path =` beside it resolves locally and never reads the version.
# jera 0.1.8 (published 2026-08-23) is the first one that carries all three.
jera = { path = "../../../edda/crates/jera", version = "0.2.0", default-features = false, features = ["container-oci"] }
anyhow = "1"
redb = "2"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
chrono = { version = "0.4", features = ["serde"] }
uuid = { version = "1", features = ["v4", "serde"] }
tempfile = "3"
tokio = { version = "1", features = ["sync", "macros", "rt-multi-thread", "time"] }
nornir-testmatrix = { version = "0.2.4", path = "../../../edda/crates/nornir-testmatrix", optional = true }