From 9b2d7e8be464cd93237e569f2b2469343ac48691 Mon Sep 17 00:00:00 2001 From: Mads Marquart Date: Tue, 21 Jan 2025 22:35:02 +0100 Subject: [PATCH] chore: prepare for objc2 frameworks v0.3 These will have a bunch of default features enabled, so let's pre-emptively disable them. --- Cargo.toml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index e7722ac..0a9e99f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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", +] }