Skip to content

Rust leaf host for existing Rust plugins #1293

Open

Description

@eric8810

Context

Existing Dim parts are Rust; rutis ships no Rust leaf SDK. Running them as leafs without porting to TS/Python needs a Rust process that speaks the leaf side of the session protocol.

Scope

  • A leaf host that advertises leaf and not node, loads a fixed plugin set, accepts the host's resolved inject keys, and provides data services.
  • The leaf side of rows.v2: rows.load, service calls both ways, events, cancellation, unload.
  • Proof with a real part (Wait or Goal): it injects lent dispatcher/timeline and runs remotely.
  • Lifecycle: load, unload, restart, far-end disconnect.

Acceptance

  • A Rust part runs in the leaf host with lent keys, in a flow test.
  • The host can load and unload it without reloading its own services.
  • The leaf host reuses existing crates (no second plugin runtime).

Notes

Depends on the link issue. This is the enabler for resource leafs that reuse HostPlatform / FileStorage instead of reimplementing them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2core

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions