[][src]Crate sourcegen_cli

Source generator command-line utility.

Utility to do in-place source generation for Rust code. Takes a list of source generators to run and applies them to all crates that have sourcegen dependency.

Modules

tokens

Structs

SourcegenParameters

Parameters for the source generation tool

Traits

SourceGenerator

Trait to be implemented by source generators.

Functions

process_single_file

Replace a single file with the generated content

run_sourcegen

Main entry point to the source generator toolkit.