diff options
| author | Amir Saeid <amir@glgdgt.com> | 2025-06-29 18:45:50 +0100 |
|---|---|---|
| committer | Amir Saeid <amir@glgdgt.com> | 2025-06-29 18:45:50 +0100 |
| commit | f58b3fcf859f48ecda7a489b93e5c1eab375810f (patch) | |
| tree | b95c2b679c96a868d245553213a17f6adc9cf5b1 /Cargo.toml | |
| parent | 86ae6e4ff18477f0d598367fba09f940b7b62cd8 (diff) | |
Add macOS support
Diffstat (limited to 'Cargo.toml')
| -rw-r--r-- | Cargo.toml | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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" |
