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
We have a similar problem, in that TOML entry order is not preserved (or even consistent!). For example
[ranges]
a = [0, 10]
b = [20, 30]
We depend on the order, so between runs, settings.ranges.first() will sometimes give a, sometimes give b.
Is there a way to preserve entry order with Figment?
I want this library can preserve map order for toml configuration file. See this simple script (originally taken from toml-rs/toml#520):
and
Cargo.toml
:I wonder it there a simple way to enable
indexmap
or we need to impl a newToml
provider to use theindexmap
feature?The text was updated successfully, but these errors were encountered: