gize-generator 0.5.1

Code generation engine for Gize: safe file writing and template rendering.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! Code generation engine for Gize.
//!
//! Two responsibilities:
//! 1. Turn [`gize_core`] specs into file contents (via [`gize_templates`]).
//! 2. Write those files **safely** — never clobbering user code without `--force`, and
//!    supporting `--dry-run` (ADR-012).

pub mod plan;
pub mod registry;
pub mod writer;

pub mod scaffold;

pub use plan::{FileOp, OpKind, Plan};
pub use registry::{Edit, register_module};
pub use writer::{Options, Report, Writer};