From 18cf806a27f06185b1ceb2d63f3b9bc2dd3dc80e Mon Sep 17 00:00:00 2001 From: Kirill Chibisov Date: Sat, 11 Jul 2020 20:03:09 +0300 Subject: Remove gui dependencies from alacritty_terminal This commit removes font dependency from alacritty_terminal, so it'll simplify the usage of alacritty_terminal as a library, since you won't link to system's libraries anymore. It also moves many alacritty related config options from it. Fixes #3393. --- alacritty/Cargo.toml | 3 +++ 1 file changed, 3 insertions(+) (limited to 'alacritty/Cargo.toml') diff --git a/alacritty/Cargo.toml b/alacritty/Cargo.toml index b5dc924f..c30bc370 100644 --- a/alacritty/Cargo.toml +++ b/alacritty/Cargo.toml @@ -36,6 +36,9 @@ xdg = "2" [target.'cfg(not(target_os = "macos"))'.dependencies] image = { version = "0.23.3", default-features = false, features = ["ico"] } +[target.'cfg(target_os = "macos")'.dependencies] +objc = "0.2.2" + [target.'cfg(any(target_os = "macos", windows))'.dependencies] dirs = "2.0.2" -- cgit