aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml7
1 files changed, 5 insertions, 2 deletions
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"