summaryrefslogtreecommitdiff
path: root/alacritty_config/Cargo.toml
diff options
context:
space:
mode:
authorChristian Duerr <contact@christianduerr.com>2024-01-02 14:34:57 +0100
committerGitHub <noreply@github.com>2024-01-02 13:34:57 +0000
commit5685ce8bf8cb919f454518f1206b7ebc52636378 (patch)
treee20dde7f70bb06ad4edc277f2faa2b25ccf8938c /alacritty_config/Cargo.toml
parent8f57367eadeca92706193fc40030081f40e81fbf (diff)
downloadalacritty-5685ce8bf8cb919f454518f1206b7ebc52636378.tar.gz
alacritty-5685ce8bf8cb919f454518f1206b7ebc52636378.zip
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.
Diffstat (limited to 'alacritty_config/Cargo.toml')
-rw-r--r--alacritty_config/Cargo.toml4
1 files changed, 4 insertions, 0 deletions
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"] }