Expand description
Verified artifact installation and dynamic loading for Alef native components.
Structs§
- Artifact
Cache - Cached
Artifact - Component
Artifact Record - Component
Identity - Component
Instance - A live instance created by a component, paired with its typed C function table.
- Component
Library - Component
Lock - Component
Lock Entry - Component
Manager - Component
Manifest - Component
Provided Contract - One contract a component provides, alongside the Rust type implementing it.
- Component
Requirements - What a loaded component’s descriptor must match.
- Component
Signature - Loaded
Component - Runtime
- Verifying
Key - An ed25519 public key.
Enums§
- Component
Delivery Mode - Whether a component is downloaded on demand or must be linked into the binding
ahead of time.
alef’s config-resolution code (alef::codegen::component) re-exports this type and exposes it on the resolved component config as a forward-looking hook; no loader or backend acts onBundledyet. - Component
Error - Component
Status - Where a configured component currently stands, independent of its on-disk location (see
ComponentManager::cache_pathfor that). Generated bindings expose this as both a stable string tag and a numeric code (alef_component_status/alef_component_status_codeinalef::backends::native_components) so callers in any host language can branch on it without parsing free-form text. - Trust
Policy
Constants§
Functions§
- canonical_
json - decode_
public_ key - Decode an Ed25519 public key from PEM, or from base64-encoded (standard or unpadded)
raw 32-byte / DER
SubjectPublicKeyInfobytes. - take_
owned_ ⚠bytes - Copy an owned buffer’s bytes into a
Vec<u8>and release the original allocation through its ownfreecallback. - take_
owned_ ⚠text - Like
take_owned_bytes, but lossily decodes the bytes as UTF-8.