You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would it be possible to add a feature to pb-rs so that the generated code only uses containers with deterministic iteration order? In my testing, it appears the only thing preventing the serialized protobuf messages from being deterministic in the default configuration is the usage of HashMap. I've been using .nostd(true) as a workaround to make the generated code use BTreeMap (sorted iteration order), but it would be nice to have something explicit for this and not rely on an implementation detail.
Thanks!
The text was updated successfully, but these errors were encountered:
Would it be possible to add a feature to pb-rs so that the generated code only uses containers with deterministic iteration order? In my testing, it appears the only thing preventing the serialized protobuf messages from being deterministic in the default configuration is the usage of
HashMap
. I've been using.nostd(true)
as a workaround to make the generated code useBTreeMap
(sorted iteration order), but it would be nice to have something explicit for this and not rely on an implementation detail.Thanks!
The text was updated successfully, but these errors were encountered: