pub fn generate_schema_rs(schema_map: &IndexMap<String, FieldInfo>, dir: &Path)Expand description
Generate schema.rs in dir from schema_map.
The file contains one pub const <NAME>: SchemaEntry = SchemaEntry { … }; block per
entry, sorted alphabetically, and compiles as an ordinary module of the annotation registry.
Panics if the file cannot be written.