Store generated Rust code in Git, and regenerate it only when built with cargo build --features regenerate. Then apply fixups:
Rewrite awkward autogenerated field names (fixes #2)
Fix stray Item and Group in node user and group structs (works around Marwes/schemafy#49)
Replace context-specific DirectoryUser/DirectoryGroup/etc. with generic NodeUser/NodeGroup structs and delete the context-specific ones (works around https://github.com/Marwes/schemafy/issues/50)
Store generated Rust code in Git, and regenerate it only when built with
cargo build --features regenerate
. Then apply fixups:Item
andGroup
in node user and group structs (works around Marwes/schemafy#49)DirectoryUser
/DirectoryGroup
/etc. with genericNodeUser
/NodeGroup
structs and delete the context-specific ones (works around https://github.com/Marwes/schemafy/issues/50)Requires Git version of Schemafy.