From 5f98de46921a878bc13397859eadd7ed4f7c2b44 Mon Sep 17 00:00:00 2001 From: sterlingjensen <5555776+sterlingjensen@users.noreply.github.com> Date: Sat, 30 Nov 2019 00:11:43 -0600 Subject: Move icon embed step from winpty to Alacritty --- alacritty/Cargo.toml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'alacritty/Cargo.toml') diff --git a/alacritty/Cargo.toml b/alacritty/Cargo.toml index 647a35e6..9b1cfbe8 100644 --- a/alacritty/Cargo.toml +++ b/alacritty/Cargo.toml @@ -34,7 +34,7 @@ rustc_tools_util = "0.2.0" xdg = "2" [target.'cfg(not(target_os = "macos"))'.dependencies] -image = "0.22.3" +image = { version = "0.22.3", default-features = false, features = ["ico"] } [target.'cfg(any(target_os = "macos", windows))'.dependencies] dirs = "2.0.2" @@ -45,6 +45,9 @@ x11-dl = "2" [target.'cfg(windows)'.dependencies] winapi = { version = "0.3.7", features = ["impl-default", "winuser", "synchapi", "roerrorapi", "winerror", "wincon", "wincontypes"]} +[target.'cfg(windows)'.build-dependencies] +embed-resource = "1.3" + [features] default = [] # Enabling this feature makes shaders automatically reload when changed -- cgit