Skip to main content

Module scaffold

Module scaffold 

Source
Expand description

standard-plugin new: a plugin crate (or, for a companion, a UI crate and its daemon) with a manifest whose grants carry reasons.

The source templates are the SDK’s compiled examples with the example’s id replaced, so a scaffold always starts from code that builds.

Enums§

NewKind
What new --kind creates.
ScaffoldError
SdkSource
Where the SDK comes from in a new crate’s Cargo.toml.

Functions§

scaffold
Creates <parent>/<name>. Returns the directory made.