Skip to content

Commit

Permalink
Remove default features for objc2
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 22, 2025
1 parent 0bea1d8 commit c45be6b
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,16 @@ clipboard-win = "3.0.2"

[target.'cfg(target_os = "macos")'.dependencies]
objc2 = "0.5.1"
objc2-foundation = { version = "0.2.0", features = [
objc2-foundation = { version = "0.2.0", default-features = false, features = [
"std",
"NSArray",
"NSString",
"NSURL",
] }
objc2-app-kit = { version = "0.2.0", features = ["NSPasteboard"] }
objc2-app-kit = { version = "0.2.0", default-features = false, features = [
"std",
"NSPasteboard",
] }

[target.'cfg(all(unix, not(any(target_os="macos", target_os="android", target_os="ios", target_os="emscripten"))))'.dependencies]
x11-clipboard = { version = "0.9.1", optional = true }
Expand Down

0 comments on commit c45be6b

Please sign in to comment.