texform_transform/rewrite/rules/mod.rs
1//! Builtin rewrite rule registry (auto-generated).
2//!
3//! This file includes the registry generated by `build.rs`, which automatically
4//! discovers every `.rs` file in this directory tree (except `mod.rs` and
5//! `generated.rs`) and registers its rule constant into the generated registry.
6//!
7//! **Convention**: each rule file must declare exactly one
8//! `pub static UPPER_SNAKE: SomeRuleType` where `UPPER_SNAKE` is the
9//! UPPER_SNAKE_CASE form of the file name (e.g., `over_to_frac.rs` exports
10//! `OVER_TO_FRAC`). No manual registration is needed — just add a new file under
11//! `rewrite/rules/` using the documented module naming conventions and the
12//! build script picks it up.
13
14include!("generated.rs");