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 plugin;
11pub mod registry;
12pub mod sync;
13pub mod writer;
14
15pub mod scaffold;
16
17pub use plan::{FileOp, OpKind, Plan};
18pub use plugin::{GenContext, Generator};
19pub use registry::{Edit, register_module};
20pub use writer::{Options, Report, Writer};