Skip to content

Commit

Permalink
Prepare for objc2 frameworks v0.3
Browse files Browse the repository at this point in the history
These will have a bunch of default features enabled, so let's
pre-emptively disable them.
  • Loading branch information
madsmtm authored and tronical committed Jan 21, 2025
1 parent 804d18e commit 65fca83
Showing 1 changed file with 23 additions and 4 deletions.
27 changes: 23 additions & 4 deletions internal/renderers/skia/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,29 @@ skia-safe = { version = "0.78.0", features = ["d3d"] }

[target.'cfg(target_vendor = "apple")'.dependencies]
objc2 = { version = "0.5.2" }
objc2-metal = { version = "0.2.2", features = ["MTLCommandQueue", "MTLCommandBuffer", "MTLResource", "MTLTexture", "MTLTypes"] }
objc2-foundation = { version = "0.2.2"}
objc2-quartz-core = { version = "0.2.2" }
objc2-app-kit = { version = "0.2.2" }
objc2-metal = { version = "0.2.2", default-features = false, features = [
"std",
"MTLCommandQueue",
"MTLCommandBuffer",
"MTLResource",
"MTLTexture",
"MTLTypes",
] }
objc2-foundation = { version = "0.2.2", default-features = false, features = [
"std",
"NSGeometry",
] }
objc2-quartz-core = { version = "0.2.2", default-features = false, features = [
"std",
"objc2-metal",
"CALayer",
"CAMetalLayer",
] }
objc2-app-kit = { version = "0.2.2", default-features = false, features = [
"std",
"NSResponder",
"NSView",
] }
skia-safe = { version = "0.78.0", features = ["metal"] }
raw-window-metal = "1.0"

Expand Down

0 comments on commit 65fca83

Please sign in to comment.