-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Closed
Description
We have a bunch of work lined up, developing Flatbuffers in Rust. (Issues). Some of these, such as fixing #5589 would require breaking changes. We need a stability and change policy.
Some precedent:
- In Rust: policy on minimum support Rust compiler version #5812, we decided that we should only support compilers up to 12 weeks old.
- In Rework enums in rust. #6098, I fixed UB in enums with a breaking change. I also renamed some constants (leaving a 3 month deprecation warning for the old names).
Proposed policy
-
Critical Rust code-breaking changes may happen with 1 weeks notice.
- These would be bugs that would prevent widespread use of the library.
- This includes, fixing UB, and broken critical features like namespaces ([Rust] Missing 'use' statements when generating from .fbs that has imports #5589).
- This does mean HEAD will be somewhat unstable while we fix the UB stuff
-
Minor Rust code-breaking changes may happen with 12 weeks notice
- This includes adopting new compiler features (thus forcing a compiler upgrade), renaming constants to be more "Rust-y", etc
- Change due to new features like the verifier Implement Flatbuffer Verifier for Rust #6161 fall into this category.
"notice" basically means mentioning it on an issue tagged rust in this repo.
Thoughts?
@rw @aardappel @krojew @jean-airoldie @andygrove @jcrevier @plwalsh @dvtomas @maxburke
plwalsh and maxburke