Skip to main content

generate_tasks_rs

Function generate_tasks_rs 

Source
pub fn generate_tasks_rs(
    state: &ArchitectureState,
    binary_name: &str,
) -> Option<String>
Expand description

Generate src/tasks.rs scaffold for the named binary crate.

Uses quote! + prettyplease for guaranteed idiomatic formatting. This file is generated once — it has no @generated header and is then owned by the developer. Signatures must not be changed. Returns None if the binary is not found.