Rekindle.Plugin.Cargo (Rekindle v0.1.7)

Copy Markdown View Source

Cargo manifest data declared by a Rekindle plugin.

It intentionally models only the manifest sections used by supported UI plugins. Cargo remains authoritative once the application owns the generated project.

Summary

Types

dependency_group()

@type dependency_group() :: {String.t(), [Rekindle.Plugin.Cargo.Dependency.t()]}

profile()

@type profile() :: {String.t(), keyword()}

t()

@type t() :: %Rekindle.Plugin.Cargo{
  build_dependencies: [Rekindle.Plugin.Cargo.Dependency.t()],
  dependencies: [Rekindle.Plugin.Cargo.Dependency.t()],
  profiles: [profile()],
  target_dependencies: [dependency_group()]
}

Functions

render(cargo, targets)

@spec render(t(), [Rekindle.Plugin.Spec.target()]) :: String.t()