crates/nornir-zone/Cargo.toml
[package]
name = "nornir-zone"
version = "0.1.0"
edition = "2021"
# The ONE constellation-wide `Zone` primitive (Demo/Test/Prod + per-zone
# namespacing). PUBLISHED: consumed from crates.io by jera (edda) and the shared
# facett-zoneui widget, so this leaf must be on crates.io — the release cascade
# publishes it deps-first, ahead of its consumers.
publish = true
description = "The ONE shared `Zone` primitive for the nordisk constellation — the platform-level environment axis (Demo/Test/Prod, extensible, default Demo) every product (korp/nornir/dwarves/holger/modgunn/ordning) understands, exactly like a JetBrains 'project'. Owns the per-zone namespacing helpers so two zones never collide: container-name suffix, published-port offset, and the `<app>_<zone>` data namespace. REUSE (LAW #5): seeds from korp's `korp::zone::Zone` — this leaf is the canon, korp + all apps re-export/consume it. std-only, ZERO runtime deps; a true leaf with no domain coupling (an app supplies its own base port / app name)."
license = "MIT OR Apache-2.0"
repository = "https://git.gunnar.rs/nordisk/edda"
keywords = ["zone", "environment", "namespace", "demo", "prod"]
categories = ["config"]
exclude = ["/.nornir/"]
[features]
default = []
# `testmatrix` — emit the Zone surface's health (default = Demo, non-collision of
# name/port/namespace across all zones) into the nornir test-matrix via
# `functional_status`. OFF BY DEFAULT: a compiled-out no-op with no nornir dep, so
# a lean/library build carries neither the emitter nor testmatrix.
testmatrix = ["dep:nornir-testmatrix", "nornir-testmatrix/testmatrix"]
[dependencies]
# Introspection-marker emitter — only compiled with `testmatrix`. Path+version
# (like the other edda leaves) so the workspace resolves the local sibling. The
# ONLY dependency, and absent from a default (release) build.
nornir-testmatrix = { version = "0.2.7", path = "../nornir-testmatrix", default-features = false, optional = true }