From f58b3fcf859f48ecda7a489b93e5c1eab375810f Mon Sep 17 00:00:00 2001 From: Amir Saeid Date: Sun, 29 Jun 2025 18:45:50 +0100 Subject: Add macOS support --- Cargo.toml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index 5868b4a..2491717 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,9 +13,12 @@ log = "0.4" [dependencies.env_logger] version = "0.9" -default_features = false +default-features = false features = ["humantime"] -[dependencies.x11] +[target.'cfg(target_os = "linux")'.dependencies.x11] version = "2.20" features = ["xlib", "xrandr"] + +[target.'cfg(target_os = "macos")'.dependencies] +core-graphics = "0.23" -- cgit v1.2.3