Skip to main content

ruprizzle_codegen/
lib.rs

1//! IR to Rust source emission.
2//!
3//! Generates typed entities, column constants, query builders, and `FromRow`
4//! implementations from the `Schema` produced by `ruprizzle_parser`. Emission
5//! goes through `quote!` and `prettyplease` rather than string formatting, so
6//! generated output cannot be syntactically invalid Rust.
7
8#![forbid(unsafe_code)]
9#![warn(missing_docs, clippy::all)]
10
11pub mod emit;
12
13pub use emit::generate_all;