From e000fea6a1c2a9f2bec56ea1f0436f470b9e60d3 Mon Sep 17 00:00:00 2001 From: Mads Marquart Date: Wed, 25 Dec 2024 12:39:17 +0100 Subject: [PATCH] Don't automatically enable std and alloc features of dependencies Part of https://github.com/madsmtm/objc2/issues/656. --- crates/block2/Cargo.toml | 6 +++--- crates/dispatch2/Cargo.toml | 4 ++-- .../header-translator/src/default_cargo.toml | 2 -- crates/header-translator/src/library.rs | 17 ---------------- crates/objc2/Cargo.toml | 7 ++++--- .../src/topics/about_generated/CHANGELOG.md | 3 +++ .../crates/test_define_class/Cargo.toml | 20 +++++++++---------- crates/test-ui/Cargo.toml | 4 ++-- crates/tests/Cargo.toml | 2 +- .../objc2-accessibility/Cargo.toml | 4 ++-- framework-crates/objc2-accounts/Cargo.toml | 4 ++-- framework-crates/objc2-ad-services/Cargo.toml | 4 ++-- framework-crates/objc2-ad-support/Cargo.toml | 4 ++-- framework-crates/objc2-app-kit/Cargo.toml | 4 ++-- .../Cargo.toml | 4 ++-- .../objc2-audio-toolbox/Cargo.toml | 4 ++-- .../objc2-authentication-services/Cargo.toml | 4 ++-- .../Cargo.toml | 4 ++-- framework-crates/objc2-automator/Cargo.toml | 4 ++-- .../objc2-av-foundation/Cargo.toml | 4 ++-- framework-crates/objc2-av-kit/Cargo.toml | 4 ++-- framework-crates/objc2-avf-audio/Cargo.toml | 4 ++-- .../objc2-background-assets/Cargo.toml | 4 ++-- .../objc2-background-tasks/Cargo.toml | 4 ++-- .../objc2-business-chat/Cargo.toml | 4 ++-- framework-crates/objc2-call-kit/Cargo.toml | 4 ++-- framework-crates/objc2-class-kit/Cargo.toml | 4 ++-- framework-crates/objc2-cloud-kit/Cargo.toml | 4 ++-- framework-crates/objc2-contacts-ui/Cargo.toml | 4 ++-- framework-crates/objc2-contacts/Cargo.toml | 4 ++-- .../objc2-core-audio-types/Cargo.toml | 4 ++-- .../objc2-core-bluetooth/Cargo.toml | 4 ++-- framework-crates/objc2-core-data/Cargo.toml | 4 ++-- .../objc2-core-foundation/Cargo.toml | 4 ++-- .../objc2-core-graphics/Cargo.toml | 4 ++-- framework-crates/objc2-core-image/Cargo.toml | 4 ++-- .../objc2-core-location/Cargo.toml | 4 ++-- framework-crates/objc2-core-media/Cargo.toml | 4 ++-- framework-crates/objc2-core-ml/Cargo.toml | 4 ++-- framework-crates/objc2-core-motion/Cargo.toml | 4 ++-- framework-crates/objc2-core-text/Cargo.toml | 4 ++-- framework-crates/objc2-core-video/Cargo.toml | 4 ++-- framework-crates/objc2-core-wlan/Cargo.toml | 4 ++-- .../objc2-data-detection/Cargo.toml | 4 ++-- .../objc2-device-check/Cargo.toml | 4 ++-- .../objc2-event-kit-ui/Cargo.toml | 4 ++-- framework-crates/objc2-event-kit/Cargo.toml | 4 ++-- .../objc2-exception-handling/Cargo.toml | 4 ++-- .../objc2-extension-kit/Cargo.toml | 4 ++-- .../objc2-external-accessory/Cargo.toml | 4 ++-- .../objc2-file-provider-ui/Cargo.toml | 4 ++-- .../objc2-file-provider/Cargo.toml | 4 ++-- framework-crates/objc2-finder-sync/Cargo.toml | 4 ++-- framework-crates/objc2-foundation/Cargo.toml | 4 ++-- .../objc2-game-controller/Cargo.toml | 4 ++-- framework-crates/objc2-game-kit/Cargo.toml | 4 ++-- framework-crates/objc2-health-kit/Cargo.toml | 4 ++-- .../objc2-identity-lookup/Cargo.toml | 4 ++-- .../objc2-input-method-kit/Cargo.toml | 4 ++-- framework-crates/objc2-io-surface/Cargo.toml | 4 ++-- .../objc2-link-presentation/Cargo.toml | 4 ++-- .../Cargo.toml | 4 ++-- .../objc2-local-authentication/Cargo.toml | 4 ++-- framework-crates/objc2-mail-kit/Cargo.toml | 4 ++-- framework-crates/objc2-map-kit/Cargo.toml | 4 ++-- .../objc2-media-player/Cargo.toml | 4 ++-- framework-crates/objc2-metal-fx/Cargo.toml | 4 ++-- framework-crates/objc2-metal-kit/Cargo.toml | 4 ++-- .../Cargo.toml | 4 ++-- .../Cargo.toml | 4 ++-- framework-crates/objc2-metal/Cargo.toml | 4 ++-- framework-crates/objc2-metal/src/packed.rs | 1 + framework-crates/objc2-metric-kit/Cargo.toml | 4 ++-- framework-crates/objc2-ml-compute/Cargo.toml | 4 ++-- .../objc2-multipeer-connectivity/Cargo.toml | 4 ++-- .../objc2-natural-language/Cargo.toml | 4 ++-- .../objc2-nearby-interaction/Cargo.toml | 4 ++-- .../objc2-network-extension/Cargo.toml | 4 ++-- .../objc2-open-directory/Cargo.toml | 4 ++-- framework-crates/objc2-osa-kit/Cargo.toml | 4 ++-- framework-crates/objc2-photos-ui/Cargo.toml | 4 ++-- framework-crates/objc2-photos/Cargo.toml | 4 ++-- framework-crates/objc2-quartz-core/Cargo.toml | 4 ++-- .../objc2-screen-capture-kit/Cargo.toml | 4 ++-- .../objc2-screen-saver/Cargo.toml | 4 ++-- .../Cargo.toml | 4 ++-- .../objc2-service-management/Cargo.toml | 4 ++-- framework-crates/objc2-social/Cargo.toml | 4 ++-- .../objc2-sound-analysis/Cargo.toml | 4 ++-- framework-crates/objc2-speech/Cargo.toml | 4 ++-- framework-crates/objc2-store-kit/Cargo.toml | 4 ++-- framework-crates/objc2-symbols/Cargo.toml | 4 ++-- .../objc2-system-extensions/Cargo.toml | 4 ++-- framework-crates/objc2-ui-kit/Cargo.toml | 4 ++-- .../objc2-uniform-type-identifiers/Cargo.toml | 4 ++-- .../objc2-user-notifications/Cargo.toml | 4 ++-- .../objc2-virtualization/Cargo.toml | 4 ++-- framework-crates/objc2-vision/Cargo.toml | 4 ++-- framework-crates/objc2-web-kit/Cargo.toml | 4 ++-- 99 files changed, 204 insertions(+), 218 deletions(-) diff --git a/crates/block2/Cargo.toml b/crates/block2/Cargo.toml index 764949609..cdcf443f6 100644 --- a/crates/block2/Cargo.toml +++ b/crates/block2/Cargo.toml @@ -22,8 +22,8 @@ workspace = true default = ["std"] # Currently not possible to turn off, put here for forwards compatibility. -std = ["alloc", "objc2/std"] -alloc = ["objc2/alloc"] +std = ["alloc"] +alloc = [] # Deprecated; this is the default on Apple platforms, and not applicable on other platforms. apple = [] @@ -53,7 +53,7 @@ objc2 = { path = "../objc2", version = "0.5.2", default-features = false } [dev-dependencies.objc2-foundation] path = "../../framework-crates/objc2-foundation" default-features = false -features = ["NSError"] +features = ["alloc", "NSError"] [package.metadata.docs.rs] default-target = "aarch64-apple-darwin" diff --git a/crates/dispatch2/Cargo.toml b/crates/dispatch2/Cargo.toml index ceea6d376..efe1b45a6 100644 --- a/crates/dispatch2/Cargo.toml +++ b/crates/dispatch2/Cargo.toml @@ -41,8 +41,8 @@ targets = [ default = ["std"] # Currently not possible to turn off, put here for forwards compatibility. -std = ["alloc", "bitflags/std", "block2?/std", "libc?/std", "objc2?/std"] -alloc = ["block2?/alloc", "objc2?/alloc"] +std = ["alloc"] +alloc = [] block2 = ["dep:block2"] libc = ["dep:libc"] objc2 = ["dep:objc2"] diff --git a/crates/header-translator/src/default_cargo.toml b/crates/header-translator/src/default_cargo.toml index 8e1483fd6..c9f323c67 100644 --- a/crates/header-translator/src/default_cargo.toml +++ b/crates/header-translator/src/default_cargo.toml @@ -26,7 +26,5 @@ targets = [ [features] default = ["std"] - -# Currently not possible to turn off, put here for forwards compatibility. std = ["alloc"] alloc = [] diff --git a/crates/header-translator/src/library.rs b/crates/header-translator/src/library.rs index 9c9efac79..daecb42dd 100644 --- a/crates/header-translator/src/library.rs +++ b/crates/header-translator/src/library.rs @@ -326,23 +326,6 @@ see that for related crates.", self.data.krate)?; dependency_table .entry(krate) .or_insert(Item::Value(Value::InlineTable(table))); - - cargo_toml["features"]["std"] - .as_array_mut() - .unwrap() - .push(Value::from(format!( - "{krate}{}/std", - if *required { "" } else { "?" }, - ))); - if *krate != "bitflags" && *krate != "libc" { - cargo_toml["features"]["alloc"] - .as_array_mut() - .unwrap() - .push(Value::from(format!( - "{krate}{}/alloc", - if *required { "" } else { "?" }, - ))); - } } match fs::read_to_string(crate_dir.join("Cargo.modified.toml")) { diff --git a/crates/objc2/Cargo.toml b/crates/objc2/Cargo.toml index fbff87ff9..0911f31b8 100644 --- a/crates/objc2/Cargo.toml +++ b/crates/objc2/Cargo.toml @@ -25,8 +25,8 @@ workspace = true default = ["std"] # Currently not possible to turn off, put here for forwards compatibility. -std = ["alloc", "objc2-encode/std", "block2/std", "objc2-foundation/std", "objc2-exception-helper?/std"] -alloc = ["objc2-encode/alloc", "block2/alloc", "objc2-foundation/alloc", "objc2-exception-helper?/alloc"] +std = ["alloc", "objc2-encode/std"] +alloc = ["objc2-encode/alloc"] # Enables `objc2::exception::throw` and `objc2::exception::catch` exception = ["dep:objc2-exception-helper"] @@ -125,11 +125,12 @@ objc2-exception-helper = { path = "../objc2-exception-helper", version = "0.1.0" iai = { version = "0.1", git = "https://github.com/madsmtm/iai", branch = "callgrind" } static_assertions = "1.1.0" memoffset = "0.9.0" -block2 = { path = "../block2", default-features = false } +block2 = { path = "../block2" } objc2-core-foundation = { path = "../../framework-crates/objc2-core-foundation", default-features = false, features = [ "CFCGTypes", ] } objc2-foundation = { path = "../../framework-crates/objc2-foundation", default-features = false, features = [ + "std", "NSArray", "NSDate", "NSDictionary", diff --git a/crates/objc2/src/topics/about_generated/CHANGELOG.md b/crates/objc2/src/topics/about_generated/CHANGELOG.md index 2b271be4a..af55004bd 100644 --- a/crates/objc2/src/topics/about_generated/CHANGELOG.md +++ b/crates/objc2/src/topics/about_generated/CHANGELOG.md @@ -105,6 +105,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). * **BREAKING**: The feature flag guarding `SCSensitivityAnalysis` changed. * **BREAKING**: `-[NSSavePanel beginSheetForDirectory:file:modalForWindow:modalDelegate:didEndSelector:contextInfo:]` now takes an optional value as the file path. +* **BREAKING**: No longer automatically enable `std` and `alloc` features of + dependencies. If you want a certain framework crate to use `std` or `alloc` + features, you cannot rely on a higher-level crate to enable that for you. ### Deprecated * Moved `MainThreadMarker` from `objc2-foundation` to `objc2`. diff --git a/crates/test-assembly/crates/test_define_class/Cargo.toml b/crates/test-assembly/crates/test_define_class/Cargo.toml index 965560087..0eb2a9861 100644 --- a/crates/test-assembly/crates/test_define_class/Cargo.toml +++ b/crates/test-assembly/crates/test_define_class/Cargo.toml @@ -8,22 +8,22 @@ publish = false path = "lib.rs" [dependencies] -objc2 = { path = "../../../objc2", optional = true } -objc2-foundation = { path = "../../../../framework-crates/objc2-foundation", optional = true } +objc2 = { path = "../../../objc2" } +objc2-foundation = { path = "../../../../framework-crates/objc2-foundation" } [features] -default = ["all", "objc2", "objc2-foundation"] +default = ["all"] # Runtime -gnustep-1-7 = ["objc2?/gnustep-1-7", "objc2-foundation?/gnustep-1-7"] -gnustep-1-8 = ["gnustep-1-7", "objc2?/gnustep-1-8", "objc2-foundation?/gnustep-1-8"] -gnustep-1-9 = ["gnustep-1-8", "objc2?/gnustep-1-9", "objc2-foundation?/gnustep-1-9"] -gnustep-2-0 = ["gnustep-1-9", "objc2?/gnustep-2-0", "objc2-foundation?/gnustep-2-0"] -gnustep-2-1 = ["gnustep-2-0", "objc2?/gnustep-2-1", "objc2-foundation?/gnustep-2-1"] +gnustep-1-7 = ["objc2/gnustep-1-7", "objc2-foundation/gnustep-1-7"] +gnustep-1-8 = ["gnustep-1-7", "objc2/gnustep-1-8", "objc2-foundation/gnustep-1-8"] +gnustep-1-9 = ["gnustep-1-8", "objc2/gnustep-1-9", "objc2-foundation/gnustep-1-9"] +gnustep-2-0 = ["gnustep-1-9", "objc2/gnustep-2-0", "objc2-foundation/gnustep-2-0"] +gnustep-2-1 = ["gnustep-2-0", "objc2/gnustep-2-1", "objc2-foundation/gnustep-2-1"] -all = ["objc2-foundation?/block2", "objc2-foundation?/NSObject", "objc2-foundation?/NSZone"] +all = ["objc2-foundation/block2", "objc2-foundation/NSObject", "objc2-foundation/NSZone"] # Hack to prevent the feature flag from being enabled in the entire project -assembly-features = ["all", "objc2?/unstable-static-sel-inlined", "objc2?/unstable-static-class-inlined"] +assembly-features = ["all", "objc2/unstable-static-sel-inlined", "objc2/unstable-static-class-inlined"] [package.metadata.release] release = false diff --git a/crates/test-ui/Cargo.toml b/crates/test-ui/Cargo.toml index c30046bba..3bbb1d78c 100644 --- a/crates/test-ui/Cargo.toml +++ b/crates/test-ui/Cargo.toml @@ -39,13 +39,13 @@ gnustep-2-1 = ["gnustep-2-0", "block2/gnustep-2-1", "objc2/gnustep-2-1", "objc2- trybuild = { version = "1.0.72", optional = true } block2 = { path = "../block2" } objc2 = { path = "../objc2" } -objc2-foundation = { path = "../../framework-crates/objc2-foundation" } +objc2-foundation = { path = "../../framework-crates/objc2-foundation", default-features = false, features = ["std"] } # To make CI work [target.'cfg(not(target_vendor = "apple"))'.dependencies] block2 = { path = "../block2", features = ["gnustep-1-7"] } objc2 = { path = "../objc2", features = ["gnustep-1-7"] } -objc2-foundation = { path = "../../framework-crates/objc2-foundation", features = ["gnustep-1-7"] } +objc2-foundation = { path = "../../framework-crates/objc2-foundation", default-features = false, features = ["std", "gnustep-1-7"] } [[bin]] name = "test-ui" diff --git a/crates/tests/Cargo.toml b/crates/tests/Cargo.toml index eef1ec8c6..8f453d987 100644 --- a/crates/tests/Cargo.toml +++ b/crates/tests/Cargo.toml @@ -38,7 +38,7 @@ unstable-objfw = ["block2/unstable-objfw", "objc2/unstable-objfw"] [dependencies] block2 = { path = "../block2" } objc2 = { path = "../objc2" } -objc2-foundation = { path = "../../framework-crates/objc2-foundation" } +objc2-foundation = { path = "../../framework-crates/objc2-foundation", default-features = false, features = ["std"] } [build-dependencies] cc = "1.0" diff --git a/framework-crates/objc2-accessibility/Cargo.toml b/framework-crates/objc2-accessibility/Cargo.toml index 9b06f1ac3..5f4e8b699 100644 --- a/framework-crates/objc2-accessibility/Cargo.toml +++ b/framework-crates/objc2-accessibility/Cargo.toml @@ -40,8 +40,8 @@ targets = [ default = ["std"] # Currently not possible to turn off, put here for forwards compatibility. -std = ["alloc", "bitflags?/std", "block2?/std", "objc2/std", "objc2-core-foundation?/std", "objc2-core-graphics?/std", "objc2-foundation/std"] -alloc = ["block2?/alloc", "objc2/alloc", "objc2-core-foundation?/alloc", "objc2-core-graphics?/alloc", "objc2-foundation/alloc"] +std = ["alloc"] +alloc = [] bitflags = ["dep:bitflags", "objc2-core-foundation?/bitflags", "objc2-core-graphics?/bitflags", "objc2-foundation/bitflags"] block2 = ["dep:block2", "objc2-core-foundation?/block2", "objc2-core-graphics?/block2", "objc2-foundation/block2"] objc2-core-foundation = ["dep:objc2-core-foundation", "objc2-core-graphics?/objc2-core-foundation", "objc2-foundation/objc2-core-foundation"] diff --git a/framework-crates/objc2-accounts/Cargo.toml b/framework-crates/objc2-accounts/Cargo.toml index b21d4b29d..09a412449 100644 --- a/framework-crates/objc2-accounts/Cargo.toml +++ b/framework-crates/objc2-accounts/Cargo.toml @@ -35,8 +35,8 @@ targets = [ default = ["std"] # Currently not possible to turn off, put here for forwards compatibility. -std = ["alloc", "block2?/std", "objc2/std", "objc2-foundation/std"] -alloc = ["block2?/alloc", "objc2/alloc", "objc2-foundation/alloc"] +std = ["alloc"] +alloc = [] block2 = ["dep:block2", "objc2-foundation/block2"] ACAccount = ["objc2-foundation/NSString"] diff --git a/framework-crates/objc2-ad-services/Cargo.toml b/framework-crates/objc2-ad-services/Cargo.toml index d89e4a976..83d922ea4 100644 --- a/framework-crates/objc2-ad-services/Cargo.toml +++ b/framework-crates/objc2-ad-services/Cargo.toml @@ -34,8 +34,8 @@ targets = [ default = ["std"] # Currently not possible to turn off, put here for forwards compatibility. -std = ["alloc", "objc2/std", "objc2-foundation/std"] -alloc = ["objc2/alloc", "objc2-foundation/alloc"] +std = ["alloc"] +alloc = [] AAAttribution = [ "objc2-foundation/NSError", diff --git a/framework-crates/objc2-ad-support/Cargo.toml b/framework-crates/objc2-ad-support/Cargo.toml index e828315c8..bc2e634e5 100644 --- a/framework-crates/objc2-ad-support/Cargo.toml +++ b/framework-crates/objc2-ad-support/Cargo.toml @@ -35,8 +35,8 @@ targets = [ default = ["std"] # Currently not possible to turn off, put here for forwards compatibility. -std = ["alloc", "objc2/std", "objc2-foundation/std"] -alloc = ["objc2/alloc", "objc2-foundation/alloc"] +std = ["alloc"] +alloc = [] ASIdentifierManager = ["objc2-foundation/NSUUID"] all = ["ASIdentifierManager"] diff --git a/framework-crates/objc2-app-kit/Cargo.toml b/framework-crates/objc2-app-kit/Cargo.toml index 3b35e6690..58b24b275 100644 --- a/framework-crates/objc2-app-kit/Cargo.toml +++ b/framework-crates/objc2-app-kit/Cargo.toml @@ -47,8 +47,8 @@ targets = [ default = ["std"] # Currently not possible to turn off, put here for forwards compatibility. -std = ["alloc", "bitflags?/std", "block2?/std", "libc?/std", "objc2/std", "objc2-cloud-kit?/std", "objc2-core-data?/std", "objc2-core-foundation?/std", "objc2-core-graphics?/std", "objc2-core-image?/std", "objc2-foundation/std", "objc2-quartz-core?/std", "objc2-uniform-type-identifiers?/std"] -alloc = ["block2?/alloc", "objc2/alloc", "objc2-cloud-kit?/alloc", "objc2-core-data?/alloc", "objc2-core-foundation?/alloc", "objc2-core-graphics?/alloc", "objc2-core-image?/alloc", "objc2-foundation/alloc", "objc2-quartz-core?/alloc", "objc2-uniform-type-identifiers?/alloc"] +std = ["alloc"] +alloc = [] apple = [] gnustep-1-7 = ["objc2/gnustep-1-7", "block2?/gnustep-1-7", "objc2-foundation/gnustep-1-7", "objc2-core-data?/gnustep-1-7", "objc2-quartz-core?/gnustep-1-7"] gnustep-1-8 = ["gnustep-1-7", "objc2/gnustep-1-8", "block2?/gnustep-1-8", "objc2-foundation/gnustep-1-8", "objc2-core-data?/gnustep-1-8", "objc2-quartz-core?/gnustep-1-8"] diff --git a/framework-crates/objc2-app-tracking-transparency/Cargo.toml b/framework-crates/objc2-app-tracking-transparency/Cargo.toml index 569e210f3..c21ac57e4 100644 --- a/framework-crates/objc2-app-tracking-transparency/Cargo.toml +++ b/framework-crates/objc2-app-tracking-transparency/Cargo.toml @@ -35,8 +35,8 @@ targets = [ default = ["std"] # Currently not possible to turn off, put here for forwards compatibility. -std = ["alloc", "block2?/std", "objc2/std"] -alloc = ["block2?/alloc", "objc2/alloc"] +std = ["alloc"] +alloc = [] block2 = ["dep:block2"] all = ["block2"] diff --git a/framework-crates/objc2-audio-toolbox/Cargo.toml b/framework-crates/objc2-audio-toolbox/Cargo.toml index 327a55132..d798c62dc 100644 --- a/framework-crates/objc2-audio-toolbox/Cargo.toml +++ b/framework-crates/objc2-audio-toolbox/Cargo.toml @@ -40,8 +40,8 @@ targets = [ default = ["std"] # Currently not possible to turn off, put here for forwards compatibility. -std = ["alloc", "bitflags?/std", "block2?/std", "libc?/std", "objc2/std", "objc2-core-audio-types?/std", "objc2-core-foundation?/std", "objc2-foundation/std"] -alloc = ["block2?/alloc", "objc2/alloc", "objc2-core-audio-types?/alloc", "objc2-core-foundation?/alloc", "objc2-foundation/alloc"] +std = ["alloc"] +alloc = [] bitflags = ["dep:bitflags", "objc2-core-audio-types?/bitflags", "objc2-core-foundation?/bitflags", "objc2-foundation/bitflags"] block2 = ["dep:block2", "objc2-core-foundation?/block2", "objc2-foundation/block2"] libc = ["dep:libc", "objc2-core-foundation?/libc", "objc2-foundation/libc"] diff --git a/framework-crates/objc2-authentication-services/Cargo.toml b/framework-crates/objc2-authentication-services/Cargo.toml index ec0c9d73c..daca65f7c 100644 --- a/framework-crates/objc2-authentication-services/Cargo.toml +++ b/framework-crates/objc2-authentication-services/Cargo.toml @@ -42,8 +42,8 @@ targets = [ default = ["std"] # Currently not possible to turn off, put here for forwards compatibility. -std = ["alloc", "bitflags?/std", "block2?/std", "objc2/std", "objc2-app-kit/std", "objc2-core-foundation?/std", "objc2-foundation/std"] -alloc = ["block2?/alloc", "objc2/alloc", "objc2-app-kit/alloc", "objc2-core-foundation?/alloc", "objc2-foundation/alloc"] +std = ["alloc"] +alloc = [] bitflags = ["dep:bitflags", "objc2-app-kit/bitflags", "objc2-core-foundation?/bitflags", "objc2-foundation/bitflags"] block2 = ["dep:block2", "objc2-app-kit/block2", "objc2-core-foundation?/block2", "objc2-foundation/block2"] objc2-core-foundation = ["dep:objc2-core-foundation", "objc2-app-kit/objc2-core-foundation", "objc2-foundation/objc2-core-foundation"] diff --git a/framework-crates/objc2-automatic-assessment-configuration/Cargo.toml b/framework-crates/objc2-automatic-assessment-configuration/Cargo.toml index cf02882da..d6fdba3bd 100644 --- a/framework-crates/objc2-automatic-assessment-configuration/Cargo.toml +++ b/framework-crates/objc2-automatic-assessment-configuration/Cargo.toml @@ -35,7 +35,7 @@ targets = [ default = ["std"] # Currently not possible to turn off, put here for forwards compatibility. -std = ["alloc", "bitflags/std", "objc2/std", "objc2-foundation/std"] -alloc = ["objc2/alloc", "objc2-foundation/alloc"] +std = ["alloc"] +alloc = [] all = [] diff --git a/framework-crates/objc2-automator/Cargo.toml b/framework-crates/objc2-automator/Cargo.toml index 7f2142270..5c750ab4b 100644 --- a/framework-crates/objc2-automator/Cargo.toml +++ b/framework-crates/objc2-automator/Cargo.toml @@ -36,8 +36,8 @@ targets = [ default = ["std"] # Currently not possible to turn off, put here for forwards compatibility. -std = ["alloc", "objc2/std", "objc2-app-kit?/std", "objc2-core-foundation?/std", "objc2-foundation/std", "objc2-osa-kit?/std"] -alloc = ["objc2/alloc", "objc2-app-kit?/alloc", "objc2-core-foundation?/alloc", "objc2-foundation/alloc", "objc2-osa-kit?/alloc"] +std = ["alloc"] +alloc = [] objc2-app-kit = ["dep:objc2-app-kit"] objc2-core-foundation = ["dep:objc2-core-foundation", "objc2-app-kit?/objc2-core-foundation", "objc2-foundation/objc2-core-foundation", "objc2-osa-kit?/objc2-core-foundation"] objc2-osa-kit = ["dep:objc2-osa-kit"] diff --git a/framework-crates/objc2-av-foundation/Cargo.toml b/framework-crates/objc2-av-foundation/Cargo.toml index bf88da54e..295d95ef0 100644 --- a/framework-crates/objc2-av-foundation/Cargo.toml +++ b/framework-crates/objc2-av-foundation/Cargo.toml @@ -48,8 +48,8 @@ targets = [ default = ["std"] # Currently not possible to turn off, put here for forwards compatibility. -std = ["alloc", "bitflags?/std", "block2?/std", "objc2/std", "objc2-avf-audio?/std", "objc2-core-foundation?/std", "objc2-core-graphics?/std", "objc2-core-image?/std", "objc2-core-media?/std", "objc2-core-video?/std", "objc2-foundation/std", "objc2-quartz-core?/std", "objc2-uniform-type-identifiers?/std"] -alloc = ["block2?/alloc", "objc2/alloc", "objc2-avf-audio?/alloc", "objc2-core-foundation?/alloc", "objc2-core-graphics?/alloc", "objc2-core-image?/alloc", "objc2-core-media?/alloc", "objc2-core-video?/alloc", "objc2-foundation/alloc", "objc2-quartz-core?/alloc", "objc2-uniform-type-identifiers?/alloc"] +std = ["alloc"] +alloc = [] bitflags = ["dep:bitflags", "objc2-avf-audio?/bitflags", "objc2-core-foundation?/bitflags", "objc2-core-graphics?/bitflags", "objc2-core-media?/bitflags", "objc2-core-video?/bitflags", "objc2-foundation/bitflags", "objc2-quartz-core?/bitflags"] block2 = ["dep:block2", "objc2-avf-audio?/block2", "objc2-core-foundation?/block2", "objc2-core-graphics?/block2", "objc2-core-image?/block2", "objc2-core-media?/block2", "objc2-core-video?/block2", "objc2-foundation/block2", "objc2-quartz-core?/block2", "objc2-uniform-type-identifiers?/block2"] objc2-avf-audio = ["dep:objc2-avf-audio"] diff --git a/framework-crates/objc2-av-kit/Cargo.toml b/framework-crates/objc2-av-kit/Cargo.toml index 879e0d284..c350d2747 100644 --- a/framework-crates/objc2-av-kit/Cargo.toml +++ b/framework-crates/objc2-av-kit/Cargo.toml @@ -47,8 +47,8 @@ targets = [ default = ["std"] # Currently not possible to turn off, put here for forwards compatibility. -std = ["alloc", "bitflags?/std", "block2?/std", "objc2/std", "objc2-app-kit?/std", "objc2-av-foundation?/std", "objc2-core-foundation?/std", "objc2-core-media?/std", "objc2-foundation/std", "objc2-quartz-core?/std"] -alloc = ["block2?/alloc", "objc2/alloc", "objc2-app-kit?/alloc", "objc2-av-foundation?/alloc", "objc2-core-foundation?/alloc", "objc2-core-media?/alloc", "objc2-foundation/alloc", "objc2-quartz-core?/alloc"] +std = ["alloc"] +alloc = [] bitflags = ["dep:bitflags", "objc2-app-kit?/bitflags", "objc2-av-foundation?/bitflags", "objc2-core-foundation?/bitflags", "objc2-core-media?/bitflags", "objc2-foundation/bitflags", "objc2-quartz-core?/bitflags"] block2 = ["dep:block2", "objc2-app-kit?/block2", "objc2-av-foundation?/block2", "objc2-core-foundation?/block2", "objc2-core-media?/block2", "objc2-foundation/block2", "objc2-quartz-core?/block2"] objc2-app-kit = ["dep:objc2-app-kit"] diff --git a/framework-crates/objc2-avf-audio/Cargo.toml b/framework-crates/objc2-avf-audio/Cargo.toml index 64dd9c335..3cb093c28 100644 --- a/framework-crates/objc2-avf-audio/Cargo.toml +++ b/framework-crates/objc2-avf-audio/Cargo.toml @@ -43,8 +43,8 @@ targets = [ default = ["std"] # Currently not possible to turn off, put here for forwards compatibility. -std = ["alloc", "bitflags?/std", "block2?/std", "objc2/std", "objc2-audio-toolbox?/std", "objc2-core-audio-types?/std", "objc2-core-media?/std", "objc2-foundation/std"] -alloc = ["block2?/alloc", "objc2/alloc", "objc2-audio-toolbox?/alloc", "objc2-core-audio-types?/alloc", "objc2-core-media?/alloc", "objc2-foundation/alloc"] +std = ["alloc"] +alloc = [] bitflags = ["dep:bitflags", "objc2-audio-toolbox?/bitflags", "objc2-core-audio-types?/bitflags", "objc2-core-media?/bitflags", "objc2-foundation/bitflags"] block2 = ["dep:block2", "objc2-audio-toolbox?/block2", "objc2-core-media?/block2", "objc2-foundation/block2"] objc2-audio-toolbox = ["dep:objc2-audio-toolbox"] diff --git a/framework-crates/objc2-background-assets/Cargo.toml b/framework-crates/objc2-background-assets/Cargo.toml index e2261c92b..fc491209d 100644 --- a/framework-crates/objc2-background-assets/Cargo.toml +++ b/framework-crates/objc2-background-assets/Cargo.toml @@ -35,8 +35,8 @@ targets = [ default = ["std"] # Currently not possible to turn off, put here for forwards compatibility. -std = ["alloc", "block2?/std", "objc2/std", "objc2-foundation/std"] -alloc = ["block2?/alloc", "objc2/alloc", "objc2-foundation/alloc"] +std = ["alloc"] +alloc = [] block2 = ["dep:block2", "objc2-foundation/block2"] BAAppExtensionInfo = [ diff --git a/framework-crates/objc2-background-tasks/Cargo.toml b/framework-crates/objc2-background-tasks/Cargo.toml index 26ba2ebcd..56620a582 100644 --- a/framework-crates/objc2-background-tasks/Cargo.toml +++ b/framework-crates/objc2-background-tasks/Cargo.toml @@ -35,8 +35,8 @@ targets = [ default = ["std"] # Currently not possible to turn off, put here for forwards compatibility. -std = ["alloc", "block2?/std", "objc2/std", "objc2-foundation/std"] -alloc = ["block2?/alloc", "objc2/alloc", "objc2-foundation/alloc"] +std = ["alloc"] +alloc = [] block2 = ["dep:block2", "objc2-foundation/block2"] BGDefines = [] diff --git a/framework-crates/objc2-business-chat/Cargo.toml b/framework-crates/objc2-business-chat/Cargo.toml index c47f4d2b8..845c0454f 100644 --- a/framework-crates/objc2-business-chat/Cargo.toml +++ b/framework-crates/objc2-business-chat/Cargo.toml @@ -38,8 +38,8 @@ targets = [ default = ["std"] # Currently not possible to turn off, put here for forwards compatibility. -std = ["alloc", "objc2/std", "objc2-app-kit/std", "objc2-core-foundation?/std", "objc2-foundation/std"] -alloc = ["objc2/alloc", "objc2-app-kit/alloc", "objc2-core-foundation?/alloc", "objc2-foundation/alloc"] +std = ["alloc"] +alloc = [] objc2-core-foundation = ["dep:objc2-core-foundation", "objc2-app-kit/objc2-core-foundation", "objc2-foundation/objc2-core-foundation"] BCChatAction = [ diff --git a/framework-crates/objc2-call-kit/Cargo.toml b/framework-crates/objc2-call-kit/Cargo.toml index dc1487819..618d9291c 100644 --- a/framework-crates/objc2-call-kit/Cargo.toml +++ b/framework-crates/objc2-call-kit/Cargo.toml @@ -37,8 +37,8 @@ targets = [ default = ["std"] # Currently not possible to turn off, put here for forwards compatibility. -std = ["alloc", "block2?/std", "objc2/std", "objc2-avf-audio?/std", "objc2-foundation/std"] -alloc = ["block2?/alloc", "objc2/alloc", "objc2-avf-audio?/alloc", "objc2-foundation/alloc"] +std = ["alloc"] +alloc = [] block2 = ["dep:block2", "objc2-avf-audio?/block2", "objc2-foundation/block2"] objc2-avf-audio = ["dep:objc2-avf-audio"] diff --git a/framework-crates/objc2-class-kit/Cargo.toml b/framework-crates/objc2-class-kit/Cargo.toml index 506080f24..92a88deaf 100644 --- a/framework-crates/objc2-class-kit/Cargo.toml +++ b/framework-crates/objc2-class-kit/Cargo.toml @@ -36,8 +36,8 @@ targets = [ default = ["std"] # Currently not possible to turn off, put here for forwards compatibility. -std = ["alloc", "block2?/std", "objc2/std", "objc2-core-graphics?/std", "objc2-foundation/std"] -alloc = ["block2?/alloc", "objc2/alloc", "objc2-core-graphics?/alloc", "objc2-foundation/alloc"] +std = ["alloc"] +alloc = [] block2 = ["dep:block2", "objc2-core-graphics?/block2", "objc2-foundation/block2"] objc2-core-graphics = ["dep:objc2-core-graphics"] diff --git a/framework-crates/objc2-cloud-kit/Cargo.toml b/framework-crates/objc2-cloud-kit/Cargo.toml index 6d33b7e8f..aff9bf69e 100644 --- a/framework-crates/objc2-cloud-kit/Cargo.toml +++ b/framework-crates/objc2-cloud-kit/Cargo.toml @@ -39,8 +39,8 @@ targets = [ default = ["std"] # Currently not possible to turn off, put here for forwards compatibility. -std = ["alloc", "bitflags?/std", "block2?/std", "objc2/std", "objc2-core-location?/std", "objc2-foundation/std"] -alloc = ["block2?/alloc", "objc2/alloc", "objc2-core-location?/alloc", "objc2-foundation/alloc"] +std = ["alloc"] +alloc = [] bitflags = ["dep:bitflags", "objc2-foundation/bitflags"] block2 = ["dep:block2", "objc2-core-location?/block2", "objc2-foundation/block2"] objc2-core-location = ["dep:objc2-core-location"] diff --git a/framework-crates/objc2-contacts-ui/Cargo.toml b/framework-crates/objc2-contacts-ui/Cargo.toml index e11f2816f..e8d438e28 100644 --- a/framework-crates/objc2-contacts-ui/Cargo.toml +++ b/framework-crates/objc2-contacts-ui/Cargo.toml @@ -39,8 +39,8 @@ targets = [ default = ["std"] # Currently not possible to turn off, put here for forwards compatibility. -std = ["alloc", "objc2/std", "objc2-app-kit?/std", "objc2-contacts?/std", "objc2-core-foundation?/std", "objc2-foundation/std"] -alloc = ["objc2/alloc", "objc2-app-kit?/alloc", "objc2-contacts?/alloc", "objc2-core-foundation?/alloc", "objc2-foundation/alloc"] +std = ["alloc"] +alloc = [] objc2-app-kit = ["dep:objc2-app-kit"] objc2-contacts = ["dep:objc2-contacts"] objc2-core-foundation = ["dep:objc2-core-foundation", "objc2-app-kit?/objc2-core-foundation", "objc2-foundation/objc2-core-foundation"] diff --git a/framework-crates/objc2-contacts/Cargo.toml b/framework-crates/objc2-contacts/Cargo.toml index e068505a9..ada027bff 100644 --- a/framework-crates/objc2-contacts/Cargo.toml +++ b/framework-crates/objc2-contacts/Cargo.toml @@ -36,8 +36,8 @@ targets = [ default = ["std"] # Currently not possible to turn off, put here for forwards compatibility. -std = ["alloc", "block2?/std", "objc2/std", "objc2-foundation/std"] -alloc = ["block2?/alloc", "objc2/alloc", "objc2-foundation/alloc"] +std = ["alloc"] +alloc = [] block2 = ["dep:block2", "objc2-foundation/block2"] CNChangeHistoryEvent = [ diff --git a/framework-crates/objc2-core-audio-types/Cargo.toml b/framework-crates/objc2-core-audio-types/Cargo.toml index 27a7d4724..7ec8d8b19 100644 --- a/framework-crates/objc2-core-audio-types/Cargo.toml +++ b/framework-crates/objc2-core-audio-types/Cargo.toml @@ -36,8 +36,8 @@ targets = [ default = ["std"] # Currently not possible to turn off, put here for forwards compatibility. -std = ["alloc", "bitflags?/std", "objc2?/std"] -alloc = ["objc2?/alloc"] +std = ["alloc"] +alloc = [] bitflags = ["dep:bitflags"] objc2 = ["dep:objc2"] diff --git a/framework-crates/objc2-core-bluetooth/Cargo.toml b/framework-crates/objc2-core-bluetooth/Cargo.toml index c83199edf..8b1cb2c2e 100644 --- a/framework-crates/objc2-core-bluetooth/Cargo.toml +++ b/framework-crates/objc2-core-bluetooth/Cargo.toml @@ -38,8 +38,8 @@ targets = [ default = ["std"] # Currently not possible to turn off, put here for forwards compatibility. -std = ["alloc", "bitflags?/std", "objc2/std", "objc2-core-foundation?/std", "objc2-foundation/std"] -alloc = ["objc2/alloc", "objc2-core-foundation?/alloc", "objc2-foundation/alloc"] +std = ["alloc"] +alloc = [] bitflags = ["dep:bitflags", "objc2-core-foundation?/bitflags", "objc2-foundation/bitflags"] objc2-core-foundation = ["dep:objc2-core-foundation", "objc2-foundation/objc2-core-foundation"] diff --git a/framework-crates/objc2-core-data/Cargo.toml b/framework-crates/objc2-core-data/Cargo.toml index 19113a23c..cddf61115 100644 --- a/framework-crates/objc2-core-data/Cargo.toml +++ b/framework-crates/objc2-core-data/Cargo.toml @@ -39,8 +39,8 @@ targets = [ default = ["std"] # Currently not possible to turn off, put here for forwards compatibility. -std = ["alloc", "bitflags?/std", "block2?/std", "objc2/std", "objc2-cloud-kit?/std", "objc2-foundation/std"] -alloc = ["block2?/alloc", "objc2/alloc", "objc2-cloud-kit?/alloc", "objc2-foundation/alloc"] +std = ["alloc"] +alloc = [] apple = [] gnustep-1-7 = [] gnustep-1-8 = [] diff --git a/framework-crates/objc2-core-foundation/Cargo.toml b/framework-crates/objc2-core-foundation/Cargo.toml index 5e1a6f0e7..41d4f2996 100644 --- a/framework-crates/objc2-core-foundation/Cargo.toml +++ b/framework-crates/objc2-core-foundation/Cargo.toml @@ -40,8 +40,8 @@ targets = [ default = ["std"] # Currently not possible to turn off, put here for forwards compatibility. -std = ["alloc", "bitflags?/std", "block2?/std", "libc?/std", "objc2?/std"] -alloc = ["block2?/alloc", "objc2?/alloc"] +std = ["alloc"] +alloc = [] bitflags = ["dep:bitflags"] block2 = ["dep:block2"] libc = ["dep:libc"] diff --git a/framework-crates/objc2-core-graphics/Cargo.toml b/framework-crates/objc2-core-graphics/Cargo.toml index 0c70c5f22..149b087ea 100644 --- a/framework-crates/objc2-core-graphics/Cargo.toml +++ b/framework-crates/objc2-core-graphics/Cargo.toml @@ -43,8 +43,8 @@ targets = [ default = ["std"] # Currently not possible to turn off, put here for forwards compatibility. -std = ["alloc", "bitflags?/std", "block2?/std", "libc?/std", "objc2?/std", "objc2-core-foundation?/std", "objc2-io-surface?/std", "objc2-metal?/std"] -alloc = ["block2?/alloc", "objc2?/alloc", "objc2-core-foundation?/alloc", "objc2-io-surface?/alloc", "objc2-metal?/alloc"] +std = ["alloc"] +alloc = [] bitflags = ["dep:bitflags", "objc2-core-foundation?/bitflags", "objc2-io-surface?/bitflags", "objc2-metal?/bitflags"] block2 = ["dep:block2", "objc2-core-foundation?/block2", "objc2-metal?/block2"] libc = ["dep:libc", "objc2-core-foundation?/libc", "objc2-io-surface?/libc"] diff --git a/framework-crates/objc2-core-image/Cargo.toml b/framework-crates/objc2-core-image/Cargo.toml index 30f1480a0..c5f57f266 100644 --- a/framework-crates/objc2-core-image/Cargo.toml +++ b/framework-crates/objc2-core-image/Cargo.toml @@ -42,8 +42,8 @@ targets = [ default = ["std"] # Currently not possible to turn off, put here for forwards compatibility. -std = ["alloc", "block2?/std", "objc2/std", "objc2-core-foundation?/std", "objc2-core-graphics?/std", "objc2-core-ml?/std", "objc2-core-video?/std", "objc2-foundation/std", "objc2-io-surface?/std", "objc2-metal?/std"] -alloc = ["block2?/alloc", "objc2/alloc", "objc2-core-foundation?/alloc", "objc2-core-graphics?/alloc", "objc2-core-ml?/alloc", "objc2-core-video?/alloc", "objc2-foundation/alloc", "objc2-io-surface?/alloc", "objc2-metal?/alloc"] +std = ["alloc"] +alloc = [] apple = [] gnustep-1-7 = ["objc2/gnustep-1-7", "block2?/gnustep-1-7", "objc2-foundation/gnustep-1-7"] gnustep-1-8 = ["gnustep-1-7", "objc2/gnustep-1-8", "block2?/gnustep-1-8", "objc2-foundation/gnustep-1-8"] diff --git a/framework-crates/objc2-core-location/Cargo.toml b/framework-crates/objc2-core-location/Cargo.toml index 849018324..01f3e6603 100644 --- a/framework-crates/objc2-core-location/Cargo.toml +++ b/framework-crates/objc2-core-location/Cargo.toml @@ -40,8 +40,8 @@ targets = [ default = ["std"] # Currently not possible to turn off, put here for forwards compatibility. -std = ["alloc", "block2?/std", "objc2/std", "objc2-contacts?/std", "objc2-foundation/std"] -alloc = ["block2?/alloc", "objc2/alloc", "objc2-contacts?/alloc", "objc2-foundation/alloc"] +std = ["alloc"] +alloc = [] block2 = ["dep:block2", "objc2-contacts?/block2", "objc2-foundation/block2"] objc2-contacts = ["dep:objc2-contacts"] diff --git a/framework-crates/objc2-core-media/Cargo.toml b/framework-crates/objc2-core-media/Cargo.toml index eef0c0ed1..45b5e1807 100644 --- a/framework-crates/objc2-core-media/Cargo.toml +++ b/framework-crates/objc2-core-media/Cargo.toml @@ -40,8 +40,8 @@ targets = [ default = ["std"] # Currently not possible to turn off, put here for forwards compatibility. -std = ["alloc", "bitflags?/std", "block2?/std", "objc2?/std", "objc2-core-audio-types?/std", "objc2-core-foundation?/std", "objc2-core-video?/std"] -alloc = ["block2?/alloc", "objc2?/alloc", "objc2-core-audio-types?/alloc", "objc2-core-foundation?/alloc", "objc2-core-video?/alloc"] +std = ["alloc"] +alloc = [] bitflags = ["dep:bitflags", "objc2-core-audio-types?/bitflags", "objc2-core-foundation?/bitflags", "objc2-core-video?/bitflags"] block2 = ["dep:block2", "objc2-core-foundation?/block2", "objc2-core-video?/block2"] objc2 = ["dep:objc2", "objc2-core-audio-types?/objc2", "objc2-core-foundation?/objc2", "objc2-core-video?/objc2"] diff --git a/framework-crates/objc2-core-ml/Cargo.toml b/framework-crates/objc2-core-ml/Cargo.toml index 70927b0b2..7d5d7a7b7 100644 --- a/framework-crates/objc2-core-ml/Cargo.toml +++ b/framework-crates/objc2-core-ml/Cargo.toml @@ -43,8 +43,8 @@ targets = [ default = ["std"] # Currently not possible to turn off, put here for forwards compatibility. -std = ["alloc", "bitflags?/std", "block2?/std", "objc2/std", "objc2-core-graphics?/std", "objc2-core-video?/std", "objc2-foundation/std", "objc2-metal?/std"] -alloc = ["block2?/alloc", "objc2/alloc", "objc2-core-graphics?/alloc", "objc2-core-video?/alloc", "objc2-foundation/alloc", "objc2-metal?/alloc"] +std = ["alloc"] +alloc = [] bitflags = ["dep:bitflags", "objc2-core-graphics?/bitflags", "objc2-core-video?/bitflags", "objc2-foundation/bitflags", "objc2-metal?/bitflags"] block2 = ["dep:block2", "objc2-core-graphics?/block2", "objc2-core-video?/block2", "objc2-foundation/block2", "objc2-metal?/block2"] objc2-core-graphics = ["dep:objc2-core-graphics", "objc2-core-video?/objc2-core-graphics"] diff --git a/framework-crates/objc2-core-motion/Cargo.toml b/framework-crates/objc2-core-motion/Cargo.toml index f8c93077b..f177e7804 100644 --- a/framework-crates/objc2-core-motion/Cargo.toml +++ b/framework-crates/objc2-core-motion/Cargo.toml @@ -38,8 +38,8 @@ targets = [ default = ["std"] # Currently not possible to turn off, put here for forwards compatibility. -std = ["alloc", "bitflags?/std", "block2?/std", "objc2/std", "objc2-core-location?/std", "objc2-foundation/std"] -alloc = ["block2?/alloc", "objc2/alloc", "objc2-core-location?/alloc", "objc2-foundation/alloc"] +std = ["alloc"] +alloc = [] bitflags = ["dep:bitflags", "objc2-foundation/bitflags"] block2 = ["dep:block2", "objc2-core-location?/block2", "objc2-foundation/block2"] objc2-core-location = ["dep:objc2-core-location"] diff --git a/framework-crates/objc2-core-text/Cargo.toml b/framework-crates/objc2-core-text/Cargo.toml index bd169cf00..c3f84f38d 100644 --- a/framework-crates/objc2-core-text/Cargo.toml +++ b/framework-crates/objc2-core-text/Cargo.toml @@ -40,8 +40,8 @@ targets = [ default = ["std"] # Currently not possible to turn off, put here for forwards compatibility. -std = ["alloc", "bitflags?/std", "block2?/std", "libc?/std", "objc2?/std", "objc2-core-foundation?/std", "objc2-core-graphics?/std"] -alloc = ["block2?/alloc", "objc2?/alloc", "objc2-core-foundation?/alloc", "objc2-core-graphics?/alloc"] +std = ["alloc"] +alloc = [] bitflags = ["dep:bitflags", "objc2-core-foundation?/bitflags", "objc2-core-graphics?/bitflags"] block2 = ["dep:block2", "objc2-core-foundation?/block2", "objc2-core-graphics?/block2"] libc = ["dep:libc", "objc2-core-foundation?/libc", "objc2-core-graphics?/libc"] diff --git a/framework-crates/objc2-core-video/Cargo.toml b/framework-crates/objc2-core-video/Cargo.toml index 5adc7f745..583677ff7 100644 --- a/framework-crates/objc2-core-video/Cargo.toml +++ b/framework-crates/objc2-core-video/Cargo.toml @@ -43,8 +43,8 @@ targets = [ default = ["std"] # Currently not possible to turn off, put here for forwards compatibility. -std = ["alloc", "bitflags?/std", "block2?/std", "objc2?/std", "objc2-core-foundation?/std", "objc2-core-graphics?/std", "objc2-io-surface?/std", "objc2-metal?/std"] -alloc = ["block2?/alloc", "objc2?/alloc", "objc2-core-foundation?/alloc", "objc2-core-graphics?/alloc", "objc2-io-surface?/alloc", "objc2-metal?/alloc"] +std = ["alloc"] +alloc = [] bitflags = ["dep:bitflags", "objc2-core-foundation?/bitflags", "objc2-core-graphics?/bitflags", "objc2-io-surface?/bitflags", "objc2-metal?/bitflags"] block2 = ["dep:block2", "objc2-core-foundation?/block2", "objc2-core-graphics?/block2", "objc2-metal?/block2"] objc2 = ["dep:objc2", "objc2-core-foundation?/objc2", "objc2-core-graphics?/objc2", "objc2-io-surface?/objc2"] diff --git a/framework-crates/objc2-core-wlan/Cargo.toml b/framework-crates/objc2-core-wlan/Cargo.toml index 3b75d2680..6d2e5d176 100644 --- a/framework-crates/objc2-core-wlan/Cargo.toml +++ b/framework-crates/objc2-core-wlan/Cargo.toml @@ -35,8 +35,8 @@ targets = [ default = ["std"] # Currently not possible to turn off, put here for forwards compatibility. -std = ["alloc", "bitflags?/std", "objc2/std", "objc2-core-foundation?/std", "objc2-foundation/std"] -alloc = ["objc2/alloc", "objc2-core-foundation?/alloc", "objc2-foundation/alloc"] +std = ["alloc"] +alloc = [] bitflags = ["dep:bitflags", "objc2-core-foundation?/bitflags", "objc2-foundation/bitflags"] objc2-core-foundation = ["dep:objc2-core-foundation", "objc2-foundation/objc2-core-foundation"] diff --git a/framework-crates/objc2-data-detection/Cargo.toml b/framework-crates/objc2-data-detection/Cargo.toml index e91facbf3..92b4f8848 100644 --- a/framework-crates/objc2-data-detection/Cargo.toml +++ b/framework-crates/objc2-data-detection/Cargo.toml @@ -36,8 +36,8 @@ targets = [ default = ["std"] # Currently not possible to turn off, put here for forwards compatibility. -std = ["alloc", "objc2/std", "objc2-foundation/std"] -alloc = ["objc2/alloc", "objc2-foundation/alloc"] +std = ["alloc"] +alloc = [] DDMatch = [ "objc2-foundation/NSDate", diff --git a/framework-crates/objc2-device-check/Cargo.toml b/framework-crates/objc2-device-check/Cargo.toml index 9996023b2..957d0de5e 100644 --- a/framework-crates/objc2-device-check/Cargo.toml +++ b/framework-crates/objc2-device-check/Cargo.toml @@ -37,8 +37,8 @@ targets = [ default = ["std"] # Currently not possible to turn off, put here for forwards compatibility. -std = ["alloc", "block2?/std", "objc2/std", "objc2-foundation/std"] -alloc = ["block2?/alloc", "objc2/alloc", "objc2-foundation/alloc"] +std = ["alloc"] +alloc = [] block2 = ["dep:block2", "objc2-foundation/block2"] DCAppAttestService = [ diff --git a/framework-crates/objc2-event-kit-ui/Cargo.toml b/framework-crates/objc2-event-kit-ui/Cargo.toml index 216a3e26b..dbd2ab4e0 100644 --- a/framework-crates/objc2-event-kit-ui/Cargo.toml +++ b/framework-crates/objc2-event-kit-ui/Cargo.toml @@ -35,8 +35,8 @@ targets = [ default = ["std"] # Currently not possible to turn off, put here for forwards compatibility. -std = ["alloc", "objc2/std", "objc2-event-kit?/std", "objc2-foundation/std", "objc2-ui-kit?/std"] -alloc = ["objc2/alloc", "objc2-event-kit?/alloc", "objc2-foundation/alloc", "objc2-ui-kit?/alloc"] +std = ["alloc"] +alloc = [] objc2-event-kit = ["dep:objc2-event-kit"] objc2-ui-kit = ["dep:objc2-ui-kit"] diff --git a/framework-crates/objc2-event-kit/Cargo.toml b/framework-crates/objc2-event-kit/Cargo.toml index 4c8320ad2..c0ef94f65 100644 --- a/framework-crates/objc2-event-kit/Cargo.toml +++ b/framework-crates/objc2-event-kit/Cargo.toml @@ -43,8 +43,8 @@ targets = [ default = ["std"] # Currently not possible to turn off, put here for forwards compatibility. -std = ["alloc", "bitflags?/std", "block2?/std", "objc2/std", "objc2-app-kit?/std", "objc2-core-graphics?/std", "objc2-core-location?/std", "objc2-foundation/std", "objc2-map-kit?/std"] -alloc = ["block2?/alloc", "objc2/alloc", "objc2-app-kit?/alloc", "objc2-core-graphics?/alloc", "objc2-core-location?/alloc", "objc2-foundation/alloc", "objc2-map-kit?/alloc"] +std = ["alloc"] +alloc = [] bitflags = ["dep:bitflags", "objc2-app-kit?/bitflags", "objc2-core-graphics?/bitflags", "objc2-foundation/bitflags", "objc2-map-kit?/bitflags"] block2 = ["dep:block2", "objc2-app-kit?/block2", "objc2-core-graphics?/block2", "objc2-core-location?/block2", "objc2-foundation/block2", "objc2-map-kit?/block2"] objc2-app-kit = ["dep:objc2-app-kit", "objc2-map-kit?/objc2-app-kit"] diff --git a/framework-crates/objc2-exception-handling/Cargo.toml b/framework-crates/objc2-exception-handling/Cargo.toml index 290dac6b5..f85e5d02e 100644 --- a/framework-crates/objc2-exception-handling/Cargo.toml +++ b/framework-crates/objc2-exception-handling/Cargo.toml @@ -33,8 +33,8 @@ targets = [ default = ["std"] # Currently not possible to turn off, put here for forwards compatibility. -std = ["alloc", "objc2/std", "objc2-foundation/std"] -alloc = ["objc2/alloc", "objc2-foundation/alloc"] +std = ["alloc"] +alloc = [] ExceptionHandlingDefines = [] NSExceptionHandler = [ diff --git a/framework-crates/objc2-extension-kit/Cargo.toml b/framework-crates/objc2-extension-kit/Cargo.toml index f258a62ec..a4e41abc4 100644 --- a/framework-crates/objc2-extension-kit/Cargo.toml +++ b/framework-crates/objc2-extension-kit/Cargo.toml @@ -39,8 +39,8 @@ targets = [ default = ["std"] # Currently not possible to turn off, put here for forwards compatibility. -std = ["alloc", "objc2/std", "objc2-app-kit?/std", "objc2-foundation/std"] -alloc = ["objc2/alloc", "objc2-app-kit?/alloc", "objc2-foundation/alloc"] +std = ["alloc"] +alloc = [] objc2-app-kit = ["dep:objc2-app-kit"] EXAppExtensionBrowserViewController = [ diff --git a/framework-crates/objc2-external-accessory/Cargo.toml b/framework-crates/objc2-external-accessory/Cargo.toml index 5f768d1fd..7987dc8cb 100644 --- a/framework-crates/objc2-external-accessory/Cargo.toml +++ b/framework-crates/objc2-external-accessory/Cargo.toml @@ -37,8 +37,8 @@ targets = [ default = ["std"] # Currently not possible to turn off, put here for forwards compatibility. -std = ["alloc", "bitflags?/std", "block2?/std", "objc2/std", "objc2-foundation/std"] -alloc = ["block2?/alloc", "objc2/alloc", "objc2-foundation/alloc"] +std = ["alloc"] +alloc = [] bitflags = ["dep:bitflags", "objc2-foundation/bitflags"] block2 = ["dep:block2", "objc2-foundation/block2"] diff --git a/framework-crates/objc2-file-provider-ui/Cargo.toml b/framework-crates/objc2-file-provider-ui/Cargo.toml index 795651d2e..90c613075 100644 --- a/framework-crates/objc2-file-provider-ui/Cargo.toml +++ b/framework-crates/objc2-file-provider-ui/Cargo.toml @@ -39,8 +39,8 @@ targets = [ default = ["std"] # Currently not possible to turn off, put here for forwards compatibility. -std = ["alloc", "block2?/std", "objc2/std", "objc2-app-kit?/std", "objc2-file-provider/std", "objc2-foundation/std"] -alloc = ["block2?/alloc", "objc2/alloc", "objc2-app-kit?/alloc", "objc2-file-provider/alloc", "objc2-foundation/alloc"] +std = ["alloc"] +alloc = [] block2 = ["dep:block2", "objc2-app-kit?/block2", "objc2-file-provider/block2", "objc2-foundation/block2"] objc2-app-kit = ["dep:objc2-app-kit"] diff --git a/framework-crates/objc2-file-provider/Cargo.toml b/framework-crates/objc2-file-provider/Cargo.toml index 32b70da75..6d29fbb81 100644 --- a/framework-crates/objc2-file-provider/Cargo.toml +++ b/framework-crates/objc2-file-provider/Cargo.toml @@ -37,8 +37,8 @@ targets = [ default = ["std"] # Currently not possible to turn off, put here for forwards compatibility. -std = ["alloc", "bitflags?/std", "block2?/std", "objc2/std", "objc2-core-foundation?/std", "objc2-foundation/std", "objc2-uniform-type-identifiers?/std"] -alloc = ["block2?/alloc", "objc2/alloc", "objc2-core-foundation?/alloc", "objc2-foundation/alloc", "objc2-uniform-type-identifiers?/alloc"] +std = ["alloc"] +alloc = [] bitflags = ["dep:bitflags", "objc2-core-foundation?/bitflags", "objc2-foundation/bitflags"] block2 = ["dep:block2", "objc2-core-foundation?/block2", "objc2-foundation/block2", "objc2-uniform-type-identifiers?/block2"] objc2-core-foundation = ["dep:objc2-core-foundation", "objc2-foundation/objc2-core-foundation"] diff --git a/framework-crates/objc2-finder-sync/Cargo.toml b/framework-crates/objc2-finder-sync/Cargo.toml index 457f2479a..a01203048 100644 --- a/framework-crates/objc2-finder-sync/Cargo.toml +++ b/framework-crates/objc2-finder-sync/Cargo.toml @@ -34,8 +34,8 @@ targets = [ default = ["std"] # Currently not possible to turn off, put here for forwards compatibility. -std = ["alloc", "block2?/std", "objc2/std", "objc2-app-kit?/std", "objc2-foundation/std"] -alloc = ["block2?/alloc", "objc2/alloc", "objc2-app-kit?/alloc", "objc2-foundation/alloc"] +std = ["alloc"] +alloc = [] block2 = ["dep:block2", "objc2-app-kit?/block2", "objc2-foundation/block2"] objc2-app-kit = ["dep:objc2-app-kit"] diff --git a/framework-crates/objc2-foundation/Cargo.toml b/framework-crates/objc2-foundation/Cargo.toml index 5c4d38623..20aad5a96 100644 --- a/framework-crates/objc2-foundation/Cargo.toml +++ b/framework-crates/objc2-foundation/Cargo.toml @@ -41,8 +41,8 @@ targets = [ default = ["std"] # Currently not possible to turn off, put here for forwards compatibility. -std = ["alloc", "bitflags?/std", "block2?/std", "libc?/std", "objc2/std", "objc2-core-foundation?/std"] -alloc = ["block2?/alloc", "objc2/alloc", "objc2-core-foundation?/alloc"] +std = ["alloc"] +alloc = [] apple = [] gnustep-1-7 = ["objc2/gnustep-1-7", "block2?/gnustep-1-7"] gnustep-1-8 = ["gnustep-1-7", "objc2/gnustep-1-8", "block2?/gnustep-1-8"] diff --git a/framework-crates/objc2-game-controller/Cargo.toml b/framework-crates/objc2-game-controller/Cargo.toml index f67510cb5..f44395e08 100644 --- a/framework-crates/objc2-game-controller/Cargo.toml +++ b/framework-crates/objc2-game-controller/Cargo.toml @@ -41,8 +41,8 @@ targets = [ default = ["std"] # Currently not possible to turn off, put here for forwards compatibility. -std = ["alloc", "bitflags?/std", "block2?/std", "objc2/std", "objc2-app-kit?/std", "objc2-core-foundation?/std", "objc2-foundation/std"] -alloc = ["block2?/alloc", "objc2/alloc", "objc2-app-kit?/alloc", "objc2-core-foundation?/alloc", "objc2-foundation/alloc"] +std = ["alloc"] +alloc = [] bitflags = ["dep:bitflags", "objc2-app-kit?/bitflags", "objc2-core-foundation?/bitflags", "objc2-foundation/bitflags"] block2 = ["dep:block2", "objc2-app-kit?/block2", "objc2-core-foundation?/block2", "objc2-foundation/block2"] objc2-app-kit = ["dep:objc2-app-kit"] diff --git a/framework-crates/objc2-game-kit/Cargo.toml b/framework-crates/objc2-game-kit/Cargo.toml index 5f65116c0..4a6e716ab 100644 --- a/framework-crates/objc2-game-kit/Cargo.toml +++ b/framework-crates/objc2-game-kit/Cargo.toml @@ -41,8 +41,8 @@ targets = [ default = ["std"] # Currently not possible to turn off, put here for forwards compatibility. -std = ["alloc", "block2?/std", "objc2/std", "objc2-app-kit?/std", "objc2-core-foundation?/std", "objc2-foundation/std"] -alloc = ["block2?/alloc", "objc2/alloc", "objc2-app-kit?/alloc", "objc2-core-foundation?/alloc", "objc2-foundation/alloc"] +std = ["alloc"] +alloc = [] block2 = ["dep:block2", "objc2-app-kit?/block2", "objc2-core-foundation?/block2", "objc2-foundation/block2"] objc2-app-kit = ["dep:objc2-app-kit"] objc2-core-foundation = ["dep:objc2-core-foundation", "objc2-app-kit?/objc2-core-foundation", "objc2-foundation/objc2-core-foundation"] diff --git a/framework-crates/objc2-health-kit/Cargo.toml b/framework-crates/objc2-health-kit/Cargo.toml index 1cece3d23..a36f8657d 100644 --- a/framework-crates/objc2-health-kit/Cargo.toml +++ b/framework-crates/objc2-health-kit/Cargo.toml @@ -39,8 +39,8 @@ targets = [ default = ["std"] # Currently not possible to turn off, put here for forwards compatibility. -std = ["alloc", "bitflags?/std", "block2?/std", "objc2/std", "objc2-core-location?/std", "objc2-foundation/std", "objc2-uniform-type-identifiers?/std"] -alloc = ["block2?/alloc", "objc2/alloc", "objc2-core-location?/alloc", "objc2-foundation/alloc", "objc2-uniform-type-identifiers?/alloc"] +std = ["alloc"] +alloc = [] bitflags = ["dep:bitflags", "objc2-foundation/bitflags"] block2 = ["dep:block2", "objc2-core-location?/block2", "objc2-foundation/block2", "objc2-uniform-type-identifiers?/block2"] objc2-core-location = ["dep:objc2-core-location"] diff --git a/framework-crates/objc2-identity-lookup/Cargo.toml b/framework-crates/objc2-identity-lookup/Cargo.toml index 2c40cbb96..57b7380dd 100644 --- a/framework-crates/objc2-identity-lookup/Cargo.toml +++ b/framework-crates/objc2-identity-lookup/Cargo.toml @@ -35,8 +35,8 @@ targets = [ default = ["std"] # Currently not possible to turn off, put here for forwards compatibility. -std = ["alloc", "block2?/std", "objc2/std", "objc2-foundation/std"] -alloc = ["block2?/alloc", "objc2/alloc", "objc2-foundation/alloc"] +std = ["alloc"] +alloc = [] block2 = ["dep:block2", "objc2-foundation/block2"] ILBase = [] diff --git a/framework-crates/objc2-input-method-kit/Cargo.toml b/framework-crates/objc2-input-method-kit/Cargo.toml index 99fb38b73..d5df37a3c 100644 --- a/framework-crates/objc2-input-method-kit/Cargo.toml +++ b/framework-crates/objc2-input-method-kit/Cargo.toml @@ -34,8 +34,8 @@ targets = [ default = ["std"] # Currently not possible to turn off, put here for forwards compatibility. -std = ["alloc", "objc2/std", "objc2-app-kit?/std", "objc2-core-foundation?/std", "objc2-foundation/std"] -alloc = ["objc2/alloc", "objc2-app-kit?/alloc", "objc2-core-foundation?/alloc", "objc2-foundation/alloc"] +std = ["alloc"] +alloc = [] objc2-app-kit = ["dep:objc2-app-kit"] objc2-core-foundation = ["dep:objc2-core-foundation", "objc2-app-kit?/objc2-core-foundation", "objc2-foundation/objc2-core-foundation"] diff --git a/framework-crates/objc2-io-surface/Cargo.toml b/framework-crates/objc2-io-surface/Cargo.toml index 3b57b7d55..39a74b198 100644 --- a/framework-crates/objc2-io-surface/Cargo.toml +++ b/framework-crates/objc2-io-surface/Cargo.toml @@ -38,8 +38,8 @@ targets = [ default = ["std"] # Currently not possible to turn off, put here for forwards compatibility. -std = ["alloc", "bitflags?/std", "libc?/std", "objc2?/std", "objc2-core-foundation?/std", "objc2-foundation?/std"] -alloc = ["objc2?/alloc", "objc2-core-foundation?/alloc", "objc2-foundation?/alloc"] +std = ["alloc"] +alloc = [] bitflags = ["dep:bitflags", "objc2-core-foundation?/bitflags", "objc2-foundation?/bitflags"] libc = ["dep:libc", "objc2-core-foundation?/libc", "objc2-foundation?/libc"] objc2 = ["dep:objc2", "objc2-core-foundation?/objc2"] diff --git a/framework-crates/objc2-link-presentation/Cargo.toml b/framework-crates/objc2-link-presentation/Cargo.toml index 47afdf601..2e79cc407 100644 --- a/framework-crates/objc2-link-presentation/Cargo.toml +++ b/framework-crates/objc2-link-presentation/Cargo.toml @@ -40,8 +40,8 @@ targets = [ default = ["std"] # Currently not possible to turn off, put here for forwards compatibility. -std = ["alloc", "block2?/std", "objc2/std", "objc2-app-kit?/std", "objc2-core-foundation?/std", "objc2-foundation/std"] -alloc = ["block2?/alloc", "objc2/alloc", "objc2-app-kit?/alloc", "objc2-core-foundation?/alloc", "objc2-foundation/alloc"] +std = ["alloc"] +alloc = [] block2 = ["dep:block2", "objc2-app-kit?/block2", "objc2-core-foundation?/block2", "objc2-foundation/block2"] objc2-app-kit = ["dep:objc2-app-kit"] objc2-core-foundation = ["dep:objc2-core-foundation", "objc2-app-kit?/objc2-core-foundation", "objc2-foundation/objc2-core-foundation"] diff --git a/framework-crates/objc2-local-authentication-embedded-ui/Cargo.toml b/framework-crates/objc2-local-authentication-embedded-ui/Cargo.toml index d576e8f43..57ab80df5 100644 --- a/framework-crates/objc2-local-authentication-embedded-ui/Cargo.toml +++ b/framework-crates/objc2-local-authentication-embedded-ui/Cargo.toml @@ -40,8 +40,8 @@ targets = [ default = ["std"] # Currently not possible to turn off, put here for forwards compatibility. -std = ["alloc", "block2?/std", "objc2/std", "objc2-app-kit?/std", "objc2-core-foundation?/std", "objc2-foundation/std", "objc2-local-authentication/std"] -alloc = ["block2?/alloc", "objc2/alloc", "objc2-app-kit?/alloc", "objc2-core-foundation?/alloc", "objc2-foundation/alloc", "objc2-local-authentication/alloc"] +std = ["alloc"] +alloc = [] block2 = ["dep:block2", "objc2-app-kit?/block2", "objc2-core-foundation?/block2", "objc2-foundation/block2", "objc2-local-authentication/block2"] objc2-app-kit = ["dep:objc2-app-kit"] objc2-core-foundation = ["dep:objc2-core-foundation", "objc2-app-kit?/objc2-core-foundation", "objc2-foundation/objc2-core-foundation"] diff --git a/framework-crates/objc2-local-authentication/Cargo.toml b/framework-crates/objc2-local-authentication/Cargo.toml index 5c246af33..9bf8b61f9 100644 --- a/framework-crates/objc2-local-authentication/Cargo.toml +++ b/framework-crates/objc2-local-authentication/Cargo.toml @@ -36,8 +36,8 @@ targets = [ default = ["std"] # Currently not possible to turn off, put here for forwards compatibility. -std = ["alloc", "block2?/std", "objc2/std", "objc2-foundation/std"] -alloc = ["block2?/alloc", "objc2/alloc", "objc2-foundation/alloc"] +std = ["alloc"] +alloc = [] block2 = ["dep:block2", "objc2-foundation/block2"] LABase = [] diff --git a/framework-crates/objc2-mail-kit/Cargo.toml b/framework-crates/objc2-mail-kit/Cargo.toml index 5006b50dd..906fe946b 100644 --- a/framework-crates/objc2-mail-kit/Cargo.toml +++ b/framework-crates/objc2-mail-kit/Cargo.toml @@ -34,8 +34,8 @@ targets = [ default = ["std"] # Currently not possible to turn off, put here for forwards compatibility. -std = ["alloc", "block2?/std", "objc2/std", "objc2-app-kit?/std", "objc2-foundation/std"] -alloc = ["block2?/alloc", "objc2/alloc", "objc2-app-kit?/alloc", "objc2-foundation/alloc"] +std = ["alloc"] +alloc = [] block2 = ["dep:block2", "objc2-app-kit?/block2", "objc2-foundation/block2"] objc2-app-kit = ["dep:objc2-app-kit"] diff --git a/framework-crates/objc2-map-kit/Cargo.toml b/framework-crates/objc2-map-kit/Cargo.toml index 534daf3cb..c1f93e171 100644 --- a/framework-crates/objc2-map-kit/Cargo.toml +++ b/framework-crates/objc2-map-kit/Cargo.toml @@ -47,8 +47,8 @@ targets = [ default = ["std"] # Currently not possible to turn off, put here for forwards compatibility. -std = ["alloc", "bitflags?/std", "block2?/std", "objc2/std", "objc2-app-kit?/std", "objc2-contacts?/std", "objc2-core-foundation?/std", "objc2-core-graphics?/std", "objc2-core-location?/std", "objc2-foundation/std"] -alloc = ["block2?/alloc", "objc2/alloc", "objc2-app-kit?/alloc", "objc2-contacts?/alloc", "objc2-core-foundation?/alloc", "objc2-core-graphics?/alloc", "objc2-core-location?/alloc", "objc2-foundation/alloc"] +std = ["alloc"] +alloc = [] bitflags = ["dep:bitflags", "objc2-app-kit?/bitflags", "objc2-core-foundation?/bitflags", "objc2-core-graphics?/bitflags", "objc2-foundation/bitflags"] block2 = ["dep:block2", "objc2-app-kit?/block2", "objc2-contacts?/block2", "objc2-core-foundation?/block2", "objc2-core-graphics?/block2", "objc2-core-location?/block2", "objc2-foundation/block2"] objc2-app-kit = ["dep:objc2-app-kit"] diff --git a/framework-crates/objc2-media-player/Cargo.toml b/framework-crates/objc2-media-player/Cargo.toml index 92f194861..29dc72f53 100644 --- a/framework-crates/objc2-media-player/Cargo.toml +++ b/framework-crates/objc2-media-player/Cargo.toml @@ -44,8 +44,8 @@ targets = [ default = ["std"] # Currently not possible to turn off, put here for forwards compatibility. -std = ["alloc", "bitflags?/std", "block2?/std", "objc2/std", "objc2-app-kit?/std", "objc2-av-foundation?/std", "objc2-core-foundation?/std", "objc2-core-media?/std", "objc2-foundation/std"] -alloc = ["block2?/alloc", "objc2/alloc", "objc2-app-kit?/alloc", "objc2-av-foundation?/alloc", "objc2-core-foundation?/alloc", "objc2-core-media?/alloc", "objc2-foundation/alloc"] +std = ["alloc"] +alloc = [] bitflags = ["dep:bitflags", "objc2-app-kit?/bitflags", "objc2-av-foundation?/bitflags", "objc2-core-foundation?/bitflags", "objc2-core-media?/bitflags", "objc2-foundation/bitflags"] block2 = ["dep:block2", "objc2-app-kit?/block2", "objc2-av-foundation?/block2", "objc2-core-foundation?/block2", "objc2-core-media?/block2", "objc2-foundation/block2"] objc2-app-kit = ["dep:objc2-app-kit"] diff --git a/framework-crates/objc2-metal-fx/Cargo.toml b/framework-crates/objc2-metal-fx/Cargo.toml index d8ec50c22..7675c1443 100644 --- a/framework-crates/objc2-metal-fx/Cargo.toml +++ b/framework-crates/objc2-metal-fx/Cargo.toml @@ -35,8 +35,8 @@ targets = [ default = ["std"] # Currently not possible to turn off, put here for forwards compatibility. -std = ["alloc", "objc2/std", "objc2-foundation/std", "objc2-metal/std"] -alloc = ["objc2/alloc", "objc2-foundation/alloc", "objc2-metal/alloc"] +std = ["alloc"] +alloc = [] MTLFXDefines = [] MTLFXSpatialScaler = [ diff --git a/framework-crates/objc2-metal-kit/Cargo.toml b/framework-crates/objc2-metal-kit/Cargo.toml index 3b4871418..8b22c514b 100644 --- a/framework-crates/objc2-metal-kit/Cargo.toml +++ b/framework-crates/objc2-metal-kit/Cargo.toml @@ -43,8 +43,8 @@ targets = [ default = ["std"] # Currently not possible to turn off, put here for forwards compatibility. -std = ["alloc", "block2?/std", "objc2/std", "objc2-app-kit?/std", "objc2-core-foundation?/std", "objc2-core-graphics?/std", "objc2-foundation/std", "objc2-metal/std", "objc2-quartz-core?/std"] -alloc = ["block2?/alloc", "objc2/alloc", "objc2-app-kit?/alloc", "objc2-core-foundation?/alloc", "objc2-core-graphics?/alloc", "objc2-foundation/alloc", "objc2-metal/alloc", "objc2-quartz-core?/alloc"] +std = ["alloc"] +alloc = [] block2 = ["dep:block2", "objc2-app-kit?/block2", "objc2-core-foundation?/block2", "objc2-core-graphics?/block2", "objc2-foundation/block2", "objc2-metal/block2", "objc2-quartz-core?/block2"] objc2-app-kit = ["dep:objc2-app-kit"] objc2-core-foundation = ["dep:objc2-core-foundation", "objc2-app-kit?/objc2-core-foundation", "objc2-core-graphics?/objc2-core-foundation", "objc2-foundation/objc2-core-foundation", "objc2-metal/objc2-core-foundation", "objc2-quartz-core?/objc2-core-foundation"] diff --git a/framework-crates/objc2-metal-performance-shaders-graph/Cargo.toml b/framework-crates/objc2-metal-performance-shaders-graph/Cargo.toml index 0458cb089..6f63f933a 100644 --- a/framework-crates/objc2-metal-performance-shaders-graph/Cargo.toml +++ b/framework-crates/objc2-metal-performance-shaders-graph/Cargo.toml @@ -38,8 +38,8 @@ targets = [ default = ["std"] # Currently not possible to turn off, put here for forwards compatibility. -std = ["alloc", "block2?/std", "objc2/std", "objc2-foundation/std", "objc2-metal/std", "objc2-metal-performance-shaders?/std"] -alloc = ["block2?/alloc", "objc2/alloc", "objc2-foundation/alloc", "objc2-metal/alloc", "objc2-metal-performance-shaders?/alloc"] +std = ["alloc"] +alloc = [] block2 = ["dep:block2", "objc2-foundation/block2", "objc2-metal/block2", "objc2-metal-performance-shaders?/block2"] objc2-metal-performance-shaders = ["dep:objc2-metal-performance-shaders"] diff --git a/framework-crates/objc2-metal-performance-shaders/Cargo.toml b/framework-crates/objc2-metal-performance-shaders/Cargo.toml index 099055ebf..329ae24c0 100644 --- a/framework-crates/objc2-metal-performance-shaders/Cargo.toml +++ b/framework-crates/objc2-metal-performance-shaders/Cargo.toml @@ -40,8 +40,8 @@ targets = [ default = ["std"] # Currently not possible to turn off, put here for forwards compatibility. -std = ["alloc", "bitflags/std", "block2?/std", "objc2/std", "objc2-core-foundation?/std", "objc2-core-graphics?/std", "objc2-foundation/std", "objc2-metal/std"] -alloc = ["block2?/alloc", "objc2/alloc", "objc2-core-foundation?/alloc", "objc2-core-graphics?/alloc", "objc2-foundation/alloc", "objc2-metal/alloc"] +std = ["alloc"] +alloc = [] MPSImage = ["objc2-foundation/NSArray"] block2 = ["dep:block2", "objc2-core-foundation?/block2", "objc2-core-graphics?/block2", "objc2-foundation/block2", "objc2-metal/block2"] objc2-core-foundation = ["dep:objc2-core-foundation", "objc2-core-graphics?/objc2-core-foundation", "objc2-foundation/objc2-core-foundation", "objc2-metal/objc2-core-foundation"] diff --git a/framework-crates/objc2-metal/Cargo.toml b/framework-crates/objc2-metal/Cargo.toml index 75d12a5a9..f7862e836 100644 --- a/framework-crates/objc2-metal/Cargo.toml +++ b/framework-crates/objc2-metal/Cargo.toml @@ -39,8 +39,8 @@ targets = [ default = ["std"] # Currently not possible to turn off, put here for forwards compatibility. -std = ["alloc", "bitflags?/std", "block2?/std", "objc2/std", "objc2-core-foundation?/std", "objc2-foundation/std", "objc2-io-surface?/std"] -alloc = ["block2?/alloc", "objc2/alloc", "objc2-core-foundation?/alloc", "objc2-foundation/alloc", "objc2-io-surface?/alloc"] +std = ["alloc"] +alloc = [] unstable-private = [ "objc2-foundation/NSString", "objc2-foundation/NSError", diff --git a/framework-crates/objc2-metal/src/packed.rs b/framework-crates/objc2-metal/src/packed.rs index a87a7cd3b..228c331d4 100644 --- a/framework-crates/objc2-metal/src/packed.rs +++ b/framework-crates/objc2-metal/src/packed.rs @@ -36,6 +36,7 @@ unsafe impl RefEncode for MTLPackedFloat3 { } #[cfg(test)] +#[cfg(feature = "alloc")] mod tests { use alloc::string::ToString; use objc2::encode::Encode; diff --git a/framework-crates/objc2-metric-kit/Cargo.toml b/framework-crates/objc2-metric-kit/Cargo.toml index 9572349b1..5c04c7989 100644 --- a/framework-crates/objc2-metric-kit/Cargo.toml +++ b/framework-crates/objc2-metric-kit/Cargo.toml @@ -35,8 +35,8 @@ targets = [ default = ["std"] # Currently not possible to turn off, put here for forwards compatibility. -std = ["alloc", "libc?/std", "objc2/std", "objc2-foundation/std"] -alloc = ["objc2/alloc", "objc2-foundation/alloc"] +std = ["alloc"] +alloc = [] libc = ["dep:libc", "objc2-foundation/libc"] MXAnimationMetric = [ diff --git a/framework-crates/objc2-ml-compute/Cargo.toml b/framework-crates/objc2-ml-compute/Cargo.toml index c2e087b48..ba2032227 100644 --- a/framework-crates/objc2-ml-compute/Cargo.toml +++ b/framework-crates/objc2-ml-compute/Cargo.toml @@ -38,8 +38,8 @@ targets = [ default = ["std"] # Currently not possible to turn off, put here for forwards compatibility. -std = ["alloc", "bitflags?/std", "block2?/std", "objc2/std", "objc2-foundation/std", "objc2-metal?/std"] -alloc = ["block2?/alloc", "objc2/alloc", "objc2-foundation/alloc", "objc2-metal?/alloc"] +std = ["alloc"] +alloc = [] bitflags = ["dep:bitflags", "objc2-foundation/bitflags", "objc2-metal?/bitflags"] block2 = ["dep:block2", "objc2-foundation/block2", "objc2-metal?/block2"] objc2-metal = ["dep:objc2-metal"] diff --git a/framework-crates/objc2-multipeer-connectivity/Cargo.toml b/framework-crates/objc2-multipeer-connectivity/Cargo.toml index f9e20746d..ea5936e30 100644 --- a/framework-crates/objc2-multipeer-connectivity/Cargo.toml +++ b/framework-crates/objc2-multipeer-connectivity/Cargo.toml @@ -39,8 +39,8 @@ targets = [ default = ["std"] # Currently not possible to turn off, put here for forwards compatibility. -std = ["alloc", "block2?/std", "objc2/std", "objc2-app-kit?/std", "objc2-foundation/std"] -alloc = ["block2?/alloc", "objc2/alloc", "objc2-app-kit?/alloc", "objc2-foundation/alloc"] +std = ["alloc"] +alloc = [] block2 = ["dep:block2", "objc2-app-kit?/block2", "objc2-foundation/block2"] objc2-app-kit = ["dep:objc2-app-kit"] diff --git a/framework-crates/objc2-natural-language/Cargo.toml b/framework-crates/objc2-natural-language/Cargo.toml index 0f931ede8..b0f00f068 100644 --- a/framework-crates/objc2-natural-language/Cargo.toml +++ b/framework-crates/objc2-natural-language/Cargo.toml @@ -39,8 +39,8 @@ targets = [ default = ["std"] # Currently not possible to turn off, put here for forwards compatibility. -std = ["alloc", "bitflags?/std", "block2?/std", "objc2/std", "objc2-core-ml?/std", "objc2-foundation/std"] -alloc = ["block2?/alloc", "objc2/alloc", "objc2-core-ml?/alloc", "objc2-foundation/alloc"] +std = ["alloc"] +alloc = [] bitflags = ["dep:bitflags", "objc2-core-ml?/bitflags", "objc2-foundation/bitflags"] block2 = ["dep:block2", "objc2-core-ml?/block2", "objc2-foundation/block2"] objc2-core-ml = ["dep:objc2-core-ml"] diff --git a/framework-crates/objc2-nearby-interaction/Cargo.toml b/framework-crates/objc2-nearby-interaction/Cargo.toml index 17e67e422..144330844 100644 --- a/framework-crates/objc2-nearby-interaction/Cargo.toml +++ b/framework-crates/objc2-nearby-interaction/Cargo.toml @@ -35,8 +35,8 @@ targets = [ default = ["std"] # Currently not possible to turn off, put here for forwards compatibility. -std = ["alloc", "objc2/std", "objc2-foundation/std"] -alloc = ["objc2/alloc", "objc2-foundation/alloc"] +std = ["alloc"] +alloc = [] NIAlgorithmConvergenceStatusReason = ["objc2-foundation/NSString"] NIConfiguration = [ diff --git a/framework-crates/objc2-network-extension/Cargo.toml b/framework-crates/objc2-network-extension/Cargo.toml index dd4e2e1e5..73af64aac 100644 --- a/framework-crates/objc2-network-extension/Cargo.toml +++ b/framework-crates/objc2-network-extension/Cargo.toml @@ -38,8 +38,8 @@ targets = [ default = ["std"] # Currently not possible to turn off, put here for forwards compatibility. -std = ["alloc", "block2?/std", "libc?/std", "objc2/std", "objc2-foundation/std"] -alloc = ["block2?/alloc", "objc2/alloc", "objc2-foundation/alloc"] +std = ["alloc"] +alloc = [] block2 = ["dep:block2", "objc2-foundation/block2"] libc = ["dep:libc", "objc2-foundation/libc"] diff --git a/framework-crates/objc2-open-directory/Cargo.toml b/framework-crates/objc2-open-directory/Cargo.toml index 1f18a4257..f0591c64e 100644 --- a/framework-crates/objc2-open-directory/Cargo.toml +++ b/framework-crates/objc2-open-directory/Cargo.toml @@ -34,8 +34,8 @@ targets = [ default = ["std"] # Currently not possible to turn off, put here for forwards compatibility. -std = ["alloc", "objc2/std", "objc2-core-foundation?/std", "objc2-foundation/std"] -alloc = ["objc2/alloc", "objc2-core-foundation?/alloc", "objc2-foundation/alloc"] +std = ["alloc"] +alloc = [] objc2-core-foundation = ["dep:objc2-core-foundation", "objc2-foundation/objc2-core-foundation"] CFODContext = ["objc2-core-foundation?/CFBase"] diff --git a/framework-crates/objc2-osa-kit/Cargo.toml b/framework-crates/objc2-osa-kit/Cargo.toml index 2db52ad3a..6fdd450d7 100644 --- a/framework-crates/objc2-osa-kit/Cargo.toml +++ b/framework-crates/objc2-osa-kit/Cargo.toml @@ -35,8 +35,8 @@ targets = [ default = ["std"] # Currently not possible to turn off, put here for forwards compatibility. -std = ["alloc", "bitflags?/std", "objc2/std", "objc2-app-kit/std", "objc2-core-foundation?/std", "objc2-foundation/std"] -alloc = ["objc2/alloc", "objc2-app-kit/alloc", "objc2-core-foundation?/alloc", "objc2-foundation/alloc"] +std = ["alloc"] +alloc = [] bitflags = ["dep:bitflags", "objc2-app-kit/bitflags", "objc2-core-foundation?/bitflags", "objc2-foundation/bitflags"] objc2-core-foundation = ["dep:objc2-core-foundation", "objc2-app-kit/objc2-core-foundation", "objc2-foundation/objc2-core-foundation"] diff --git a/framework-crates/objc2-photos-ui/Cargo.toml b/framework-crates/objc2-photos-ui/Cargo.toml index e91d03bdb..9314605ac 100644 --- a/framework-crates/objc2-photos-ui/Cargo.toml +++ b/framework-crates/objc2-photos-ui/Cargo.toml @@ -47,8 +47,8 @@ targets = [ default = ["std"] # Currently not possible to turn off, put here for forwards compatibility. -std = ["alloc", "bitflags?/std", "block2?/std", "objc2/std", "objc2-app-kit?/std", "objc2-core-foundation?/std", "objc2-core-location?/std", "objc2-foundation/std", "objc2-map-kit?/std", "objc2-photos?/std"] -alloc = ["block2?/alloc", "objc2/alloc", "objc2-app-kit?/alloc", "objc2-core-foundation?/alloc", "objc2-core-location?/alloc", "objc2-foundation/alloc", "objc2-map-kit?/alloc", "objc2-photos?/alloc"] +std = ["alloc"] +alloc = [] bitflags = ["dep:bitflags", "objc2-app-kit?/bitflags", "objc2-core-foundation?/bitflags", "objc2-foundation/bitflags", "objc2-map-kit?/bitflags", "objc2-photos?/bitflags"] block2 = ["dep:block2", "objc2-app-kit?/block2", "objc2-core-foundation?/block2", "objc2-core-location?/block2", "objc2-foundation/block2", "objc2-map-kit?/block2", "objc2-photos?/block2"] objc2-app-kit = ["dep:objc2-app-kit", "objc2-map-kit?/objc2-app-kit", "objc2-photos?/objc2-app-kit"] diff --git a/framework-crates/objc2-photos/Cargo.toml b/framework-crates/objc2-photos/Cargo.toml index 2f897b0a5..4a491286a 100644 --- a/framework-crates/objc2-photos/Cargo.toml +++ b/framework-crates/objc2-photos/Cargo.toml @@ -46,8 +46,8 @@ targets = [ default = ["std"] # Currently not possible to turn off, put here for forwards compatibility. -std = ["alloc", "bitflags?/std", "block2?/std", "objc2/std", "objc2-app-kit?/std", "objc2-av-foundation?/std", "objc2-core-foundation?/std", "objc2-core-image?/std", "objc2-core-location?/std", "objc2-core-media?/std", "objc2-foundation/std", "objc2-uniform-type-identifiers?/std"] -alloc = ["block2?/alloc", "objc2/alloc", "objc2-app-kit?/alloc", "objc2-av-foundation?/alloc", "objc2-core-foundation?/alloc", "objc2-core-image?/alloc", "objc2-core-location?/alloc", "objc2-core-media?/alloc", "objc2-foundation/alloc", "objc2-uniform-type-identifiers?/alloc"] +std = ["alloc"] +alloc = [] bitflags = ["dep:bitflags", "objc2-app-kit?/bitflags", "objc2-av-foundation?/bitflags", "objc2-core-foundation?/bitflags", "objc2-core-media?/bitflags", "objc2-foundation/bitflags"] block2 = ["dep:block2", "objc2-app-kit?/block2", "objc2-av-foundation?/block2", "objc2-core-foundation?/block2", "objc2-core-image?/block2", "objc2-core-location?/block2", "objc2-core-media?/block2", "objc2-foundation/block2", "objc2-uniform-type-identifiers?/block2"] objc2-app-kit = ["dep:objc2-app-kit"] diff --git a/framework-crates/objc2-quartz-core/Cargo.toml b/framework-crates/objc2-quartz-core/Cargo.toml index 6f9beab8a..9c424c1ad 100644 --- a/framework-crates/objc2-quartz-core/Cargo.toml +++ b/framework-crates/objc2-quartz-core/Cargo.toml @@ -42,8 +42,8 @@ targets = [ default = ["std"] # Currently not possible to turn off, put here for forwards compatibility. -std = ["alloc", "bitflags?/std", "block2?/std", "libc?/std", "objc2/std", "objc2-core-foundation?/std", "objc2-core-graphics?/std", "objc2-core-video?/std", "objc2-foundation/std", "objc2-metal?/std"] -alloc = ["block2?/alloc", "objc2/alloc", "objc2-core-foundation?/alloc", "objc2-core-graphics?/alloc", "objc2-core-video?/alloc", "objc2-foundation/alloc", "objc2-metal?/alloc"] +std = ["alloc"] +alloc = [] apple = [] gnustep-1-7 = [] gnustep-1-8 = [] diff --git a/framework-crates/objc2-screen-capture-kit/Cargo.toml b/framework-crates/objc2-screen-capture-kit/Cargo.toml index 14043a1e5..51982385b 100644 --- a/framework-crates/objc2-screen-capture-kit/Cargo.toml +++ b/framework-crates/objc2-screen-capture-kit/Cargo.toml @@ -39,8 +39,8 @@ targets = [ default = ["std"] # Currently not possible to turn off, put here for forwards compatibility. -std = ["alloc", "bitflags?/std", "block2?/std", "libc?/std", "objc2/std", "objc2-av-foundation?/std", "objc2-core-foundation?/std", "objc2-core-graphics?/std", "objc2-core-media?/std", "objc2-foundation/std"] -alloc = ["block2?/alloc", "objc2/alloc", "objc2-av-foundation?/alloc", "objc2-core-foundation?/alloc", "objc2-core-graphics?/alloc", "objc2-core-media?/alloc", "objc2-foundation/alloc"] +std = ["alloc"] +alloc = [] bitflags = ["dep:bitflags", "objc2-av-foundation?/bitflags", "objc2-core-foundation?/bitflags", "objc2-core-graphics?/bitflags", "objc2-core-media?/bitflags", "objc2-foundation/bitflags"] block2 = ["dep:block2", "objc2-av-foundation?/block2", "objc2-core-foundation?/block2", "objc2-core-graphics?/block2", "objc2-core-media?/block2", "objc2-foundation/block2"] libc = ["dep:libc", "objc2-core-foundation?/libc", "objc2-core-graphics?/libc", "objc2-foundation/libc"] diff --git a/framework-crates/objc2-screen-saver/Cargo.toml b/framework-crates/objc2-screen-saver/Cargo.toml index 0fc7333a2..a3c58a3f0 100644 --- a/framework-crates/objc2-screen-saver/Cargo.toml +++ b/framework-crates/objc2-screen-saver/Cargo.toml @@ -34,8 +34,8 @@ targets = [ default = ["std"] # Currently not possible to turn off, put here for forwards compatibility. -std = ["alloc", "objc2/std", "objc2-app-kit?/std", "objc2-core-foundation?/std", "objc2-foundation/std"] -alloc = ["objc2/alloc", "objc2-app-kit?/alloc", "objc2-core-foundation?/alloc", "objc2-foundation/alloc"] +std = ["alloc"] +alloc = [] objc2-app-kit = ["dep:objc2-app-kit"] objc2-core-foundation = ["dep:objc2-core-foundation", "objc2-app-kit?/objc2-core-foundation", "objc2-foundation/objc2-core-foundation"] diff --git a/framework-crates/objc2-sensitive-content-analysis/Cargo.toml b/framework-crates/objc2-sensitive-content-analysis/Cargo.toml index 72bb4e176..59db73dd8 100644 --- a/framework-crates/objc2-sensitive-content-analysis/Cargo.toml +++ b/framework-crates/objc2-sensitive-content-analysis/Cargo.toml @@ -36,8 +36,8 @@ targets = [ default = ["std"] # Currently not possible to turn off, put here for forwards compatibility. -std = ["alloc", "block2?/std", "objc2/std", "objc2-core-graphics?/std", "objc2-foundation/std"] -alloc = ["block2?/alloc", "objc2/alloc", "objc2-core-graphics?/alloc", "objc2-foundation/alloc"] +std = ["alloc"] +alloc = [] block2 = ["dep:block2", "objc2-core-graphics?/block2", "objc2-foundation/block2"] objc2-core-graphics = ["dep:objc2-core-graphics"] diff --git a/framework-crates/objc2-service-management/Cargo.toml b/framework-crates/objc2-service-management/Cargo.toml index 39db722e5..d90976f86 100644 --- a/framework-crates/objc2-service-management/Cargo.toml +++ b/framework-crates/objc2-service-management/Cargo.toml @@ -34,8 +34,8 @@ targets = [ default = ["std"] # Currently not possible to turn off, put here for forwards compatibility. -std = ["alloc", "block2?/std", "objc2/std", "objc2-foundation/std"] -alloc = ["block2?/alloc", "objc2/alloc", "objc2-foundation/alloc"] +std = ["alloc"] +alloc = [] block2 = ["dep:block2", "objc2-foundation/block2"] SMAppService = [ diff --git a/framework-crates/objc2-social/Cargo.toml b/framework-crates/objc2-social/Cargo.toml index 34b26547a..5c7ea9f2a 100644 --- a/framework-crates/objc2-social/Cargo.toml +++ b/framework-crates/objc2-social/Cargo.toml @@ -39,8 +39,8 @@ targets = [ default = ["std"] # Currently not possible to turn off, put here for forwards compatibility. -std = ["alloc", "block2?/std", "objc2/std", "objc2-accounts?/std", "objc2-app-kit?/std", "objc2-foundation/std"] -alloc = ["block2?/alloc", "objc2/alloc", "objc2-accounts?/alloc", "objc2-app-kit?/alloc", "objc2-foundation/alloc"] +std = ["alloc"] +alloc = [] block2 = ["dep:block2", "objc2-accounts?/block2", "objc2-app-kit?/block2", "objc2-foundation/block2"] objc2-accounts = ["dep:objc2-accounts"] objc2-app-kit = ["dep:objc2-app-kit"] diff --git a/framework-crates/objc2-sound-analysis/Cargo.toml b/framework-crates/objc2-sound-analysis/Cargo.toml index d3a9e8b8a..31b3c9308 100644 --- a/framework-crates/objc2-sound-analysis/Cargo.toml +++ b/framework-crates/objc2-sound-analysis/Cargo.toml @@ -40,8 +40,8 @@ targets = [ default = ["std"] # Currently not possible to turn off, put here for forwards compatibility. -std = ["alloc", "block2?/std", "objc2/std", "objc2-avf-audio?/std", "objc2-core-media?/std", "objc2-core-ml?/std", "objc2-foundation/std"] -alloc = ["block2?/alloc", "objc2/alloc", "objc2-avf-audio?/alloc", "objc2-core-media?/alloc", "objc2-core-ml?/alloc", "objc2-foundation/alloc"] +std = ["alloc"] +alloc = [] block2 = ["dep:block2", "objc2-avf-audio?/block2", "objc2-core-media?/block2", "objc2-core-ml?/block2", "objc2-foundation/block2"] objc2-avf-audio = ["dep:objc2-avf-audio"] objc2-core-media = ["dep:objc2-core-media", "objc2-avf-audio?/objc2-core-media"] diff --git a/framework-crates/objc2-speech/Cargo.toml b/framework-crates/objc2-speech/Cargo.toml index b195d3e03..4d23e8e42 100644 --- a/framework-crates/objc2-speech/Cargo.toml +++ b/framework-crates/objc2-speech/Cargo.toml @@ -37,8 +37,8 @@ targets = [ default = ["std"] # Currently not possible to turn off, put here for forwards compatibility. -std = ["alloc", "block2?/std", "objc2/std", "objc2-avf-audio?/std", "objc2-core-media?/std", "objc2-foundation/std"] -alloc = ["block2?/alloc", "objc2/alloc", "objc2-avf-audio?/alloc", "objc2-core-media?/alloc", "objc2-foundation/alloc"] +std = ["alloc"] +alloc = [] block2 = ["dep:block2", "objc2-avf-audio?/block2", "objc2-core-media?/block2", "objc2-foundation/block2"] objc2-avf-audio = ["dep:objc2-avf-audio"] objc2-core-media = ["dep:objc2-core-media", "objc2-avf-audio?/objc2-core-media"] diff --git a/framework-crates/objc2-store-kit/Cargo.toml b/framework-crates/objc2-store-kit/Cargo.toml index 8e9a5a11d..1f82054d8 100644 --- a/framework-crates/objc2-store-kit/Cargo.toml +++ b/framework-crates/objc2-store-kit/Cargo.toml @@ -42,8 +42,8 @@ targets = [ default = ["std"] # Currently not possible to turn off, put here for forwards compatibility. -std = ["alloc", "bitflags?/std", "block2?/std", "objc2/std", "objc2-app-kit?/std", "objc2-core-foundation?/std", "objc2-foundation/std"] -alloc = ["block2?/alloc", "objc2/alloc", "objc2-app-kit?/alloc", "objc2-core-foundation?/alloc", "objc2-foundation/alloc"] +std = ["alloc"] +alloc = [] bitflags = ["dep:bitflags", "objc2-app-kit?/bitflags", "objc2-core-foundation?/bitflags", "objc2-foundation/bitflags"] block2 = ["dep:block2", "objc2-app-kit?/block2", "objc2-core-foundation?/block2", "objc2-foundation/block2"] objc2-app-kit = ["dep:objc2-app-kit"] diff --git a/framework-crates/objc2-symbols/Cargo.toml b/framework-crates/objc2-symbols/Cargo.toml index d34c2db96..195af3e23 100644 --- a/framework-crates/objc2-symbols/Cargo.toml +++ b/framework-crates/objc2-symbols/Cargo.toml @@ -36,8 +36,8 @@ targets = [ default = ["std"] # Currently not possible to turn off, put here for forwards compatibility. -std = ["alloc", "objc2/std", "objc2-foundation/std"] -alloc = ["objc2/alloc", "objc2-foundation/alloc"] +std = ["alloc"] +alloc = [] NSSymbolEffect = ["objc2-foundation/NSObject"] all = ["NSSymbolEffect"] diff --git a/framework-crates/objc2-system-extensions/Cargo.toml b/framework-crates/objc2-system-extensions/Cargo.toml index 03cd727cd..4fa1b212d 100644 --- a/framework-crates/objc2-system-extensions/Cargo.toml +++ b/framework-crates/objc2-system-extensions/Cargo.toml @@ -32,7 +32,7 @@ targets = [ default = ["std"] # Currently not possible to turn off, put here for forwards compatibility. -std = ["alloc", "objc2/std", "objc2-foundation/std"] -alloc = ["objc2/alloc", "objc2-foundation/alloc"] +std = ["alloc"] +alloc = [] all = [] diff --git a/framework-crates/objc2-ui-kit/Cargo.toml b/framework-crates/objc2-ui-kit/Cargo.toml index a3b52186c..66e695451 100644 --- a/framework-crates/objc2-ui-kit/Cargo.toml +++ b/framework-crates/objc2-ui-kit/Cargo.toml @@ -49,8 +49,8 @@ targets = [ default = ["std"] # Currently not possible to turn off, put here for forwards compatibility. -std = ["alloc", "bitflags?/std", "block2?/std", "objc2/std", "objc2-cloud-kit?/std", "objc2-core-data?/std", "objc2-core-foundation?/std", "objc2-core-graphics?/std", "objc2-core-image?/std", "objc2-core-location?/std", "objc2-foundation/std", "objc2-quartz-core?/std", "objc2-symbols?/std", "objc2-uniform-type-identifiers?/std", "objc2-user-notifications?/std"] -alloc = ["block2?/alloc", "objc2/alloc", "objc2-cloud-kit?/alloc", "objc2-core-data?/alloc", "objc2-core-foundation?/alloc", "objc2-core-graphics?/alloc", "objc2-core-image?/alloc", "objc2-core-location?/alloc", "objc2-foundation/alloc", "objc2-quartz-core?/alloc", "objc2-symbols?/alloc", "objc2-uniform-type-identifiers?/alloc", "objc2-user-notifications?/alloc"] +std = ["alloc"] +alloc = [] bitflags = ["dep:bitflags", "objc2-cloud-kit?/bitflags", "objc2-core-data?/bitflags", "objc2-core-foundation?/bitflags", "objc2-core-graphics?/bitflags", "objc2-foundation/bitflags", "objc2-quartz-core?/bitflags", "objc2-user-notifications?/bitflags"] block2 = ["dep:block2", "objc2-cloud-kit?/block2", "objc2-core-data?/block2", "objc2-core-foundation?/block2", "objc2-core-graphics?/block2", "objc2-core-image?/block2", "objc2-core-location?/block2", "objc2-foundation/block2", "objc2-quartz-core?/block2", "objc2-uniform-type-identifiers?/block2", "objc2-user-notifications?/block2"] objc2-cloud-kit = ["dep:objc2-cloud-kit", "objc2-core-data?/objc2-cloud-kit"] diff --git a/framework-crates/objc2-uniform-type-identifiers/Cargo.toml b/framework-crates/objc2-uniform-type-identifiers/Cargo.toml index f59daa7a1..e089ef928 100644 --- a/framework-crates/objc2-uniform-type-identifiers/Cargo.toml +++ b/framework-crates/objc2-uniform-type-identifiers/Cargo.toml @@ -37,8 +37,8 @@ targets = [ default = ["std"] # Currently not possible to turn off, put here for forwards compatibility. -std = ["alloc", "block2?/std", "objc2/std", "objc2-foundation/std"] -alloc = ["block2?/alloc", "objc2/alloc", "objc2-foundation/alloc"] +std = ["alloc"] +alloc = [] block2 = ["dep:block2", "objc2-foundation/block2"] NSItemProvider_UTType = [ diff --git a/framework-crates/objc2-user-notifications/Cargo.toml b/framework-crates/objc2-user-notifications/Cargo.toml index 23ede6730..d9939e56b 100644 --- a/framework-crates/objc2-user-notifications/Cargo.toml +++ b/framework-crates/objc2-user-notifications/Cargo.toml @@ -39,8 +39,8 @@ targets = [ default = ["std"] # Currently not possible to turn off, put here for forwards compatibility. -std = ["alloc", "bitflags?/std", "block2?/std", "objc2/std", "objc2-core-location?/std", "objc2-foundation/std"] -alloc = ["block2?/alloc", "objc2/alloc", "objc2-core-location?/alloc", "objc2-foundation/alloc"] +std = ["alloc"] +alloc = [] bitflags = ["dep:bitflags", "objc2-foundation/bitflags"] block2 = ["dep:block2", "objc2-core-location?/block2", "objc2-foundation/block2"] objc2-core-location = ["dep:objc2-core-location"] diff --git a/framework-crates/objc2-virtualization/Cargo.toml b/framework-crates/objc2-virtualization/Cargo.toml index 167e24e8e..082ccc49d 100644 --- a/framework-crates/objc2-virtualization/Cargo.toml +++ b/framework-crates/objc2-virtualization/Cargo.toml @@ -36,8 +36,8 @@ targets = [ default = ["std"] # Currently not possible to turn off, put here for forwards compatibility. -std = ["alloc", "bitflags?/std", "block2?/std", "objc2/std", "objc2-app-kit?/std", "objc2-core-foundation?/std", "objc2-foundation/std"] -alloc = ["block2?/alloc", "objc2/alloc", "objc2-app-kit?/alloc", "objc2-core-foundation?/alloc", "objc2-foundation/alloc"] +std = ["alloc"] +alloc = [] bitflags = ["dep:bitflags", "objc2-app-kit?/bitflags", "objc2-core-foundation?/bitflags", "objc2-foundation/bitflags"] block2 = ["dep:block2", "objc2-app-kit?/block2", "objc2-core-foundation?/block2", "objc2-foundation/block2"] objc2-app-kit = ["dep:objc2-app-kit"] diff --git a/framework-crates/objc2-vision/Cargo.toml b/framework-crates/objc2-vision/Cargo.toml index 09b0796eb..b3b04c26e 100644 --- a/framework-crates/objc2-vision/Cargo.toml +++ b/framework-crates/objc2-vision/Cargo.toml @@ -42,8 +42,8 @@ targets = [ default = ["std"] # Currently not possible to turn off, put here for forwards compatibility. -std = ["alloc", "block2?/std", "objc2/std", "objc2-core-foundation?/std", "objc2-core-graphics?/std", "objc2-core-image?/std", "objc2-core-media?/std", "objc2-core-ml?/std", "objc2-core-video?/std", "objc2-foundation/std"] -alloc = ["block2?/alloc", "objc2/alloc", "objc2-core-foundation?/alloc", "objc2-core-graphics?/alloc", "objc2-core-image?/alloc", "objc2-core-media?/alloc", "objc2-core-ml?/alloc", "objc2-core-video?/alloc", "objc2-foundation/alloc"] +std = ["alloc"] +alloc = [] block2 = ["dep:block2", "objc2-core-foundation?/block2", "objc2-core-graphics?/block2", "objc2-core-image?/block2", "objc2-core-media?/block2", "objc2-core-ml?/block2", "objc2-core-video?/block2", "objc2-foundation/block2"] objc2-core-foundation = ["dep:objc2-core-foundation", "objc2-core-graphics?/objc2-core-foundation", "objc2-core-image?/objc2-core-foundation", "objc2-core-media?/objc2-core-foundation", "objc2-core-video?/objc2-core-foundation", "objc2-foundation/objc2-core-foundation"] objc2-core-graphics = ["dep:objc2-core-graphics", "objc2-core-image?/objc2-core-graphics", "objc2-core-ml?/objc2-core-graphics", "objc2-core-video?/objc2-core-graphics"] diff --git a/framework-crates/objc2-web-kit/Cargo.toml b/framework-crates/objc2-web-kit/Cargo.toml index bbbadcafb..8987c338b 100644 --- a/framework-crates/objc2-web-kit/Cargo.toml +++ b/framework-crates/objc2-web-kit/Cargo.toml @@ -40,8 +40,8 @@ targets = [ default = ["std"] # Currently not possible to turn off, put here for forwards compatibility. -std = ["alloc", "bitflags?/std", "block2?/std", "objc2/std", "objc2-app-kit?/std", "objc2-core-foundation?/std", "objc2-foundation/std"] -alloc = ["block2?/alloc", "objc2/alloc", "objc2-app-kit?/alloc", "objc2-core-foundation?/alloc", "objc2-foundation/alloc"] +std = ["alloc"] +alloc = [] bitflags = ["dep:bitflags", "objc2-app-kit?/bitflags", "objc2-core-foundation?/bitflags", "objc2-foundation/bitflags"] block2 = ["dep:block2", "objc2-app-kit?/block2", "objc2-core-foundation?/block2", "objc2-foundation/block2"] objc2-app-kit = ["dep:objc2-app-kit"]