From bdb7febf9c281027a16d1a969e496f4b1ff76441 Mon Sep 17 00:00:00 2001 From: Mads Marquart Date: Tue, 21 Jan 2025 21:26:26 +0100 Subject: [PATCH] [opener] Prepare for objc2 frameworks v0.3 (#2343) These will have a bunch of default features enabled, so let's preemptively disable them. --- plugins/opener/Cargo.toml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/plugins/opener/Cargo.toml b/plugins/opener/Cargo.toml index 06499546..044d2796 100644 --- a/plugins/opener/Cargo.toml +++ b/plugins/opener/Cargo.toml @@ -55,11 +55,13 @@ url = { workspace = true } [target."cfg(target_os = \"macos\")".dependencies.objc2-app-kit] version = "0.2" -features = ["NSWorkspace"] +default-features = false +features = ["std", "NSWorkspace"] [target."cfg(target_os = \"macos\")".dependencies.objc2-foundation] version = "0.2" -features = ["NSURL", "NSArray", "NSString"] +default-features = false +features = ["std", "NSURL", "NSArray", "NSString"] [target.'cfg(target_os = "ios")'.dependencies] tauri = { workspace = true, features = ["wry"] }