diff options
author | Max Brunsfeld <maxbrunsfeld@gmail.com> | 2023-08-17 10:33:29 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-17 17:33:29 +0000 |
commit | 33306142195b354ef3485ca2b1d8a85dfc6605ca (patch) | |
tree | fb64a15200b7f5e002eeaed6199f33441fdabc1b /alacritty_config | |
parent | 6143b3f4eb352ff4ab36149ce5ba8c6ab04e415a (diff) | |
download | alacritty-33306142195b354ef3485ca2b1d8a85dfc6605ca.tar.gz alacritty-33306142195b354ef3485ca2b1d8a85dfc6605ca.zip |
Remove winit dependency from alacritty_config
Diffstat (limited to 'alacritty_config')
-rw-r--r-- | alacritty_config/Cargo.toml | 3 | ||||
-rw-r--r-- | alacritty_config/src/lib.rs | 3 |
2 files changed, 0 insertions, 6 deletions
diff --git a/alacritty_config/Cargo.toml b/alacritty_config/Cargo.toml index 48e603ea..c8397d2a 100644 --- a/alacritty_config/Cargo.toml +++ b/alacritty_config/Cargo.toml @@ -12,6 +12,3 @@ rust-version = "1.65.0" log = { version = "0.4.17", features = ["serde"] } serde = "1.0.163" toml = "0.7.1" - -[target.'cfg(target_os = "macos")'.dependencies] -winit = { version = "0.29.0-beta.0", default-features = false, features = ["serde"] } diff --git a/alacritty_config/src/lib.rs b/alacritty_config/src/lib.rs index 1e5282d7..c5a43b87 100644 --- a/alacritty_config/src/lib.rs +++ b/alacritty_config/src/lib.rs @@ -32,9 +32,6 @@ impl_replace!( LevelFilter, ); -#[cfg(target_os = "macos")] -impl_replace!(winit::platform::macos::OptionAsAlt,); - fn replace_simple<'de, D>(data: &mut D, value: Value) -> Result<(), Box<dyn Error>> where D: Deserialize<'de>, |