Skip to main content

Crate appstruct_module_sdk

Crate appstruct_module_sdk 

Source
Expand description

Stable module manifests and deterministic capability graph resolution.

Structs§

ModuleArtifact
ModuleManifest
RegistryArtifact
Base64-encoded source file carried by a registry package.
RegistryEnvelope
Signed registry response. The signature covers the decoded payload bytes exactly.
RegistryPackage
JSON payload stored in a signed registry envelope.
RegistryVerificationError
ResolvedModule

Enums§

ModuleGraphError

Constants§

MODULE_API_VERSION
Current local module manifest format version.

Functions§

module_namespace
Return a portable, collision-free generated namespace for a validated module name.
resolve_modules
Resolve manifests into a stable provider-before-consumer startup order.
validate_manifest
Validate and normalize a module manifest before graph resolution.
validate_relative_path
Validate a portable relative path used by module artifact declarations.
verify_registry_envelope
Verify the package digest and Ed25519 signature, then decode its JSON payload.