Skip to main content

Crate origin_kit

Crate origin_kit 

Source
Expand description

The origin command, as a library.

Scaffolding is a tool concern, not a maintenance task a product carries: this crate holds the project template and the code that instantiates it, while origin-xtask keeps the tasks a generated project runs on itself (validate, generate, update). That split is what lets origin new work without a checkout of Origin — the template is compiled into this binary (ADR-0032).

Re-exports§

pub use scaffold::Options;
pub use scaffold::run;

Modules§

scaffold
origin new — a new application from the embedded template.

Functions§

template_files
The embedded project template: (path relative to the project root, contents).