use CALayer for macOS backend
This commit is contained in:
parent
75216061b7
commit
ba3b823e1c
2 changed files with 25 additions and 29 deletions
|
|
@ -26,7 +26,9 @@ x11-dl = "2.19.1"
|
|||
winapi = "0.3.9"
|
||||
|
||||
[target.'cfg(target_os = "macos")'.dependencies]
|
||||
cocoa = "0.24.0"
|
||||
core-graphics = "0.22.3"
|
||||
foreign-types = "0.3.0"
|
||||
objc = "0.2.7"
|
||||
|
||||
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
||||
|
|
@ -49,4 +51,4 @@ features = ["jpeg"]
|
|||
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
|
||||
# Turn rayon back on everywhere else; creating the separate entry resets the features to default.
|
||||
image = "0.23.14"
|
||||
rayon = "1.5.1"
|
||||
rayon = "1.5.1"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue