Skip to content

Make casing of generated fields configurable#129

Open
Grimeh wants to merge 7 commits into
Cysharp:mainfrom
Grimeh:feature/field_rename
Open

Make casing of generated fields configurable#129
Grimeh wants to merge 7 commits into
Cysharp:mainfrom
Grimeh:feature/field_rename

Conversation

@Grimeh
Copy link
Copy Markdown

@Grimeh Grimeh commented May 4, 2026

This adds a simple way to customise the field names for generated structs, via the convert_case crate.
The convert_case::Case enum is re-exported for easy use.
Also includes basic tests. I had to adjust the existing tests in order for them to work reliably, since tests run in parallel by default and thus changing the current directory causes a race condition.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant