Skip to main content

Crate lenso_plugin_sdk

Crate lenso_plugin_sdk 

Source
Expand description

Execution-target lowering for portable Rust Plugins.

Product SDKs own Capability semantics and typed authoring. This crate owns only the final JSON request seam and lowers it to Wasm Component or Process transport glue. Plugin authors normally use a product SDK instead of this interface directly.

Structs§

CreateContext
Exact dependencies and configuration supplied while constructing a Plugin.
Ctx
Current invocation or lifecycle authority supplied by the Runtime.
Dependencies
Exact dependency routes selected for one Plugin generation.
Dependency
One exact Host-selected provider route.
Requirement
One source-declared Capability dependency of a portable Plugin.

Enums§

CallError
Domain, Runtime, and value failures from one portable dependency call.
Cardinality
Supported dependency cardinalities.

Traits§

DependencyClient
Contract implemented by generated portable Capability clients.
Plugin
Complete portable Plugin object constructed once per admitted generation.

Attribute Macros§

plugin
Marks the ordinary Plugin type used by product SDK authoring macros.