Expand description
Typed mirrors of the TOML documents served by the registry.
These types correspond one-to-one with the schemas documented in
TODO.roadmap/06-module-registry.md:
IndexEntry— one[[plugin]]row of the masterindex.toml.PluginIndex— the per-pluginindex.toml(a name, latest pointer, and a list ofVersionEntryrows).Manifest— the per-versionmanifest.toml, with nestedConfiumMeta,AlgorithmMap, andArtifactsections.TrustRoot/TrustRootsFile— the defaulttrust-roots.tomlserved by the registry and the local override format.
All types derive serde::{Serialize, Deserialize} so they can be
round-tripped (registry reads use Deserialize; the local trust store
and config use both). Field names match the wire (kebab-case) via
serde(rename_all = "kebab-case".
Structs§
- Artifact
- The
[artifact]section of a manifest. - Confium
Meta - The
[confium]runtime contract section. - Index
Entry - One
[[plugin]]entry in the masterindex.toml. - Manifest
- A full per-version manifest.
- Manifest
Plugin - The
[plugin]section of a manifest. - Plugin
Index - The per-plugin
index.toml. - Registry
Index - The parsed master
index.toml. - Trust
Root - One
[[publisher]]entry intrust-roots.toml. - Trust
Roots File - The parsed
trust-roots.toml. - Version
Entry - One
[[version]]entry inside a per-plugin index.
Type Aliases§
- Algorithm
Map - Algorithms grouped by interface name. TOML tables whose values are arrays of strings.