From 5685ce8bf8cb919f454518f1206b7ebc52636378 Mon Sep 17 00:00:00 2001 From: Christian Duerr Date: Tue, 2 Jan 2024 14:34:57 +0100 Subject: Fix replacing optional fields This fixes an issue with the default `SerdeReplace` implementation where it would never recurse through options but always replace the entire option with the new value. Closes #7518. --- alacritty_config/Cargo.toml | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'alacritty_config/Cargo.toml') diff --git a/alacritty_config/Cargo.toml b/alacritty_config/Cargo.toml index 985da0e3..28875c3b 100644 --- a/alacritty_config/Cargo.toml +++ b/alacritty_config/Cargo.toml @@ -12,3 +12,7 @@ rust-version = "1.70.0" log = { version = "0.4.17", features = ["serde"] } serde = "1.0.163" toml = "0.8.2" + +[dev-dependencies] +alacritty_config_derive = { path = "../alacritty_config_derive" } +serde = { version = "1.0.163", features = ["derive"] } -- cgit v1.2.3-54-g00ecf