Skip to content

Commit a04e25a

Browse files
authored
Prepare for objc2 frameworks v0.3 (#5624)
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
1 parent 71f7bdc commit a04e25a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

crates/eframe/Cargo.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,12 +177,14 @@ wgpu = { workspace = true, optional = true, features = [
177177
# mac:
178178
[target.'cfg(any(target_os = "macos"))'.dependencies]
179179
objc2 = "0.5.1"
180-
objc2-foundation = { version = "0.2.0", features = [
180+
objc2-foundation = { version = "0.2.0", default-features = false, features = [
181+
"std",
181182
"block2",
182183
"NSData",
183184
"NSString",
184185
] }
185-
objc2-app-kit = { version = "0.2.0", features = [
186+
objc2-app-kit = { version = "0.2.0", default-features = false, features = [
187+
"std",
186188
"NSApplication",
187189
"NSImage",
188190
"NSMenu",

0 commit comments

Comments
 (0)