Skip to main content

nmbrs_runtime/polydat_nodes/
mod.rs

1// Copyright 2024-2026 Jonathan Shook
2// SPDX-License-Identifier: Apache-2.0
3
4//! Polydat node registrations that need nmbrs-runtime's runtime
5//! services (component tree, controls, fiber context).
6//!
7//! These nodes were originally inside `polydat::library` but got
8//! relocated here so polydat can publish standalone — they take a
9//! dependency on `nmbrs_metrics` (controls + component tree) that
10//! polydat can't carry without dragging nmbrs-metrics onto crates.io
11//! first. The `inventory` crate is the registration channel: this
12//! module submits `polydat::register_nodes!` invocations which
13//! polydat picks up at link time without knowing where they came
14//! from.
15
16pub mod runtime_context;