Blacksite/third_party/ron-edit/PATCH.md
Rbanh 0553a85220
Some checks are pending
CI / Format, lint, test, build (push) Waiting to run
Build production-ready editor authoring workflows
2026-07-11 12:41:04 -04:00

1.1 KiB

ron-edit 0.2.0 (patched)

Vendored from the ron-edit 0.2.0 crates.io release, corresponding to upstream commit 961f66a7ecb83e674b2ac0e52a3574f5637e7dab.

Blacksite carries these changes:

  • Parse anonymous structs before tuples so component values such as Bevy transforms retain their named fields.
  • Reject an integer parse when the following token continues a floating-point value, preventing values such as 1.0 from being consumed as 1 plus a trailing token.
  • Allow the upstream lifetime-syntax lint while the parser API retains its original borrowed-value signatures.
  • Format the source with the workspace's stable Rust toolchain. The upstream nightly-only rustfmt.toml and package-local profile tuning are omitted.

The patch supports lossless scene component/resource RON editing in the scene document layer. Remove this vendor patch once a released upstream version contains the parser fixes and passes Blacksite's scene document round-trip and prefab source-edit regression tests.