From 3b0e81e29f764ad82489943f9469ed7268f0f6db Mon Sep 17 00:00:00 2001 From: Mads Marquart Date: Tue, 21 Jan 2025 22:38:54 +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 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 7ae369e7..99488c50 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -46,7 +46,8 @@ libxdo = { version = "0.6.0", optional = true } [target.'cfg(target_os = "macos")'.dependencies] objc2 = "0.5.2" -objc2-foundation = { version = "0.2.2", features = [ +objc2-foundation = { version = "0.2.2", default-features = false, features = [ + "std", "NSAttributedString", "NSData", "NSDictionary", @@ -54,7 +55,8 @@ objc2-foundation = { version = "0.2.2", features = [ "NSString", "NSThread", ] } -objc2-app-kit = { version = "0.2.2", features = [ +objc2-app-kit = { version = "0.2.2", default-features = false, features = [ + "std", "NSApplication", "NSCell", "NSEvent",