Cargo Features
toml-rsl has no features set by default.
[dependencies]
toml-rsl = { version = "0.1.0", features = ["preserve_order"] }
- preserve_order = indexmap
-
Use indexmap rather than BTreeMap as the map type of toml::Value.
This allows data to be read into a Value and written back to a TOML string while preserving the order of map keys in the input.
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- indexmap preserve_order?
-
Enables indexmap ^1.0