Skip to main content

gize_generator/
lib.rs

1//! Code generation engine for Gize.
2//!
3//! Two responsibilities:
4//! 1. Turn [`gize_core`] specs into file contents (via [`gize_templates`]).
5//! 2. Write those files **safely** — never clobbering user code without `--force`, and
6//!    supporting `--dry-run` (ADR-012).
7
8pub mod diff;
9pub mod plan;
10pub mod registry;
11pub mod sync;
12pub mod writer;
13
14pub mod scaffold;
15
16pub use plan::{FileOp, OpKind, Plan};
17pub use registry::{Edit, register_module};
18pub use writer::{Options, Report, Writer};