Rekindle.Plugin.Spec (Rekindle v0.1.7)

Copy Markdown View Source

Declarative requirements for one Rust UI plugin.

The spec describes client generation and browser hosting. Rekindle retains ownership of Cargo execution, development processes, and artifact publication.

Summary

Types

file_map()

@type file_map() :: %{required(String.t()) => String.t()}

t()

@type t() :: %Rekindle.Plugin.Spec{
  cargo: Rekindle.Plugin.Cargo.t(),
  dependency: String.t(),
  entries: %{required(target()) => String.t()},
  files: file_map(),
  name: String.t(),
  source: Rekindle.Priv.source(),
  toolchain: String.t(),
  web: Rekindle.Plugin.Spec.Web.t()
}

target()

@type target() :: :web | :desktop