Skip to content

Commit

Permalink
chore: prepare for objc2 frameworks v0.3 (#164)
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 Jan 21, 2025
1 parent b66aa11 commit 2d3eb98
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,16 @@ features = [

[target.'cfg(target_os = "macos")'.dependencies]
objc2 = "0.5.2"
objc2-app-kit = { version = "0.2.2", features = [
objc2-app-kit = { version = "0.2.2", default-features = false, features = [
"std",
"NSApplication",
"NSGraphics",
"NSResponder",
"NSView",
"NSVisualEffectView",
] }
objc2-foundation = { version = "0.2.2", features = ["NSThread", "NSGeometry"] }
objc2-foundation = { version = "0.2.2", default-features = false, features = [
"std",
"NSThread",
"NSGeometry",
] }

0 comments on commit 2d3eb98

Please sign in to comment.