Expand description
Code generation engine for the composable scaffolding system.
This module generates all project files from a CompositionManifest:
main.rs, Cargo.toml, .env.example, README.md, and .gitignore.
The generated code uses tracing for logging, anyhow for error handling,
and follows ADK-Rust best practices.
Functions§
- generate_
cargo_ toml - Generate
Cargo.tomlwith minimal dependencies from the composition manifest. - generate_
env_ example - Generate
.env.examplelisting all required environment variables. - generate_
gitignore - Generate a standard Rust
.gitignorefile. - generate_
main_ rs - Generate
src/main.rswith proper composition of template and addons. - generate_
project - Generate all project files from a composition manifest.
- generate_
readme - Generate
README.mdwith template-specific documentation.