From 4ea2f2d1e4b24868eb3532e018b09ade786d9465 Mon Sep 17 00:00:00 2001 From: hut Date: Tue, 30 Apr 2024 17:25:43 +0200 Subject: [PATCH] add toml_edit dependency --- Cargo.lock | 1 + Cargo.toml | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/Cargo.lock b/Cargo.lock index d15481f..3f0d8b1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2813,6 +2813,7 @@ dependencies = [ "regex", "serde", "serde_yaml", + "toml_edit", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index 7816d55..cce9009 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -39,6 +39,11 @@ fastrand = "2.0" serde = "1.0" serde_yaml = "0.9" +# For reading/writing the player's configuration file. +# Use the same version/features as the already included toml_edit, +# in the hope of shaving off some kilobytes from the resulting binary +toml_edit = { version = "*", default-features = false, features = ["parse"] } + [build-dependencies] embed-resource = "1.6.3" # embedding of .exe metadata