v0.12.0
Highlights
Big features: rudimentary support for enums in #71, and some handling of preserve-unknown-fields
in #76 and #77.
There is also a breaking change with the removal of -z
/--rust-case
and -i
flags. We now always convert member names to rust style casing because other languages can name members in rust-invalid ways that failed to generate without setting these flags. Removing this brittle default behaviour also avoids generating code with warnings when names did not match rust-conventions.
What's Changed
- Add optional typed-builder derives by @clux in #64
- Add simple enum support by @clux in #65
- Combine all serde field annotations by @clux in #63
- Add support for enum renames and refactor analyzer interface by @clux in #71
- Update clap to v3 by @imp in #72
- Turn "preserve-unknown-fields" into serde_json::Value for more cases by @felipesere in #76
- Nest serde_json::Value under HashMap for preserve-unknown-fields by @clux in #77
- bump dependencies and fix clap minor by @clux in #80
- Always rustify member names by @clux in #82
New Contributors
- @felipesere made their first contribution in #76
Full Changelog: v0.11.0...v0.12.0