aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
authorAmir Saeid <amir@glgdgt.com>2025-06-29 18:45:50 +0100
committerAmir Saeid <amir@glgdgt.com>2025-06-29 18:45:50 +0100
commitf58b3fcf859f48ecda7a489b93e5c1eab375810f (patch)
treeb95c2b679c96a868d245553213a17f6adc9cf5b1 /Cargo.toml
parent86ae6e4ff18477f0d598367fba09f940b7b62cd8 (diff)
Add macOS support
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"