Expand description
NichLink’s registry protocol and runtime core. NichLink 的注册协议与运行期内核。
The official address of a protocol noun is its module path
(nichlink::identity::NodeId). The crate root re-exports the module hierarchy
plus a curated vocabulary that host code, the build step and the runtime-check
surfaces write as a bare name. The kernel’s modules also glob into the root, so
every other noun is reachable there as well; that is convenience, not a second
contract, and only the curated names are promised as bare ones.
协议名词的官方地址就是它的模块路径(nichlink::identity::NodeId)。crate 根部重导出模块
层级,外加一份精选词汇——宿主代码、构建步骤与运行期校验面会以裸名书写它们。内核各模块也会
平铺 glob 到根部,因此其余名词同样可以在那里取得;那是便利,不是第二份契约,只有精选
清单上的名字被承诺为裸名可用。
Re-exports§
pub use registry_core::syntax;pub use registry_core::declaration;pub use registry_core::diagnostic;pub use registry_core::identity;pub use registry_core::json;pub use registry_core::lexicon;pub use registry_core::mir;pub use registry_core::plugin;pub use registry_core::release;pub use registry_core::requirements;pub use registry_core::source;pub use registry_core::tree;pub use registry_core::Admission;pub use registry_core::ContractId;pub use registry_core::FlowContract;pub use registry_core::FrameworkId;pub use registry_core::NodeId;pub use registry_core::OwnedFlowContract;pub use registry_core::PartsContract;pub use registry_core::PluginManifest;pub use registry_core::PluginMode;pub use registry_core::PluginSource;pub use registry_core::PresetContract;pub use registry_core::ROOT_NODE_ID;pub use registry_core::RegistrationInfo;pub use registry_core::RegistrationRule;pub use registry_core::Registry;pub use registry_core::assert_contract;pub use registry_core::root_node_id;pub use registry_core::sha256_hex;pub use registry_core::COORDINATES_IN_VIEWPORT;pub use registry_core::CallEdge;pub use registry_core::CallSite;pub use registry_core::Coordinates;pub use registry_core::EvidenceKind;pub use registry_core::FINITE_NUMBER;pub use registry_core::LogicalCallEdge;pub use registry_core::NON_EMPTY_TEXT;pub use registry_core::Provenance;pub use registry_core::ProvenanceStep;pub use registry_core::RuntimeCheckFailure;pub use registry_core::RuntimeCheckSpec;pub use registry_core::RuntimeValue;pub use registry_core::TraceMode;pub use registry_core::BuildDiagnostic;pub use registry_core::BuildDiagnostics;pub use registry_core::CapabilityDeclaration;pub use registry_core::CapabilityRequirement;pub use registry_core::StaticFace;pub use registry_core::TopologyRecord;pub use registry_core::missing_capabilities;pub use registry_core::validate_face_topology;
Modules§
- registry_
core - Core registry modules. Concrete application faces live in the consuming crate. 内核注册模块。具体应用的注册面住在消费它的 crate 里。