crates/nornir-cli-outcome/Cargo.toml
[package]
name = "nornir-cli-outcome"
version = "0.1.4"
edition = "2021"
description = "The uniform CLI command result type (`CommandOutcome`) — the CLI twin of a Facet's `state_json`. A `{command, ok, data, human}` shape every migrated nornir command emits, asserted sane by the autopilot check. Pure serde leaf lifted out of nornir."
license = "MIT OR Apache-2.0"
repository = "https://git.gunnar.rs/nordisk/edda"
keywords = ["cli", "json", "outcome"]
categories = ["command-line-interface"]
exclude = ["/.nornir/"]
[features]
# Functional-status emit MODE: pull `nornir-testmatrix` and light this crate's
# `selftest::emit` bridge so its real surfaces record 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]
serde = { version = "1", features = ["derive"] }
serde_json = "1"
nornir-testmatrix = { version = "0.2.7", path = "../nornir-testmatrix", optional = true }