Skip to content

Commit

Permalink
Prepare for objc2 frameworks v0.3 (#5624)
Browse files Browse the repository at this point in the history
The next version of the `objc2` framework crates will have a bunch of
default features enabled, see
madsmtm/objc2#627, so this PR pre-emptively
disables them, so that your compile times down blow up once you upgrade
to the next version (which is yet to be released, but will be soon).

* [x] I have followed the instructions in the PR template
  • Loading branch information
madsmtm authored Jan 22, 2025
1 parent 71f7bdc commit a04e25a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions crates/eframe/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -177,12 +177,14 @@ wgpu = { workspace = true, optional = true, features = [
# mac:
[target.'cfg(any(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",
"block2",
"NSData",
"NSString",
] }
objc2-app-kit = { version = "0.2.0", features = [
objc2-app-kit = { version = "0.2.0", default-features = false, features = [
"std",
"NSApplication",
"NSImage",
"NSMenu",
Expand Down

0 comments on commit a04e25a

Please sign in to comment.