diff options
Diffstat (limited to 'alacritty_config')
-rw-r--r-- | alacritty_config/Cargo.toml | 2 | ||||
-rw-r--r-- | alacritty_config/src/lib.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/alacritty_config/Cargo.toml b/alacritty_config/Cargo.toml index 995edfa1..b7ed5658 100644 --- a/alacritty_config/Cargo.toml +++ b/alacritty_config/Cargo.toml @@ -10,8 +10,8 @@ rust-version = "1.65.0" [dependencies] log = { version = "0.4.17", features = ["serde"] } -serde_yaml = "0.8.24" serde = "1.0.163" +toml = "0.7.1" [target.'cfg(target_os = "macos")'.dependencies] winit = { version = "0.28.2", default-features = false, features = ["serde"] } diff --git a/alacritty_config/src/lib.rs b/alacritty_config/src/lib.rs index 5ed9e1a5..c9d73622 100644 --- a/alacritty_config/src/lib.rs +++ b/alacritty_config/src/lib.rs @@ -3,7 +3,7 @@ use std::error::Error; use log::LevelFilter; use serde::Deserialize; -use serde_yaml::Value; +use toml::Value; pub trait SerdeReplace { fn replace(&mut self, key: &str, value: Value) -> Result<(), Box<dyn Error>>; |