Add macOS support using Core Graphics

This commit is contained in:
Seo Sanghyeon 2022-01-19 11:59:43 +09:00
parent a23b7f9876
commit 7ff0d65793
3 changed files with 67 additions and 0 deletions

View file

@ -16,6 +16,10 @@ x11-dl = "2.19.1"
[target.'cfg(target_os = "windows")'.dependencies]
winapi = "0.3.9"
[target.'cfg(target_os = "macos")'.dependencies]
core-graphics = "0.22.3"
objc = "0.2.7"
[dev-dependencies]
winit = "0.26.1"
image = "0.23.14"