Skip to main content

Crate sim_lib_platform

Crate sim_lib_platform 

Source
Expand description

The closed, provider-neutral platform API.

Structs§

Activation
BoundServices
Complete result of an atomic resolution.
BundleComposition
Pure build-tool input. A build tool selects capsule; runtime data merely records that explicit choice and the exact content closure.
BundleContent
Content-addressed application or library admitted to a runtime bundle.
BundleManifest
CapsuleArtifact
The sole capsule artifact emitted into a composed bundle.
CapsuleAttestation
Evidence retained beside a capsule Card. Contract provenance and execution evidence deliberately remain distinct so generated support matrices cannot turn a declaration into a tested claim.
CapsuleManifest
ComposedBundle
Complete runtime bundle: exactly one descriptor and one capsule artifact.
ContractProvenance
ExecutionEvidence
LibraryLoadPlan
Ordered, content-addressed plan consumed identically by every boot entry.
OpenSymbol
Stable, open identity for platform records and services.
PlatformCard
Shaped data describing an available platform without embedding behavior.
PlatformFunction
One callable from the closed platform surface.
PlatformLib
Loadable Small SIM API library.
PlatformRequest
Atomic resolver input.
PlatformSupportRow
One generated support-matrix row derived only from a retained Card and its matching attestation.
PureBootEnvelope
Provider-neutral boot data. It contains no target-selection mechanism.
Requirement
One requested service, with ordered, explicit substitutes.
RequirementBuilder
Builder for an ordered, provider-neutral platform requirement.
ResolutionReceipt
ResolutionRefusal
Fail-closed resolver refusal. No partial bindings accompany it.
ServiceBinding
A requested identity and the concrete offer selected for it.
ServiceOffer
One service offered by a platform card.
ValidationContext
Context discovered from repository and package structure, not trusted input.

Enums§

BundleRefusal
Typed, fail-closed bundle-composition refusal.
FactPort
Cross-domain facts a platform may expose. This is deliberately the complete list: process, identity, environment and host-path access are not services.
Lifecycle
PackageRole
The only accepted package classifications. Missing metadata is pure.
PlatformFunctionKind
The thirteen operations in the Small SIM API. This enum is intentionally closed.
PlatformRecordError
RefusalKind
ValidationError

Constants§

ACTIVE_PLATFORM_SITE
The lexical binding holding the platform site for the current realization.

Traits§

PlatformProviderAuthor
Contract implemented by capsule authors without exposing concrete capsules.

Functions§

compose_bundle
Composes one selected capsule with an explicit application and library closure. No substitute capsule is considered when the selected Card is absent or invalid.
install_platform_lib
Install the platform facade once in a context.
parse_bundle
Parse a bundle manifest.
parse_capsule
Parse a capsule manifest.
platform_function_symbols
Returns the exact public function symbols; useful to loaders and conformance tests.
platform_require
Pure platform/require resolver. Selection is deterministic (requested identity first, then substitutes in caller order) and atomic.
platform_support_matrix
Generates support rows without consulting target names or hand-maintained support lists.
validate_bundle
Validate a bundle against its selected capsule.
validate_capsules
Validate discovered ownership plus a complete set of capsule records.