Skip to content

Commit

Permalink
patch objc2 and add MTLAllocation feature
Browse files Browse the repository at this point in the history
  • Loading branch information
EmilioLaiso committed Oct 15, 2024
1 parent 222b3d8 commit 95b79c6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ objc2 = { version = "0.5.2", default-features = false, optional = true }
objc2-foundation = { version = "0.2", default-features = false, optional = true }
objc2-metal = { version = "0.2.1", default-features = false, features = [
"MTLAccelerationStructure",
"MTLAllocation",
"MTLBuffer",
"MTLDevice",
"MTLHeap",
Expand Down Expand Up @@ -105,3 +106,8 @@ metal = ["dep:objc2", "dep:objc2-metal", "dep:objc2-foundation"]
public-winapi = ["dep:winapi"]

default = ["d3d12", "vulkan", "metal"]

[patch.crates-io]
objc2 = { git = "https://github.com/madsmtm/objc2.git", rev = "c85f91e" }
objc2-foundation = { git = "https://github.com/madsmtm/objc2.git", rev = "c85f91e" }
objc2-metal = { git = "https://github.com/madsmtm/objc2.git", rev = "c85f91e" }

0 comments on commit 95b79c6

Please sign in to comment.