From 009048dc114ce95f89b6a7852e9023fcf5dfb7a6 Mon Sep 17 00:00:00 2001 From: Brady Fomegne Date: Sun, 3 Mar 2024 13:50:35 +0100 Subject: [PATCH] fix(config): preserving data order during loading (#183) Often, the autocapitalize was not working as expected. In preserving the order of the data, we can ensure this overwritten. --- config/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/Cargo.toml b/config/Cargo.toml index b1a8f6f..1dd73bc 100644 --- a/config/Cargo.toml +++ b/config/Cargo.toml @@ -20,4 +20,4 @@ rhai-wasm = ["rhai", "rhai/wasm-bindgen"] rhai = { version = "1.17.0", optional = true, features = ["only_i32", "f32_float", "no_custom_syntax"] } indexmap = { version = "2.2.2", features = ["serde"] } serde = { version = "1.0.196", features = ["derive"] } -toml = "0.8.9" +toml = { version = "0.8.9", features = ["preserve_order"] }