diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a4e71abe6..98bb89cd4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -46,14 +46,14 @@ env: --package=objc2-exception-helper # BEGIN AUTOMATICALLY GENERATED - FRAMEWORKS_MACOS_10_12: --package=objc2-accounts --package=objc2-audio-toolbox --package=objc2-automator --package=objc2-av-foundation --package=objc2-av-kit --package=objc2-cloud-kit --package=objc2-contacts --package=objc2-contacts-ui --package=objc2-core-audio --package=objc2-core-bluetooth --package=objc2-core-data --package=objc2-core-foundation --package=objc2-core-graphics --package=objc2-core-location --package=objc2-core-media --package=objc2-core-midi --package=objc2-core-text --package=objc2-core-video --package=objc2-core-wlan --package=objc2-disk-arbitration --package=objc2-event-kit --package=objc2-exception-handling --package=objc2-finder-sync --package=objc2-foundation --package=objc2-game-controller --package=objc2-game-kit --package=objc2-input-method-kit --package=objc2-io-surface --package=objc2-local-authentication --package=objc2-map-kit --package=objc2-media-player --package=objc2-metal --package=objc2-metal-kit --package=objc2-model-io --package=objc2-multipeer-connectivity --package=objc2-network-extension --package=objc2-open-directory --package=objc2-osa-kit --package=objc2-photos-ui --package=objc2-quartz-core --package=objc2-scene-kit --package=objc2-screen-saver --package=objc2-security --package=objc2-service-management --package=objc2-social --package=objc2-sprite-kit --package=objc2-store-kit --package=objc2-system-configuration --package=objc2-video-toolbox --package=objc2-web-kit - FRAMEWORKS_MACOS_10_13: --package=objc2-accounts --package=objc2-audio-toolbox --package=objc2-automator --package=objc2-av-foundation --package=objc2-av-kit --package=objc2-cloud-kit --package=objc2-color-sync --package=objc2-contacts --package=objc2-contacts-ui --package=objc2-core-audio --package=objc2-core-bluetooth --package=objc2-core-data --package=objc2-core-foundation --package=objc2-core-graphics --package=objc2-core-image --package=objc2-core-location --package=objc2-core-media --package=objc2-core-midi --package=objc2-core-ml --package=objc2-core-text --package=objc2-core-video --package=objc2-core-wlan --package=objc2-disk-arbitration --package=objc2-event-kit --package=objc2-exception-handling --package=objc2-external-accessory --package=objc2-finder-sync --package=objc2-foundation --package=objc2-game-controller --package=objc2-game-kit --package=objc2-input-method-kit --package=objc2-io-surface --package=objc2-local-authentication --package=objc2-map-kit --package=objc2-media-player --package=objc2-metal --package=objc2-metal-kit --package=objc2-metal-performance-shaders --package=objc2-model-io --package=objc2-multipeer-connectivity --package=objc2-network-extension --package=objc2-open-directory --package=objc2-osa-kit --package=objc2-photos-ui --package=objc2-quartz-core --package=objc2-scene-kit --package=objc2-screen-saver --package=objc2-security --package=objc2-service-management --package=objc2-social --package=objc2-sprite-kit --package=objc2-store-kit --package=objc2-system-configuration --package=objc2-video-toolbox --package=objc2-vision --package=objc2-web-kit - FRAMEWORKS_MACOS_11: --package=objc2-accessibility --package=objc2-accounts --package=objc2-ad-support --package=objc2-app-kit --package=objc2-app-tracking-transparency --package=objc2-audio-toolbox --package=objc2-authentication-services --package=objc2-automatic-assessment-configuration --package=objc2-automator --package=objc2-av-foundation --package=objc2-av-kit --package=objc2-business-chat --package=objc2-class-kit --package=objc2-cloud-kit --package=objc2-color-sync --package=objc2-contacts --package=objc2-contacts-ui --package=objc2-core-audio --package=objc2-core-audio-types --package=objc2-core-bluetooth --package=objc2-core-data --package=objc2-core-foundation --package=objc2-core-graphics --package=objc2-core-image --package=objc2-core-location --package=objc2-core-media --package=objc2-core-midi --package=objc2-core-ml --package=objc2-core-motion --package=objc2-core-text --package=objc2-core-video --package=objc2-core-wlan --package=objc2-device-check --package=objc2-disk-arbitration --package=objc2-event-kit --package=objc2-exception-handling --package=objc2-external-accessory --package=objc2-file-provider --package=objc2-file-provider-ui --package=objc2-finder-sync --package=objc2-foundation --package=objc2-game-controller --package=objc2-game-kit --package=objc2-identity-lookup --package=objc2-input-method-kit --package=objc2-io-surface --package=objc2-link-presentation --package=objc2-local-authentication --package=objc2-map-kit --package=objc2-media-player --package=objc2-metal --package=objc2-metal-kit --package=objc2-metal-performance-shaders --package=objc2-metal-performance-shaders-graph --package=objc2-ml-compute --package=objc2-model-io --package=objc2-multipeer-connectivity --package=objc2-natural-language --package=objc2-nearby-interaction --package=objc2-network-extension --package=objc2-open-directory --package=objc2-osa-kit --package=objc2-photos --package=objc2-photos-ui --package=objc2-quartz-core --package=objc2-scene-kit --package=objc2-screen-saver --package=objc2-security --package=objc2-service-management --package=objc2-social --package=objc2-sound-analysis --package=objc2-speech --package=objc2-sprite-kit --package=objc2-store-kit --package=objc2-system-configuration --package=objc2-system-extensions --package=objc2-uniform-type-identifiers --package=objc2-user-notifications --package=objc2-video-toolbox --package=objc2-virtualization --package=objc2-vision --package=objc2-web-kit + FRAMEWORKS_MACOS_10_12: --package=objc2-accounts --package=objc2-app-kit --package=objc2-audio-toolbox --package=objc2-automator --package=objc2-cloud-kit --package=objc2-contacts --package=objc2-contacts-ui --package=objc2-core-audio --package=objc2-core-bluetooth --package=objc2-core-data --package=objc2-core-foundation --package=objc2-core-graphics --package=objc2-core-image --package=objc2-core-location --package=objc2-core-media --package=objc2-core-midi --package=objc2-core-text --package=objc2-core-video --package=objc2-core-wlan --package=objc2-disk-arbitration --package=objc2-event-kit --package=objc2-exception-handling --package=objc2-finder-sync --package=objc2-foundation --package=objc2-game-controller --package=objc2-game-kit --package=objc2-input-method-kit --package=objc2-io-surface --package=objc2-local-authentication --package=objc2-map-kit --package=objc2-metal --package=objc2-metal-kit --package=objc2-model-io --package=objc2-multipeer-connectivity --package=objc2-network-extension --package=objc2-open-directory --package=objc2-osa-kit --package=objc2-quartz-core --package=objc2-screen-saver --package=objc2-security --package=objc2-service-management --package=objc2-social --package=objc2-store-kit --package=objc2-system-configuration --package=objc2-video-toolbox --package=objc2-web-kit + FRAMEWORKS_MACOS_10_13: --package=objc2-accounts --package=objc2-app-kit --package=objc2-audio-toolbox --package=objc2-automator --package=objc2-cloud-kit --package=objc2-color-sync --package=objc2-contacts --package=objc2-contacts-ui --package=objc2-core-audio --package=objc2-core-bluetooth --package=objc2-core-data --package=objc2-core-foundation --package=objc2-core-graphics --package=objc2-core-image --package=objc2-core-location --package=objc2-core-media --package=objc2-core-midi --package=objc2-core-ml --package=objc2-core-text --package=objc2-core-video --package=objc2-core-wlan --package=objc2-disk-arbitration --package=objc2-event-kit --package=objc2-exception-handling --package=objc2-external-accessory --package=objc2-finder-sync --package=objc2-foundation --package=objc2-game-controller --package=objc2-game-kit --package=objc2-input-method-kit --package=objc2-io-surface --package=objc2-local-authentication --package=objc2-map-kit --package=objc2-metal --package=objc2-metal-kit --package=objc2-metal-performance-shaders --package=objc2-model-io --package=objc2-multipeer-connectivity --package=objc2-network-extension --package=objc2-open-directory --package=objc2-osa-kit --package=objc2-quartz-core --package=objc2-screen-saver --package=objc2-security --package=objc2-service-management --package=objc2-social --package=objc2-store-kit --package=objc2-system-configuration --package=objc2-video-toolbox --package=objc2-vision --package=objc2-web-kit + FRAMEWORKS_MACOS_11: --package=objc2-accessibility --package=objc2-accounts --package=objc2-ad-support --package=objc2-app-kit --package=objc2-app-tracking-transparency --package=objc2-audio-toolbox --package=objc2-authentication-services --package=objc2-automatic-assessment-configuration --package=objc2-automator --package=objc2-av-foundation --package=objc2-av-kit --package=objc2-avf-audio --package=objc2-business-chat --package=objc2-class-kit --package=objc2-cloud-kit --package=objc2-color-sync --package=objc2-contacts --package=objc2-contacts-ui --package=objc2-core-audio --package=objc2-core-audio-types --package=objc2-core-bluetooth --package=objc2-core-data --package=objc2-core-foundation --package=objc2-core-graphics --package=objc2-core-image --package=objc2-core-location --package=objc2-core-media --package=objc2-core-midi --package=objc2-core-ml --package=objc2-core-motion --package=objc2-core-text --package=objc2-core-video --package=objc2-core-wlan --package=objc2-device-check --package=objc2-disk-arbitration --package=objc2-event-kit --package=objc2-exception-handling --package=objc2-external-accessory --package=objc2-file-provider --package=objc2-file-provider-ui --package=objc2-finder-sync --package=objc2-foundation --package=objc2-game-controller --package=objc2-game-kit --package=objc2-identity-lookup --package=objc2-input-method-kit --package=objc2-io-surface --package=objc2-link-presentation --package=objc2-local-authentication --package=objc2-map-kit --package=objc2-media-player --package=objc2-metal --package=objc2-metal-kit --package=objc2-metal-performance-shaders --package=objc2-metal-performance-shaders-graph --package=objc2-ml-compute --package=objc2-model-io --package=objc2-multipeer-connectivity --package=objc2-natural-language --package=objc2-nearby-interaction --package=objc2-network-extension --package=objc2-open-directory --package=objc2-osa-kit --package=objc2-photos --package=objc2-photos-ui --package=objc2-quartz-core --package=objc2-scene-kit --package=objc2-screen-saver --package=objc2-security --package=objc2-service-management --package=objc2-social --package=objc2-sound-analysis --package=objc2-speech --package=objc2-sprite-kit --package=objc2-store-kit --package=objc2-system-configuration --package=objc2-system-extensions --package=objc2-uniform-type-identifiers --package=objc2-user-notifications --package=objc2-video-toolbox --package=objc2-virtualization --package=objc2-vision --package=objc2-web-kit FRAMEWORKS_MACOS_12: --package=objc2-accessibility --package=objc2-accounts --package=objc2-ad-services --package=objc2-ad-support --package=objc2-app-kit --package=objc2-app-tracking-transparency --package=objc2-audio-toolbox --package=objc2-authentication-services --package=objc2-automatic-assessment-configuration --package=objc2-automator --package=objc2-av-foundation --package=objc2-av-kit --package=objc2-avf-audio --package=objc2-business-chat --package=objc2-class-kit --package=objc2-cloud-kit --package=objc2-color-sync --package=objc2-contacts --package=objc2-contacts-ui --package=objc2-core-audio --package=objc2-core-audio-types --package=objc2-core-bluetooth --package=objc2-core-data --package=objc2-core-foundation --package=objc2-core-graphics --package=objc2-core-image --package=objc2-core-location --package=objc2-core-media --package=objc2-core-midi --package=objc2-core-ml --package=objc2-core-motion --package=objc2-core-text --package=objc2-core-video --package=objc2-core-wlan --package=objc2-data-detection --package=objc2-device-check --package=objc2-disk-arbitration --package=objc2-event-kit --package=objc2-exception-handling --package=objc2-external-accessory --package=objc2-file-provider --package=objc2-file-provider-ui --package=objc2-finder-sync --package=objc2-foundation --package=objc2-game-controller --package=objc2-game-kit --package=objc2-identity-lookup --package=objc2-input-method-kit --package=objc2-io-surface --package=objc2-link-presentation --package=objc2-local-authentication --package=objc2-local-authentication-embedded-ui --package=objc2-mail-kit --package=objc2-map-kit --package=objc2-media-player --package=objc2-metal --package=objc2-metal-kit --package=objc2-metal-performance-shaders --package=objc2-metal-performance-shaders-graph --package=objc2-metric-kit --package=objc2-ml-compute --package=objc2-model-io --package=objc2-multipeer-connectivity --package=objc2-natural-language --package=objc2-nearby-interaction --package=objc2-network-extension --package=objc2-open-directory --package=objc2-osa-kit --package=objc2-photos --package=objc2-photos-ui --package=objc2-quartz-core --package=objc2-scene-kit --package=objc2-screen-saver --package=objc2-security --package=objc2-service-management --package=objc2-social --package=objc2-sound-analysis --package=objc2-speech --package=objc2-sprite-kit --package=objc2-store-kit --package=objc2-system-configuration --package=objc2-system-extensions --package=objc2-uniform-type-identifiers --package=objc2-user-notifications --package=objc2-video-toolbox --package=objc2-virtualization --package=objc2-vision --package=objc2-web-kit FRAMEWORKS_MACOS_13: --package=objc2-accessibility --package=objc2-accounts --package=objc2-ad-services --package=objc2-ad-support --package=objc2-app-kit --package=objc2-app-tracking-transparency --package=objc2-audio-toolbox --package=objc2-authentication-services --package=objc2-automatic-assessment-configuration --package=objc2-automator --package=objc2-av-foundation --package=objc2-av-kit --package=objc2-av-routing --package=objc2-avf-audio --package=objc2-background-assets --package=objc2-business-chat --package=objc2-call-kit --package=objc2-class-kit --package=objc2-cloud-kit --package=objc2-color-sync --package=objc2-contacts --package=objc2-contacts-ui --package=objc2-core-audio --package=objc2-core-audio-types --package=objc2-core-bluetooth --package=objc2-core-data --package=objc2-core-foundation --package=objc2-core-graphics --package=objc2-core-image --package=objc2-core-location --package=objc2-core-media --package=objc2-core-midi --package=objc2-core-ml --package=objc2-core-motion --package=objc2-core-text --package=objc2-core-video --package=objc2-core-wlan --package=objc2-data-detection --package=objc2-device-check --package=objc2-disk-arbitration --package=objc2-event-kit --package=objc2-exception-handling --package=objc2-extension-kit --package=objc2-external-accessory --package=objc2-file-provider --package=objc2-file-provider-ui --package=objc2-finder-sync --package=objc2-foundation --package=objc2-game-controller --package=objc2-game-kit --package=objc2-health-kit --package=objc2-identity-lookup --package=objc2-input-method-kit --package=objc2-io-surface --package=objc2-link-presentation --package=objc2-local-authentication --package=objc2-local-authentication-embedded-ui --package=objc2-mail-kit --package=objc2-map-kit --package=objc2-media-player --package=objc2-metal --package=objc2-metal-fx --package=objc2-metal-kit --package=objc2-metal-performance-shaders --package=objc2-metal-performance-shaders-graph --package=objc2-metric-kit --package=objc2-ml-compute --package=objc2-model-io --package=objc2-multipeer-connectivity --package=objc2-natural-language --package=objc2-nearby-interaction --package=objc2-network-extension --package=objc2-open-directory --package=objc2-osa-kit --package=objc2-photos --package=objc2-photos-ui --package=objc2-quartz-core --package=objc2-scene-kit --package=objc2-screen-capture-kit --package=objc2-screen-saver --package=objc2-security --package=objc2-service-management --package=objc2-social --package=objc2-sound-analysis --package=objc2-speech --package=objc2-sprite-kit --package=objc2-store-kit --package=objc2-system-configuration --package=objc2-system-extensions --package=objc2-uniform-type-identifiers --package=objc2-user-notifications --package=objc2-video-toolbox --package=objc2-virtualization --package=objc2-vision --package=objc2-web-kit FRAMEWORKS_MACOS_14: --package=objc2-accessibility --package=objc2-accounts --package=objc2-ad-services --package=objc2-ad-support --package=objc2-app-kit --package=objc2-app-tracking-transparency --package=objc2-audio-toolbox --package=objc2-authentication-services --package=objc2-automatic-assessment-configuration --package=objc2-automator --package=objc2-av-foundation --package=objc2-av-kit --package=objc2-av-routing --package=objc2-avf-audio --package=objc2-background-assets --package=objc2-business-chat --package=objc2-call-kit --package=objc2-class-kit --package=objc2-cloud-kit --package=objc2-color-sync --package=objc2-contacts --package=objc2-contacts-ui --package=objc2-core-audio --package=objc2-core-audio-types --package=objc2-core-bluetooth --package=objc2-core-data --package=objc2-core-foundation --package=objc2-core-graphics --package=objc2-core-image --package=objc2-core-location --package=objc2-core-media --package=objc2-core-midi --package=objc2-core-ml --package=objc2-core-motion --package=objc2-core-text --package=objc2-core-video --package=objc2-core-wlan --package=objc2-data-detection --package=objc2-device-check --package=objc2-disk-arbitration --package=objc2-event-kit --package=objc2-exception-handling --package=objc2-extension-kit --package=objc2-external-accessory --package=objc2-file-provider --package=objc2-file-provider-ui --package=objc2-finder-sync --package=objc2-foundation --package=objc2-game-controller --package=objc2-game-kit --package=objc2-health-kit --package=objc2-identity-lookup --package=objc2-input-method-kit --package=objc2-io-surface --package=objc2-link-presentation --package=objc2-local-authentication --package=objc2-local-authentication-embedded-ui --package=objc2-mail-kit --package=objc2-map-kit --package=objc2-media-player --package=objc2-metal --package=objc2-metal-fx --package=objc2-metal-kit --package=objc2-metal-performance-shaders --package=objc2-metal-performance-shaders-graph --package=objc2-metric-kit --package=objc2-ml-compute --package=objc2-model-io --package=objc2-multipeer-connectivity --package=objc2-natural-language --package=objc2-nearby-interaction --package=objc2-network-extension --package=objc2-open-directory --package=objc2-osa-kit --package=objc2-photos --package=objc2-photos-ui --package=objc2-quartz-core --package=objc2-scene-kit --package=objc2-screen-capture-kit --package=objc2-screen-saver --package=objc2-security --package=objc2-sensitive-content-analysis --package=objc2-service-management --package=objc2-social --package=objc2-sound-analysis --package=objc2-speech --package=objc2-sprite-kit --package=objc2-store-kit --package=objc2-symbols --package=objc2-system-configuration --package=objc2-system-extensions --package=objc2-uniform-type-identifiers --package=objc2-user-notifications --package=objc2-video-toolbox --package=objc2-virtualization --package=objc2-vision --package=objc2-web-kit FRAMEWORKS_MACOS_15: --package=objc2-accessibility --package=objc2-accounts --package=objc2-ad-services --package=objc2-ad-support --package=objc2-app-kit --package=objc2-app-tracking-transparency --package=objc2-audio-toolbox --package=objc2-authentication-services --package=objc2-automatic-assessment-configuration --package=objc2-automator --package=objc2-av-foundation --package=objc2-av-kit --package=objc2-av-routing --package=objc2-avf-audio --package=objc2-background-assets --package=objc2-business-chat --package=objc2-call-kit --package=objc2-class-kit --package=objc2-cloud-kit --package=objc2-color-sync --package=objc2-contacts --package=objc2-contacts-ui --package=objc2-core-audio --package=objc2-core-audio-types --package=objc2-core-bluetooth --package=objc2-core-data --package=objc2-core-foundation --package=objc2-core-graphics --package=objc2-core-image --package=objc2-core-location --package=objc2-core-media --package=objc2-core-midi --package=objc2-core-ml --package=objc2-core-motion --package=objc2-core-text --package=objc2-core-video --package=objc2-core-wlan --package=objc2-data-detection --package=objc2-device-check --package=objc2-disk-arbitration --package=objc2-event-kit --package=objc2-exception-handling --package=objc2-extension-kit --package=objc2-external-accessory --package=objc2-file-provider --package=objc2-file-provider-ui --package=objc2-finder-sync --package=objc2-foundation --package=objc2-game-controller --package=objc2-game-kit --package=objc2-health-kit --package=objc2-identity-lookup --package=objc2-input-method-kit --package=objc2-io-surface --package=objc2-link-presentation --package=objc2-local-authentication --package=objc2-local-authentication-embedded-ui --package=objc2-mail-kit --package=objc2-map-kit --package=objc2-media-player --package=objc2-metal --package=objc2-metal-fx --package=objc2-metal-kit --package=objc2-metal-performance-shaders --package=objc2-metal-performance-shaders-graph --package=objc2-metric-kit --package=objc2-ml-compute --package=objc2-model-io --package=objc2-multipeer-connectivity --package=objc2-natural-language --package=objc2-nearby-interaction --package=objc2-network-extension --package=objc2-open-directory --package=objc2-osa-kit --package=objc2-photos --package=objc2-photos-ui --package=objc2-quartz-core --package=objc2-scene-kit --package=objc2-screen-capture-kit --package=objc2-screen-saver --package=objc2-security --package=objc2-sensitive-content-analysis --package=objc2-service-management --package=objc2-social --package=objc2-sound-analysis --package=objc2-speech --package=objc2-sprite-kit --package=objc2-store-kit --package=objc2-symbols --package=objc2-system-configuration --package=objc2-system-extensions --package=objc2-uniform-type-identifiers --package=objc2-user-notifications --package=objc2-video-toolbox --package=objc2-virtualization --package=objc2-vision --package=objc2-web-kit - FRAMEWORKS_IOS_10: --package=objc2-accounts --package=objc2-ad-support --package=objc2-audio-toolbox --package=objc2-av-foundation --package=objc2-av-kit --package=objc2-call-kit --package=objc2-cloud-kit --package=objc2-contacts --package=objc2-contacts-ui --package=objc2-core-audio --package=objc2-core-bluetooth --package=objc2-core-data --package=objc2-core-foundation --package=objc2-core-graphics --package=objc2-core-image --package=objc2-core-location --package=objc2-core-media --package=objc2-core-midi --package=objc2-core-motion --package=objc2-core-text --package=objc2-core-video --package=objc2-event-kit --package=objc2-event-kit-ui --package=objc2-external-accessory --package=objc2-foundation --package=objc2-game-controller --package=objc2-game-kit --package=objc2-health-kit --package=objc2-home-kit --package=objc2-local-authentication --package=objc2-map-kit --package=objc2-media-player --package=objc2-message-ui --package=objc2-messages --package=objc2-metal --package=objc2-metal-kit --package=objc2-metal-performance-shaders --package=objc2-model-io --package=objc2-multipeer-connectivity --package=objc2-network-extension --package=objc2-photos --package=objc2-photos-ui --package=objc2-quartz-core --package=objc2-scene-kit --package=objc2-security --package=objc2-social --package=objc2-speech --package=objc2-sprite-kit --package=objc2-store-kit --package=objc2-system-configuration --package=objc2-ui-kit --package=objc2-user-notifications --package=objc2-video-toolbox --package=objc2-watch-connectivity + FRAMEWORKS_IOS_10: --package=objc2-accounts --package=objc2-ad-support --package=objc2-audio-toolbox --package=objc2-av-foundation --package=objc2-av-kit --package=objc2-avf-audio --package=objc2-call-kit --package=objc2-cloud-kit --package=objc2-contacts --package=objc2-contacts-ui --package=objc2-core-audio --package=objc2-core-bluetooth --package=objc2-core-data --package=objc2-core-foundation --package=objc2-core-graphics --package=objc2-core-image --package=objc2-core-location --package=objc2-core-media --package=objc2-core-midi --package=objc2-core-motion --package=objc2-core-text --package=objc2-core-video --package=objc2-event-kit --package=objc2-event-kit-ui --package=objc2-external-accessory --package=objc2-foundation --package=objc2-game-controller --package=objc2-game-kit --package=objc2-health-kit --package=objc2-home-kit --package=objc2-local-authentication --package=objc2-map-kit --package=objc2-media-player --package=objc2-message-ui --package=objc2-messages --package=objc2-metal --package=objc2-metal-kit --package=objc2-metal-performance-shaders --package=objc2-model-io --package=objc2-multipeer-connectivity --package=objc2-network-extension --package=objc2-photos --package=objc2-photos-ui --package=objc2-quartz-core --package=objc2-scene-kit --package=objc2-security --package=objc2-social --package=objc2-speech --package=objc2-sprite-kit --package=objc2-store-kit --package=objc2-system-configuration --package=objc2-ui-kit --package=objc2-user-notifications --package=objc2-video-toolbox --package=objc2-watch-connectivity FRAMEWORKS_IOS_17: --package=objc2-accessibility --package=objc2-accounts --package=objc2-ad-services --package=objc2-ad-support --package=objc2-app-tracking-transparency --package=objc2-ar-kit --package=objc2-audio-toolbox --package=objc2-authentication-services --package=objc2-automatic-assessment-configuration --package=objc2-av-foundation --package=objc2-av-kit --package=objc2-av-routing --package=objc2-avf-audio --package=objc2-background-assets --package=objc2-background-tasks --package=objc2-business-chat --package=objc2-call-kit --package=objc2-class-kit --package=objc2-cloud-kit --package=objc2-color-sync --package=objc2-contacts --package=objc2-contacts-ui --package=objc2-core-audio --package=objc2-core-audio-types --package=objc2-core-bluetooth --package=objc2-core-data --package=objc2-core-foundation --package=objc2-core-graphics --package=objc2-core-image --package=objc2-core-location --package=objc2-core-media --package=objc2-core-midi --package=objc2-core-ml --package=objc2-core-motion --package=objc2-core-text --package=objc2-core-video --package=objc2-data-detection --package=objc2-device-check --package=objc2-event-kit --package=objc2-event-kit-ui --package=objc2-extension-kit --package=objc2-external-accessory --package=objc2-file-provider --package=objc2-file-provider-ui --package=objc2-foundation --package=objc2-game-controller --package=objc2-game-kit --package=objc2-health-kit --package=objc2-home-kit --package=objc2-identity-lookup --package=objc2-io-surface --package=objc2-link-presentation --package=objc2-local-authentication --package=objc2-local-authentication-embedded-ui --package=objc2-map-kit --package=objc2-media-player --package=objc2-message-ui --package=objc2-messages --package=objc2-metal --package=objc2-metal-kit --package=objc2-metal-performance-shaders --package=objc2-metal-performance-shaders-graph --package=objc2-metric-kit --package=objc2-model-io --package=objc2-multipeer-connectivity --package=objc2-natural-language --package=objc2-nearby-interaction --package=objc2-network-extension --package=objc2-photos --package=objc2-photos-ui --package=objc2-quartz-core --package=objc2-scene-kit --package=objc2-security --package=objc2-sensitive-content-analysis --package=objc2-social --package=objc2-sound-analysis --package=objc2-speech --package=objc2-sprite-kit --package=objc2-store-kit --package=objc2-symbols --package=objc2-system-configuration --package=objc2-ui-kit --package=objc2-uniform-type-identifiers --package=objc2-user-notifications --package=objc2-video-toolbox --package=objc2-vision --package=objc2-watch-connectivity --package=objc2-web-kit FRAMEWORKS_TVOS_17: --package=objc2-accessibility --package=objc2-ad-support --package=objc2-app-tracking-transparency --package=objc2-audio-toolbox --package=objc2-authentication-services --package=objc2-av-foundation --package=objc2-av-kit --package=objc2-avf-audio --package=objc2-background-tasks --package=objc2-cloud-kit --package=objc2-color-sync --package=objc2-core-audio --package=objc2-core-audio-types --package=objc2-core-bluetooth --package=objc2-core-data --package=objc2-core-foundation --package=objc2-core-graphics --package=objc2-core-image --package=objc2-core-location --package=objc2-core-media --package=objc2-core-midi --package=objc2-core-ml --package=objc2-core-text --package=objc2-core-video --package=objc2-data-detection --package=objc2-device-check --package=objc2-extension-kit --package=objc2-external-accessory --package=objc2-foundation --package=objc2-game-controller --package=objc2-game-kit --package=objc2-home-kit --package=objc2-io-surface --package=objc2-link-presentation --package=objc2-map-kit --package=objc2-media-player --package=objc2-metal --package=objc2-metal-kit --package=objc2-metal-performance-shaders --package=objc2-metal-performance-shaders-graph --package=objc2-ml-compute --package=objc2-model-io --package=objc2-multipeer-connectivity --package=objc2-natural-language --package=objc2-network-extension --package=objc2-photos --package=objc2-photos-ui --package=objc2-quartz-core --package=objc2-scene-kit --package=objc2-security --package=objc2-sound-analysis --package=objc2-sprite-kit --package=objc2-store-kit --package=objc2-symbols --package=objc2-system-configuration --package=objc2-ui-kit --package=objc2-uniform-type-identifiers --package=objc2-user-notifications --package=objc2-video-toolbox --package=objc2-vision FRAMEWORKS_MAC_CATALYST_17: --package=objc2-accessibility --package=objc2-accounts --package=objc2-ad-services --package=objc2-ad-support --package=objc2-app-kit --package=objc2-app-tracking-transparency --package=objc2-ar-kit --package=objc2-audio-toolbox --package=objc2-authentication-services --package=objc2-automatic-assessment-configuration --package=objc2-automator --package=objc2-av-foundation --package=objc2-av-kit --package=objc2-av-routing --package=objc2-avf-audio --package=objc2-background-assets --package=objc2-background-tasks --package=objc2-business-chat --package=objc2-call-kit --package=objc2-class-kit --package=objc2-cloud-kit --package=objc2-color-sync --package=objc2-contacts --package=objc2-contacts-ui --package=objc2-core-audio --package=objc2-core-audio-types --package=objc2-core-bluetooth --package=objc2-core-data --package=objc2-core-foundation --package=objc2-core-graphics --package=objc2-core-image --package=objc2-core-location --package=objc2-core-media --package=objc2-core-midi --package=objc2-core-ml --package=objc2-core-motion --package=objc2-core-text --package=objc2-core-video --package=objc2-core-wlan --package=objc2-data-detection --package=objc2-device-check --package=objc2-disk-arbitration --package=objc2-event-kit --package=objc2-event-kit-ui --package=objc2-exception-handling --package=objc2-extension-kit --package=objc2-external-accessory --package=objc2-file-provider-ui --package=objc2-foundation --package=objc2-game-controller --package=objc2-game-kit --package=objc2-health-kit --package=objc2-home-kit --package=objc2-identity-lookup --package=objc2-io-surface --package=objc2-link-presentation --package=objc2-local-authentication --package=objc2-local-authentication-embedded-ui --package=objc2-map-kit --package=objc2-media-player --package=objc2-message-ui --package=objc2-messages --package=objc2-metal --package=objc2-metal-fx --package=objc2-metal-kit --package=objc2-metal-performance-shaders --package=objc2-metal-performance-shaders-graph --package=objc2-metric-kit --package=objc2-ml-compute --package=objc2-model-io --package=objc2-multipeer-connectivity --package=objc2-natural-language --package=objc2-nearby-interaction --package=objc2-network-extension --package=objc2-open-directory --package=objc2-photos --package=objc2-photos-ui --package=objc2-quartz-core --package=objc2-scene-kit --package=objc2-security --package=objc2-sensitive-content-analysis --package=objc2-service-management --package=objc2-social --package=objc2-sound-analysis --package=objc2-speech --package=objc2-sprite-kit --package=objc2-store-kit --package=objc2-symbols --package=objc2-system-configuration --package=objc2-ui-kit --package=objc2-uniform-type-identifiers --package=objc2-user-notifications --package=objc2-video-toolbox --package=objc2-vision --package=objc2-watch-connectivity --package=objc2-web-kit @@ -64,11 +64,6 @@ env: # The current nightly Rust version. Keep this synced with `rust-toolchain.toml` CURRENT_NIGHTLY: nightly-2024-12-30 - # Various features that we'd usually want to test with - # - # Note: The `exception` feature is not enabled here, since it requires - # compiling C code, even if just running a `check`/`clippy` build. - INTERESTING_FEATURES: --features=block2,unstable-private,all # https://doc.rust-lang.org/cargo/guide/cargo-home.html#caching-the-cargo-home-in-ci # Note: We don't cache `~/.cargo/bin`, that is done separately when needed. CARGO_CACHE_PATH: | @@ -109,21 +104,21 @@ jobs: # This should give us fairly good coverage for normal PRs. - name: macOS x86_64 target: x86_64-apple-darwin - args: $PUBLIC_CRATES $FRAMEWORKS_MACOS_14 $INTERESTING_FEATURES + args: $PUBLIC_CRATES $FRAMEWORKS_MACOS_14 - name: iOS ARMv7s target: armv7s-apple-ios build-std: true # `cc` works poorly when cross-compiling, so let's ignore `objc2-exception-helper` for now. - args: --package=dispatch2 --package=block2 --package=objc2 --package=objc2-encode --package=objc2-proc-macros $FRAMEWORKS_IOS_17 $INTERESTING_FEATURES -Zbuild-std + args: --package=dispatch2 --package=block2 --package=objc2 --package=objc2-encode --package=objc2-proc-macros $FRAMEWORKS_IOS_17 -Zbuild-std - name: visionOS Aarch64 simulator target: aarch64-apple-visionos-sim build-std: true # `cc` works poorly when cross-compiling, so let's ignore `objc2-exception-helper` for now. - args: --package=dispatch2 --package=block2 --package=objc2 --package=objc2-encode --package=objc2-proc-macros $FRAMEWORKS_VISIONOS_1 $INTERESTING_FEATURES -Zbuild-std + args: --package=dispatch2 --package=block2 --package=objc2 --package=objc2-encode --package=objc2-proc-macros $FRAMEWORKS_VISIONOS_1 -Zbuild-std - name: GNUStep + exceptions target: x86_64-unknown-linux-gnu - args: $PUBLIC_CRATES $FRAMEWORKS_GNUSTEP $INTERESTING_FEATURES --features=gnustep-1-9,catch-all + args: $PUBLIC_CRATES $FRAMEWORKS_GNUSTEP --features=gnustep-1-9,catch-all - name: header-translator target: x86_64-unknown-linux-gnu @@ -199,7 +194,7 @@ jobs: key: cargo-${{ github.job }}-${{ matrix.name }}-${{ hashFiles('**/Cargo.lock') }} - name: cargo check - run: cargo check --package=dispatch2 --package=block2 --package=objc2 --package=objc2-encode --package=objc2-proc-macros $FRAMEWORKS_MACOS_14 --features=all + run: cargo check --package=dispatch2 --package=block2 --package=objc2 --package=objc2-encode --package=objc2-proc-macros $FRAMEWORKS_MACOS_14 env: RUSTFLAGS: "--codegen=debuginfo=0" # Removed --deny=warnings @@ -377,7 +372,7 @@ jobs: run: cargo test $PUBLIC_CRATES -ptests - name: Test all frameworks - run: cargo test $PUBLIC_CRATES $FRAMEWORKS_MACOS_10_12 -ptests $INTERESTING_FEATURES + run: cargo test $PUBLIC_CRATES $FRAMEWORKS_MACOS_10_12 -ptests test-apple: if: ${{ github.ref_name == 'ci-full' }} @@ -541,17 +536,17 @@ jobs: run: cargo test $ARGS $PUBLIC_CRATES -ptests - name: Test Foundation - run: cargo test $ARGS $PUBLIC_CRATES -ptests $INTERESTING_FEATURES -pobjc2-foundation + run: cargo test $ARGS $PUBLIC_CRATES -ptests -pobjc2-foundation - name: Test all frameworks - run: cargo test $ARGS $PUBLIC_CRATES -ptests $INTERESTING_FEATURES --features=catch-all $FRAMEWORKS_${{ matrix.frameworks }} + run: cargo test $ARGS $PUBLIC_CRATES -ptests --features=catch-all $FRAMEWORKS_${{ matrix.frameworks }} - name: Test Foundation in release mode - run: cargo test $ARGS $PUBLIC_CRATES -ptests $INTERESTING_FEATURES -pobjc2-foundation --features=catch-all --release + run: cargo test $ARGS $PUBLIC_CRATES -ptests -pobjc2-foundation --features=catch-all --release - name: Test Foundation with unstable features if: ${{ matrix.nightly }} - run: cargo test $ARGS $PUBLIC_CRATES -ptests $INTERESTING_FEATURES -pobjc2-foundation --features=catch-all,unstable-autoreleasesafe ${{ matrix.sdk != '10.12' && '--features=unstable-simd' || '' }} + run: cargo test $ARGS $PUBLIC_CRATES -ptests -pobjc2-foundation --features=catch-all,unstable-autoreleasesafe ${{ matrix.sdk != '10.12' && '--features=unstable-simd' || '' }} # TODO: Re-enable this on all of Foundation once we do some form of # availability checking. @@ -608,7 +603,7 @@ jobs: echo "SIM_ID=$SIM_ID" >> $GITHUB_ENV - name: Test - run: cargo-dinghy --device=$SIM_ID test $PUBLIC_CRATES $FRAMEWORKS_IOS_10 -ptests $INTERESTING_FEATURES --features=catch-all + run: cargo-dinghy --device=$SIM_ID test $PUBLIC_CRATES $FRAMEWORKS_IOS_10 -ptests --features=catch-all test-gnustep: name: ${{ matrix.name }} @@ -821,11 +816,11 @@ jobs: run: cargo install cargo-fuzz --version=^0.11.2 - name: Test Foundation - run: cargo test --features=${{ matrix.runtime }} $PUBLIC_CRATES $INTERESTING_FEATURES -ptests -pobjc2-foundation --features=catch-all + run: cargo test --features=${{ matrix.runtime }} $PUBLIC_CRATES -ptests -pobjc2-foundation --features=catch-all - name: Test all frameworks if: ${{ github.ref_name == 'ci-full' && matrix.target == 'x86_64-unknown-linux-gnu' }} - run: cargo test --features=${{ matrix.runtime }} $PUBLIC_CRATES $INTERESTING_FEATURES -ptests $FRAMEWORKS_GNUSTEP --features=catch-all + run: cargo test --features=${{ matrix.runtime }} $PUBLIC_CRATES -ptests $FRAMEWORKS_GNUSTEP --features=catch-all - name: Test in release mode # Disabled on GNUStep 2.1 for now diff --git a/Cargo.toml b/Cargo.toml index 52af5eba6..677844282 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -48,7 +48,6 @@ push-remote = "0origin" shared-version = true # Framework crates share a version number tag-prefix = "icrate" tag-name = "{{prefix}}-{{version}}" -enable-features = ["all"] owners = ["madsmtm", "simlay"] # TODO: Check for typos in CI diff --git a/crates/block2/Cargo.toml b/crates/block2/Cargo.toml index 951258ef4..5e21f44c9 100644 --- a/crates/block2/Cargo.toml +++ b/crates/block2/Cargo.toml @@ -73,4 +73,3 @@ targets = [ [package.metadata.release] shared-version = false tag-prefix = "block" -enable-features = [] diff --git a/crates/block2/translation-config.toml b/crates/block2/translation-config.toml index b215324aa..c6de6d044 100644 --- a/crates/block2/translation-config.toml +++ b/crates/block2/translation-config.toml @@ -1,6 +1,6 @@ framework = "block" crate = "block2" -required-crates = [] +required-crates = ["objc2"] link = false skipped = true is-library = true diff --git a/crates/dispatch2/Cargo.modified.toml b/crates/dispatch2/Cargo.modified.toml index 947f2c40c..aeca68aed 100644 --- a/crates/dispatch2/Cargo.modified.toml +++ b/crates/dispatch2/Cargo.modified.toml @@ -11,4 +11,3 @@ static_assertions = "1.1.0" [package.metadata.release] shared-version = false tag-prefix = "dispatch" -enable-features = [] diff --git a/crates/dispatch2/Cargo.toml b/crates/dispatch2/Cargo.toml index 409984510..dc47399c8 100644 --- a/crates/dispatch2/Cargo.toml +++ b/crates/dispatch2/Cargo.toml @@ -24,7 +24,6 @@ objc2 = { path = "../objc2", version = "0.5.2", default-features = false, option [package.metadata.docs.rs] default-target = "aarch64-apple-darwin" -features = ["all"] rustc-args = ["--cfg", "docsrs"] # Fix cross-crate link to objc2::topics targets = [ "aarch64-apple-darwin", @@ -39,23 +38,21 @@ targets = [ ] [features] -default = ["std"] +default = [ + "std", + "block2", + "libc", + "objc2", +] std = ["alloc"] alloc = [] block2 = ["dep:block2"] libc = ["dep:libc"] objc2 = ["dep:objc2"] -all = [ - "block2", - "libc", - "objc2", -] - [package.metadata.release] shared-version = false tag-prefix = "dispatch" -enable-features = [] [dev-dependencies] static_assertions = "1.1.0" diff --git a/crates/header-translator/src/bin/check_framework_features.rs b/crates/header-translator/src/bin/check_framework_features.rs index bcaa6d406..5bcb2de93 100644 --- a/crates/header-translator/src/bin/check_framework_features.rs +++ b/crates/header-translator/src/bin/check_framework_features.rs @@ -35,10 +35,10 @@ fn get_features(cargo_toml: &Path) -> Result, Box> { let cargo_toml = fs::read_to_string(cargo_toml)?; let CargoToml { features } = basic_toml::from_str(&cargo_toml)?; - // Skip GNUStep-related and "all" features + // Skip GNUStep-related and "default" features Ok(features .into_keys() - .filter(|feature| !feature.contains("gnustep") && feature != "all") + .filter(|feature| !feature.contains("gnustep") && feature != "default") .collect()) } @@ -53,6 +53,7 @@ fn test_feature_sets<'a>( cmd.arg("check"); cmd.arg("--package"); cmd.arg(package); + cmd.arg("--no-default-features"); cmd.arg("--features"); cmd.arg(features.join(",")); @@ -132,7 +133,7 @@ fn main() -> Result<(), Box> { for dir in workspace_dir.join("framework-crates").read_dir().unwrap() { let dir = dir.unwrap(); if dir.file_type().unwrap().is_dir() { - let feature_sets = [vec!["all"]]; + let feature_sets = [vec!["default"]]; // println!("Testing all {dir:?} features"); // let features = get_features(&dir.path().join("Cargo.toml"))?; // let feature_sets = features.iter().map(|feature| { diff --git a/crates/header-translator/src/config.rs b/crates/header-translator/src/config.rs index 85f4a5a31..bb29668a1 100644 --- a/crates/header-translator/src/config.rs +++ b/crates/header-translator/src/config.rs @@ -239,6 +239,48 @@ pub struct LibraryConfig { pub typedef_data: HashMap, } +impl LibraryConfig { + // TODO: Merge this with `Availability` somehow. + pub(crate) fn can_safely_depend_on(&self, other: &Self) -> bool { + fn inner( + ours: &Option, + other: &Option, + rust_min: semver::Version, + ) -> bool { + match (ours, other) { + // If both libraries have a platform version, then ensure that + // ours is within the minimum of the other, OR that Rust's + // default min version is high enough that it won't matter. + (Some(ours), Some(other)) => other <= ours || *other <= rust_min, + // If only we have support for a platform, then we will emit a + // cfg-guarded [dependencies] table (done elsewhere), and thus + // it won't affect whether we can safely depend on it. + (Some(_), None) => true, + // If only the other library has support for platform, then + // that's fine. + (None, Some(_)) => true, + // If neither library support the platform, that's also fine. + (None, None) => true, + } + } + + inner(&self.macos, &other.macos, semver::Version::new(10, 12, 0)) + && inner( + &self.maccatalyst, + &other.maccatalyst, + semver::Version::new(13, 1, 0), + ) + && inner(&self.ios, &other.ios, semver::Version::new(10, 0, 0)) + && inner(&self.tvos, &other.tvos, semver::Version::new(10, 0, 0)) + && inner(&self.watchos, &other.watchos, semver::Version::new(5, 0, 0)) + && inner( + &self.visionos, + &other.visionos, + semver::Version::new(1, 0, 0), + ) + } +} + #[derive(Deserialize, Debug, Default, Clone, PartialEq, Eq)] #[serde(deny_unknown_fields)] pub struct Example { diff --git a/crates/header-translator/src/default_cargo.toml b/crates/header-translator/src/default_cargo.toml index c9f323c67..699a55abf 100644 --- a/crates/header-translator/src/default_cargo.toml +++ b/crates/header-translator/src/default_cargo.toml @@ -19,7 +19,6 @@ workspace = true [package.metadata.docs.rs] default-target = "UNSET" -features = ["all"] rustc-args = ["--cfg", "docsrs"] # Fix cross-crate link to objc2::topics targets = [ ] diff --git a/crates/header-translator/src/library.rs b/crates/header-translator/src/library.rs index 937bdfad8..34bffa7d8 100644 --- a/crates/header-translator/src/library.rs +++ b/crates/header-translator/src/library.rs @@ -5,6 +5,7 @@ use std::fmt; use std::fs; use std::io::ErrorKind; use std::io::Write; +use std::iter; use std::path::Path; use toml_edit::InlineTable; @@ -389,33 +390,76 @@ see that for related crates.", self.data.krate)?; } let mut emitted_features = self.emitted_features(config); - let _ = emitted_features.insert( - "all".to_string(), - emitted_features.keys().cloned().collect::>(), + + // All features are enabled by default, except for frameworks that + // would bump the minimum version of the library. + // + // The reasoning is that default features are meant for ease of use, + // especially so in end-user binaries and hobby projects. But we also + // don't want to make the user's binary incompatible with older OSes + // if they didn't explicitly opt-in to that. + // + // End result: The "only" cost is compilation time (vs. wasted + // developer time in finding each feature gate, or an unintentionally + // raised minimum OS version). + // + // And yes, libraries that use these crates _will_ want to disable + // default features, but that's the name of the game. + // + // We _could_ technically try to do something fancy to avoid e.g. + // `objc2-app-kit` pulling in `objc2-core-data`, since that is rarely + // needed, but where do we draw the line? And besides, that just masks + // the problem, library developers _should_ also disable the file + // features that they don't use if they really care about compilation + // time. + // + // See also https://github.com/madsmtm/objc2/issues/627. + let is_default_feature = |feature| { + if let Some(lib) = config.try_library_from_crate(feature) { + // Dependency feature + self.data.can_safely_depend_on(lib) || !lib.link + } else { + // File feature + true + } + }; + cargo_toml["features"]["default"] = array_with_newlines( + iter::once("std".to_string()).chain( + emitted_features + .keys() + .filter(|feature| is_default_feature(feature)) + .cloned(), + ), ); - // Emit crates first. + // Enable non-default features when building docs. + let non_default_features: Vec<_> = emitted_features + .keys() + .filter(|feature| !is_default_feature(feature)) + .cloned() + .collect(); + if !non_default_features.is_empty() { + cargo_toml["package"]["metadata"]["docs"]["rs"]["features"] = + array_with_newlines(non_default_features); + } + + // Emit crate features first (the "default" feature overrides in + // `default_cargo.toml`). for (feature, _) in emitted_features.clone().iter() { if config.try_library_from_crate(feature).is_none() { continue; } let enabled_features = emitted_features.remove(feature).unwrap(); - let array: Array = enabled_features.iter().collect(); - cargo_toml["features"][feature] = value(array); + cargo_toml["features"][feature] = array_with_newlines(enabled_features); } - add_newline_at_end(&mut cargo_toml["features"]); + // And then the rest of the features. + if !emitted_features.is_empty() { + add_newline_at_end(&mut cargo_toml["features"]); + } for (feature, enabled_features) in emitted_features { - let mut array: Array = enabled_features.into_iter().collect(); - if 1 < array.len() { - for item in array.iter_mut() { - item.decor_mut().set_prefix("\n "); - } - array.set_trailing("\n"); - array.set_trailing_comma(true); - } if cargo_toml["features"].get(&feature).is_none() { - cargo_toml["features"][feature] = value(array); + cargo_toml["features"][feature] = array_with_newlines(enabled_features); } } @@ -546,6 +590,18 @@ fn add_newline_at_end(item: &mut Item) { .set_suffix("\n"); } +fn array_with_newlines(features: impl IntoIterator) -> Item { + let mut array: Array = features.into_iter().collect(); + if 1 < array.len() { + for item in array.iter_mut() { + item.decor_mut().set_prefix("\n "); + } + array.set_trailing("\n"); + array.set_trailing_comma(true); + } + value(array) +} + pub trait EntryExt<'a> { fn implicit_table(self) -> &'a mut Table; } diff --git a/crates/header-translator/src/main.rs b/crates/header-translator/src/main.rs index 7db9fc58a..0f8b48e47 100644 --- a/crates/header-translator/src/main.rs +++ b/crates/header-translator/src/main.rs @@ -567,22 +567,32 @@ fn update_ci(workspace_dir: &Path, config: &Config) -> io::Result<()> { Ok(()) } + // HACK: Linking `objc2-avf-audio` on older systems is not possible + // without an SDK that's new enough. + let uses_avf_audio = |lib: &LibraryConfig| { + matches!( + &*lib.krate, + "objc2-avf-audio" + | "objc2-av-foundation" + | "objc2-av-kit" + | "objc2-media-player" + | "objc2-photos" + | "objc2-photos-ui" + | "objc2-sprite-kit" + | "objc2-scene-kit" + ) + }; writer(&mut ci, config, "FRAMEWORKS_MACOS_10_12", |lib| { lib.macos .as_ref() .is_some_and(|v| VersionReq::parse("<=10.12").unwrap().matches(v)) - // HACK: These depend on `objc2-uniform-type-identifiers` or - // `objc2-core-ml`, which is not available on macOS 10.12, but - // will be enabled by `"all"`. - && !["objc2-app-kit", "objc2-file-provider", "objc2-health-kit", "objc2-photos", "objc2-core-image"].contains(&&*lib.krate) + && !uses_avf_audio(lib) })?; writer(&mut ci, config, "FRAMEWORKS_MACOS_10_13", |lib| { lib.macos .as_ref() .is_some_and(|v| VersionReq::parse("<=10.13").unwrap().matches(v)) - // HACK: These depend on `objc2-uniform-type-identifiers`, which - // is not available on macOS 10.13, but will be enabled by `"all"` - && !["objc2-app-kit", "objc2-file-provider", "objc2-health-kit", "objc2-photos"].contains(&&*lib.krate) + && !uses_avf_audio(lib) })?; writer(&mut ci, config, "FRAMEWORKS_MACOS_11", |lib| { lib.macos @@ -705,14 +715,15 @@ fn update_test_metadata<'a>( let mut features = toml_edit::Array::new(); for lib in libraries.clone() { - features.push(format!("dep:{}", lib.krate)); - features.push(format!("{}/all", lib.krate)); + // Add feature per crate. + // + // This is required for some reason for `cargo run --example` to work + // nicely in our workspace. + cargo_toml["features"][&lib.krate] = + toml_edit::Array::from_iter([format!("dep:{}", lib.krate)]).into(); + + features.push(lib.krate.to_string()); // Inserting into array removes decor, so set it afterwards - features - .get_mut(features.len() - 2) - .unwrap() - .decor_mut() - .set_prefix("\n "); features .get_mut(features.len() - 1) .unwrap() diff --git a/crates/objc2-encode/Cargo.toml b/crates/objc2-encode/Cargo.toml index 9bec73dfe..4580382a7 100644 --- a/crates/objc2-encode/Cargo.toml +++ b/crates/objc2-encode/Cargo.toml @@ -42,4 +42,3 @@ targets = [ [package.metadata.release] shared-version = false tag-prefix = "objc-encode" -enable-features = [] diff --git a/crates/objc2-exception-helper/Cargo.toml b/crates/objc2-exception-helper/Cargo.toml index fc76659fd..e7cf41d87 100644 --- a/crates/objc2-exception-helper/Cargo.toml +++ b/crates/objc2-exception-helper/Cargo.toml @@ -58,4 +58,3 @@ targets = [ [package.metadata.release] shared-version = false tag-prefix = "objc2-exception-helper" -enable-features = [] diff --git a/crates/objc2-proc-macros/Cargo.toml b/crates/objc2-proc-macros/Cargo.toml index 6bb89e2cc..971ddf332 100644 --- a/crates/objc2-proc-macros/Cargo.toml +++ b/crates/objc2-proc-macros/Cargo.toml @@ -47,4 +47,3 @@ targets = [ [package.metadata.release] shared-version = false tag-prefix = "objc-proc-macros" -enable-features = [] diff --git a/crates/objc2/Cargo.toml b/crates/objc2/Cargo.toml index e630213aa..6f3b9ed86 100644 --- a/crates/objc2/Cargo.toml +++ b/crates/objc2/Cargo.toml @@ -179,4 +179,3 @@ targets = [ [package.metadata.release] shared-version = false tag-prefix = "objc" -enable-features = [] diff --git a/crates/objc2/src/topics/about_generated/CHANGELOG.md b/crates/objc2/src/topics/about_generated/CHANGELOG.md index 4f86d788f..fca926923 100644 --- a/crates/objc2/src/topics/about_generated/CHANGELOG.md +++ b/crates/objc2/src/topics/about_generated/CHANGELOG.md @@ -60,6 +60,48 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). (similar to what's done on methods). ### Changed +* Enabled all Cargo features by default, and removed the previous `"all"` + feature for doing this. + + If you're writing a library, you likely want to disable default features, + and spell out the desired features explicitly, to avoid large compile-times + for your consumers. + + Recommended for **library** crates: + ```toml + # Before + [dependencies] + objc2-foundation = { version = "0.2", features = [ + "NSNotification", + "NSString", + "NSThread", + "NSObject", + "NSArray", + ] } + + # After + [dependencies] + # Added `default-features = false` + objc2-foundation = { version = "0.3", default-features = false, features = [ + "NSNotification", + "NSString", + "NSThread", + "NSObject", + "NSArray", + ] } + ``` + + Recommended for **binary** crates: + ```toml + # Before + [dependencies] + objc2-foundation = { version = "0.2", features = ["all"] } + + # After + [dependencies] + # Removed "all" feature + objc2-foundation = "0.3" + ``` * Moved `MainThreadBound` and `run_on_main` to the `dispatch2` crate. * Removed `HasStableHash` requirement on `NSDictionary` and `NSSet` creation methods. This was added in an abundance of caution, but prevents real-world diff --git a/crates/objc2/src/topics/about_generated/cargo_features.md b/crates/objc2/src/topics/about_generated/cargo_features.md index 2abb47d4e..5ce907dbb 100644 --- a/crates/objc2/src/topics/about_generated/cargo_features.md +++ b/crates/objc2/src/topics/about_generated/cargo_features.md @@ -1,17 +1,18 @@ -# Cargo features in framework crates +# Cargo features and long compile-times in framework crates Each framework crate has a set of Cargo features that control which parts of it that is enabled. These are split into two categories; file and dependency features. -This is quite important for compilation speed, but if you don't want to bother -with it, such as when just starting a new project and experimenting or when -running an example, use the `"all"` feature. +**Most features are enabled by default** for ease of use for newcomers / in +small hobby projects, but if you're developing a library for others to use, it +is recommended that you disable them by adding `default-features = false` +[to your `Cargo.toml`][cargo-dep-features]. + +This can vastly help reduce the compile-time of the framework crates. + +[cargo-dep-features]: https://doc.rust-lang.org/cargo/reference/features.html#dependency-features -A complication is that ... -- Rust can't do automatic linking yet, so we don't get the benefits from the linker removing libraries that aren't needed. - - Which means that every dependency/framework should ideally be explicitly requested by the user. - - Otherwise, e.g. UniformTypeIdentifiers might get linked, which is only available on newer OSes, and hence would fail at runtime on older OSes. ## File features @@ -45,3 +46,17 @@ dependency if you didn't need that class. Such optional dependencies can be enabled with Cargo features of the same name as the dependency. + + +### Linking and minimum version compatibility + +A few select dependency features are **not** enabled by default, as these +would raise the minimum supported version of your application. An example is +the `objc2-uniform-type-identifiers` dependency of the `objc2-app-kit` crate, +which was first introduced in macOS 11.0. If you want to use capabilities from +that framework in `objc2-app-kit`, you have to enable the feature manually. + +(Note that this _could_ also have been worked around by the user with the +`-weak_framework UniformTypeIdentifiers` linker flag, but that's not very +discoverable, so `objc2` chooses to default to making your application +portable across the full set of versions that Rust supports). diff --git a/crates/test-assembly/crates/test_define_class/Cargo.toml b/crates/test-assembly/crates/test_define_class/Cargo.toml index 965560087..b4b645c5e 100644 --- a/crates/test-assembly/crates/test_define_class/Cargo.toml +++ b/crates/test-assembly/crates/test_define_class/Cargo.toml @@ -8,22 +8,23 @@ 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 = [ + "block2", + "NSObject", + "NSZone", +]} [features] -default = ["all", "objc2", "objc2-foundation"] # 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"] - -# 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"] +# Hack to prevent these feature flags from being enabled in the entire project +assembly-features = ["objc2/unstable-static-sel-inlined", "objc2/unstable-static-class-inlined"] [package.metadata.release] release = false diff --git a/crates/test-assembly/crates/test_extern_protocol/Cargo.toml b/crates/test-assembly/crates/test_extern_protocol/Cargo.toml index ad92ece22..ecd3848f0 100644 --- a/crates/test-assembly/crates/test_extern_protocol/Cargo.toml +++ b/crates/test-assembly/crates/test_extern_protocol/Cargo.toml @@ -8,19 +8,18 @@ publish = false path = "lib.rs" [dependencies] -objc2 = { path = "../../../objc2", optional = true } +objc2 = { path = "../../../objc2" } [features] -default = ["objc2"] # Runtime -gnustep-1-7 = ["objc2?/gnustep-1-7"] -gnustep-1-8 = ["gnustep-1-7", "objc2?/gnustep-1-8"] -gnustep-1-9 = ["gnustep-1-8", "objc2?/gnustep-1-9"] -gnustep-2-0 = ["gnustep-1-9", "objc2?/gnustep-2-0"] -gnustep-2-1 = ["gnustep-2-0", "objc2?/gnustep-2-1"] +gnustep-1-7 = ["objc2/gnustep-1-7"] +gnustep-1-8 = ["gnustep-1-7", "objc2/gnustep-1-8"] +gnustep-1-9 = ["gnustep-1-8", "objc2/gnustep-1-9"] +gnustep-2-0 = ["gnustep-1-9", "objc2/gnustep-2-0"] +gnustep-2-1 = ["gnustep-2-0", "objc2/gnustep-2-1"] -# Hack to prevent the feature flag from being enabled in the entire project -assembly-features = ["objc2?/unstable-static-sel-inlined"] +# Hack to prevent this feature flag from being enabled in the entire project +assembly-features = ["objc2/unstable-static-sel-inlined"] [package.metadata.release] release = false diff --git a/crates/test-assembly/crates/test_fast_enumeration/Cargo.toml b/crates/test-assembly/crates/test_fast_enumeration/Cargo.toml index 7b7c82edb..92fb82855 100644 --- a/crates/test-assembly/crates/test_fast_enumeration/Cargo.toml +++ b/crates/test-assembly/crates/test_fast_enumeration/Cargo.toml @@ -9,11 +9,13 @@ path = "lib.rs" [dependencies] objc2 = { path = "../../../objc2" } -objc2-foundation = { path = "../../../../framework-crates/objc2-foundation" } +objc2-foundation = { path = "../../../../framework-crates/objc2-foundation", features = [ + "block2", + "NSEnumerator", + "NSArray", +]} [features] -default = ["all"] - # Runtime gnustep-1-7 = ["objc2-foundation/gnustep-1-7"] gnustep-1-8 = ["gnustep-1-7", "objc2-foundation/gnustep-1-8"] @@ -21,10 +23,8 @@ gnustep-1-9 = ["gnustep-1-8", "objc2-foundation/gnustep-1-9"] gnustep-2-0 = ["gnustep-1-9", "objc2-foundation/gnustep-2-0"] gnustep-2-1 = ["gnustep-2-0", "objc2-foundation/gnustep-2-1"] -all = ["objc2-foundation/block2", "objc2-foundation/NSEnumerator", "objc2-foundation/NSArray"] - # Hack -assembly-features = ["all"] # "objc2/unstable-static-sel-inlined" +assembly-features = [] # "objc2/unstable-static-sel-inlined" [package.metadata.release] release = false diff --git a/crates/test-assembly/crates/test_fast_enumeration/lib.rs b/crates/test-assembly/crates/test_fast_enumeration/lib.rs index 934f44933..64b1fea17 100644 --- a/crates/test-assembly/crates/test_fast_enumeration/lib.rs +++ b/crates/test-assembly/crates/test_fast_enumeration/lib.rs @@ -1,5 +1,4 @@ //! Test that fast enumeration is handled efficiently. -#![cfg(feature = "all")] use core::hint::black_box; use objc2_foundation::array::IterUnchecked; diff --git a/crates/test-assembly/crates/test_msg_send_static_sel/Cargo.toml b/crates/test-assembly/crates/test_msg_send_static_sel/Cargo.toml index 50dfdcf91..1a0f1abab 100644 --- a/crates/test-assembly/crates/test_msg_send_static_sel/Cargo.toml +++ b/crates/test-assembly/crates/test_msg_send_static_sel/Cargo.toml @@ -8,19 +8,18 @@ publish = false path = "lib.rs" [dependencies] -objc2 = { path = "../../../objc2", optional = true } +objc2 = { path = "../../../objc2" } [features] -default = ["objc2"] # Runtime -gnustep-1-7 = ["objc2?/gnustep-1-7"] -gnustep-1-8 = ["gnustep-1-7", "objc2?/gnustep-1-8"] -gnustep-1-9 = ["gnustep-1-8", "objc2?/gnustep-1-9"] -gnustep-2-0 = ["gnustep-1-9", "objc2?/gnustep-2-0"] -gnustep-2-1 = ["gnustep-2-0", "objc2?/gnustep-2-1"] +gnustep-1-7 = ["objc2/gnustep-1-7"] +gnustep-1-8 = ["gnustep-1-7", "objc2/gnustep-1-8"] +gnustep-1-9 = ["gnustep-1-8", "objc2/gnustep-1-9"] +gnustep-2-0 = ["gnustep-1-9", "objc2/gnustep-2-0"] +gnustep-2-1 = ["gnustep-2-0", "objc2/gnustep-2-1"] # Hack to prevent the feature flag from being enabled in the entire project -assembly-features = ["objc2?/unstable-static-sel-inlined"] +assembly-features = ["objc2/unstable-static-sel-inlined"] [package.metadata.release] release = false diff --git a/crates/test-assembly/crates/test_ns_string/Cargo.toml b/crates/test-assembly/crates/test_ns_string/Cargo.toml index f596ad476..149b4813e 100644 --- a/crates/test-assembly/crates/test_ns_string/Cargo.toml +++ b/crates/test-assembly/crates/test_ns_string/Cargo.toml @@ -8,11 +8,12 @@ publish = false path = "lib.rs" [dependencies] -objc2-foundation = { path = "../../../../framework-crates/objc2-foundation" } +objc2-foundation = { path = "../../../../framework-crates/objc2-foundation", features = [ + "block2", + "NSString", +]} [features] -default = ["all"] - # Runtime gnustep-1-7 = ["objc2-foundation/gnustep-1-7"] gnustep-1-8 = ["gnustep-1-7", "objc2-foundation/gnustep-1-8"] @@ -20,10 +21,8 @@ gnustep-1-9 = ["gnustep-1-8", "objc2-foundation/gnustep-1-9"] gnustep-2-0 = ["gnustep-1-9", "objc2-foundation/gnustep-2-0"] gnustep-2-1 = ["gnustep-2-0", "objc2-foundation/gnustep-2-1"] -all = ["objc2-foundation/block2", "objc2-foundation/NSString"] - # Hack -assembly-features = ["all", "objc2-foundation/unstable-static-nsstring"] +assembly-features = ["objc2-foundation/unstable-static-nsstring"] [package.metadata.release] release = false diff --git a/crates/test-assembly/crates/test_ns_string/lib.rs b/crates/test-assembly/crates/test_ns_string/lib.rs index 202fddd21..2d643c243 100644 --- a/crates/test-assembly/crates/test_ns_string/lib.rs +++ b/crates/test-assembly/crates/test_ns_string/lib.rs @@ -1,6 +1,4 @@ //! Test the output of the `ns_string!` macro. -#![cfg(feature = "all")] - use objc2_foundation::{ns_string, NSString}; // Temporary to allow testing putting string references in statics. diff --git a/crates/test-assembly/crates/test_static_sel/Cargo.toml b/crates/test-assembly/crates/test_static_sel/Cargo.toml index 7c4d53b95..85475bc8e 100644 --- a/crates/test-assembly/crates/test_static_sel/Cargo.toml +++ b/crates/test-assembly/crates/test_static_sel/Cargo.toml @@ -8,19 +8,19 @@ publish = false path = "lib.rs" [dependencies] -objc2 = { path = "../../../objc2", optional = true } +objc2 = { path = "../../../objc2" } [features] -default = ["objc2"] +default = [] # Runtime -gnustep-1-7 = ["objc2?/gnustep-1-7"] -gnustep-1-8 = ["gnustep-1-7", "objc2?/gnustep-1-8"] -gnustep-1-9 = ["gnustep-1-8", "objc2?/gnustep-1-9"] -gnustep-2-0 = ["gnustep-1-9", "objc2?/gnustep-2-0"] -gnustep-2-1 = ["gnustep-2-0", "objc2?/gnustep-2-1"] +gnustep-1-7 = ["objc2/gnustep-1-7"] +gnustep-1-8 = ["gnustep-1-7", "objc2/gnustep-1-8"] +gnustep-1-9 = ["gnustep-1-8", "objc2/gnustep-1-9"] +gnustep-2-0 = ["gnustep-1-9", "objc2/gnustep-2-0"] +gnustep-2-1 = ["gnustep-2-0", "objc2/gnustep-2-1"] # Hack to prevent the feature flag from being enabled in the entire project -assembly-features = ["objc2?/unstable-static-sel-inlined"] +assembly-features = ["objc2/unstable-static-sel-inlined"] [package.metadata.release] release = false diff --git a/crates/test-frameworks/Cargo.toml b/crates/test-frameworks/Cargo.toml index 47e6c3f31..5465f5cc7 100644 --- a/crates/test-frameworks/Cargo.toml +++ b/crates/test-frameworks/Cargo.toml @@ -12,223 +12,223 @@ release = false [features] test-frameworks = [ - "dep:objc2-ar-kit", - "objc2-ar-kit/all", - "dep:objc2-avf-audio", - "objc2-avf-audio/all", - "dep:objc2-av-foundation", - "objc2-av-foundation/all", - "dep:objc2-av-kit", - "objc2-av-kit/all", - "dep:objc2-av-routing", - "objc2-av-routing/all", - "dep:objc2-accessibility", - "objc2-accessibility/all", - "dep:objc2-accounts", - "objc2-accounts/all", - "dep:objc2-ad-services", - "objc2-ad-services/all", - "dep:objc2-ad-support", - "objc2-ad-support/all", - "dep:objc2-app-kit", - "objc2-app-kit/all", - "dep:objc2-app-tracking-transparency", - "objc2-app-tracking-transparency/all", - "dep:objc2-audio-toolbox", - "objc2-audio-toolbox/all", - "dep:objc2-authentication-services", - "objc2-authentication-services/all", - "dep:objc2-automatic-assessment-configuration", - "objc2-automatic-assessment-configuration/all", - "dep:objc2-automator", - "objc2-automator/all", - "dep:objc2-background-assets", - "objc2-background-assets/all", - "dep:objc2-background-tasks", - "objc2-background-tasks/all", - "dep:objc2-business-chat", - "objc2-business-chat/all", - "dep:objc2-call-kit", - "objc2-call-kit/all", - "dep:objc2-class-kit", - "objc2-class-kit/all", - "dep:objc2-cloud-kit", - "objc2-cloud-kit/all", - "dep:objc2-color-sync", - "objc2-color-sync/all", - "dep:objc2-compositor-services", - "objc2-compositor-services/all", - "dep:objc2-contacts", - "objc2-contacts/all", - "dep:objc2-contacts-ui", - "objc2-contacts-ui/all", - "dep:objc2-core-audio", - "objc2-core-audio/all", - "dep:objc2-core-audio-types", - "objc2-core-audio-types/all", - "dep:objc2-core-bluetooth", - "objc2-core-bluetooth/all", - "dep:objc2-core-data", - "objc2-core-data/all", - "dep:objc2-core-foundation", - "objc2-core-foundation/all", - "dep:objc2-core-graphics", - "objc2-core-graphics/all", - "dep:objc2-core-image", - "objc2-core-image/all", - "dep:objc2-core-location", - "objc2-core-location/all", - "dep:objc2-core-midi", - "objc2-core-midi/all", - "dep:objc2-core-ml", - "objc2-core-ml/all", - "dep:objc2-core-media", - "objc2-core-media/all", - "dep:objc2-core-motion", - "objc2-core-motion/all", - "dep:objc2-core-text", - "objc2-core-text/all", - "dep:objc2-core-video", - "objc2-core-video/all", - "dep:objc2-core-wlan", - "objc2-core-wlan/all", - "dep:objc2-data-detection", - "objc2-data-detection/all", - "dep:objc2-device-check", - "objc2-device-check/all", - "dep:objc2-disk-arbitration", - "objc2-disk-arbitration/all", - "dep:dispatch2", - "dispatch2/all", - "dep:objc2-event-kit", - "objc2-event-kit/all", - "dep:objc2-event-kit-ui", - "objc2-event-kit-ui/all", - "dep:objc2-exception-handling", - "objc2-exception-handling/all", - "dep:objc2-extension-kit", - "objc2-extension-kit/all", - "dep:objc2-external-accessory", - "objc2-external-accessory/all", - "dep:objc2-file-provider", - "objc2-file-provider/all", - "dep:objc2-file-provider-ui", - "objc2-file-provider-ui/all", - "dep:objc2-finder-sync", - "objc2-finder-sync/all", - "dep:objc2-foundation", - "objc2-foundation/all", - "dep:objc2-game-controller", - "objc2-game-controller/all", - "dep:objc2-game-kit", - "objc2-game-kit/all", - "dep:objc2-health-kit", - "objc2-health-kit/all", - "dep:objc2-home-kit", - "objc2-home-kit/all", - "dep:objc2-io-surface", - "objc2-io-surface/all", - "dep:objc2-identity-lookup", - "objc2-identity-lookup/all", - "dep:objc2-input-method-kit", - "objc2-input-method-kit/all", - "dep:objc2-link-presentation", - "objc2-link-presentation/all", - "dep:objc2-local-authentication", - "objc2-local-authentication/all", - "dep:objc2-local-authentication-embedded-ui", - "objc2-local-authentication-embedded-ui/all", - "dep:objc2-ml-compute", - "objc2-ml-compute/all", - "dep:objc2-mail-kit", - "objc2-mail-kit/all", - "dep:objc2-map-kit", - "objc2-map-kit/all", - "dep:objc2-media-player", - "objc2-media-player/all", - "dep:objc2-message-ui", - "objc2-message-ui/all", - "dep:objc2-messages", - "objc2-messages/all", - "dep:objc2-metal", - "objc2-metal/all", - "dep:objc2-metal-fx", - "objc2-metal-fx/all", - "dep:objc2-metal-kit", - "objc2-metal-kit/all", - "dep:objc2-metal-performance-shaders", - "objc2-metal-performance-shaders/all", - "dep:objc2-metal-performance-shaders-graph", - "objc2-metal-performance-shaders-graph/all", - "dep:objc2-metric-kit", - "objc2-metric-kit/all", - "dep:objc2-model-io", - "objc2-model-io/all", - "dep:objc2-multipeer-connectivity", - "objc2-multipeer-connectivity/all", - "dep:objc2-natural-language", - "objc2-natural-language/all", - "dep:objc2-nearby-interaction", - "objc2-nearby-interaction/all", - "dep:objc2-network-extension", - "objc2-network-extension/all", - "dep:objc2-osa-kit", - "objc2-osa-kit/all", - "dep:objc2-open-directory", - "objc2-open-directory/all", - "dep:objc2-photos", - "objc2-photos/all", - "dep:objc2-photos-ui", - "objc2-photos-ui/all", - "dep:objc2-quartz-core", - "objc2-quartz-core/all", - "dep:objc2-scene-kit", - "objc2-scene-kit/all", - "dep:objc2-screen-capture-kit", - "objc2-screen-capture-kit/all", - "dep:objc2-screen-saver", - "objc2-screen-saver/all", - "dep:objc2-security", - "objc2-security/all", - "dep:objc2-sensitive-content-analysis", - "objc2-sensitive-content-analysis/all", - "dep:objc2-service-management", - "objc2-service-management/all", - "dep:objc2-social", - "objc2-social/all", - "dep:objc2-sound-analysis", - "objc2-sound-analysis/all", - "dep:objc2-speech", - "objc2-speech/all", - "dep:objc2-sprite-kit", - "objc2-sprite-kit/all", - "dep:objc2-store-kit", - "objc2-store-kit/all", - "dep:objc2-symbols", - "objc2-symbols/all", - "dep:objc2-system-configuration", - "objc2-system-configuration/all", - "dep:objc2-system-extensions", - "objc2-system-extensions/all", - "dep:objc2-ui-kit", - "objc2-ui-kit/all", - "dep:objc2-uniform-type-identifiers", - "objc2-uniform-type-identifiers/all", - "dep:objc2-user-notifications", - "objc2-user-notifications/all", - "dep:objc2-video-toolbox", - "objc2-video-toolbox/all", - "dep:objc2-virtualization", - "objc2-virtualization/all", - "dep:objc2-vision", - "objc2-vision/all", - "dep:objc2-watch-connectivity", - "objc2-watch-connectivity/all", - "dep:objc2-watch-kit", - "objc2-watch-kit/all", - "dep:objc2-web-kit", - "objc2-web-kit/all", + "objc2-ar-kit", + "objc2-avf-audio", + "objc2-av-foundation", + "objc2-av-kit", + "objc2-av-routing", + "objc2-accessibility", + "objc2-accounts", + "objc2-ad-services", + "objc2-ad-support", + "objc2-app-kit", + "objc2-app-tracking-transparency", + "objc2-audio-toolbox", + "objc2-authentication-services", + "objc2-automatic-assessment-configuration", + "objc2-automator", + "objc2-background-assets", + "objc2-background-tasks", + "objc2-business-chat", + "objc2-call-kit", + "objc2-class-kit", + "objc2-cloud-kit", + "objc2-color-sync", + "objc2-compositor-services", + "objc2-contacts", + "objc2-contacts-ui", + "objc2-core-audio", + "objc2-core-audio-types", + "objc2-core-bluetooth", + "objc2-core-data", + "objc2-core-foundation", + "objc2-core-graphics", + "objc2-core-image", + "objc2-core-location", + "objc2-core-midi", + "objc2-core-ml", + "objc2-core-media", + "objc2-core-motion", + "objc2-core-text", + "objc2-core-video", + "objc2-core-wlan", + "objc2-data-detection", + "objc2-device-check", + "objc2-disk-arbitration", + "dispatch2", + "objc2-event-kit", + "objc2-event-kit-ui", + "objc2-exception-handling", + "objc2-extension-kit", + "objc2-external-accessory", + "objc2-file-provider", + "objc2-file-provider-ui", + "objc2-finder-sync", + "objc2-foundation", + "objc2-game-controller", + "objc2-game-kit", + "objc2-health-kit", + "objc2-home-kit", + "objc2-io-surface", + "objc2-identity-lookup", + "objc2-input-method-kit", + "objc2-link-presentation", + "objc2-local-authentication", + "objc2-local-authentication-embedded-ui", + "objc2-ml-compute", + "objc2-mail-kit", + "objc2-map-kit", + "objc2-media-player", + "objc2-message-ui", + "objc2-messages", + "objc2-metal", + "objc2-metal-fx", + "objc2-metal-kit", + "objc2-metal-performance-shaders", + "objc2-metal-performance-shaders-graph", + "objc2-metric-kit", + "objc2-model-io", + "objc2-multipeer-connectivity", + "objc2-natural-language", + "objc2-nearby-interaction", + "objc2-network-extension", + "objc2-osa-kit", + "objc2-open-directory", + "objc2-photos", + "objc2-photos-ui", + "objc2-quartz-core", + "objc2-scene-kit", + "objc2-screen-capture-kit", + "objc2-screen-saver", + "objc2-security", + "objc2-sensitive-content-analysis", + "objc2-service-management", + "objc2-social", + "objc2-sound-analysis", + "objc2-speech", + "objc2-sprite-kit", + "objc2-store-kit", + "objc2-symbols", + "objc2-system-configuration", + "objc2-system-extensions", + "objc2-ui-kit", + "objc2-uniform-type-identifiers", + "objc2-user-notifications", + "objc2-video-toolbox", + "objc2-virtualization", + "objc2-vision", + "objc2-watch-connectivity", + "objc2-watch-kit", + "objc2-web-kit", ] +objc2-ar-kit = ["dep:objc2-ar-kit"] +objc2-avf-audio = ["dep:objc2-avf-audio"] +objc2-av-foundation = ["dep:objc2-av-foundation"] +objc2-av-kit = ["dep:objc2-av-kit"] +objc2-av-routing = ["dep:objc2-av-routing"] +objc2-accessibility = ["dep:objc2-accessibility"] +objc2-accounts = ["dep:objc2-accounts"] +objc2-ad-services = ["dep:objc2-ad-services"] +objc2-ad-support = ["dep:objc2-ad-support"] +objc2-app-kit = ["dep:objc2-app-kit"] +objc2-app-tracking-transparency = ["dep:objc2-app-tracking-transparency"] +objc2-audio-toolbox = ["dep:objc2-audio-toolbox"] +objc2-authentication-services = ["dep:objc2-authentication-services"] +objc2-automatic-assessment-configuration = ["dep:objc2-automatic-assessment-configuration"] +objc2-automator = ["dep:objc2-automator"] +objc2-background-assets = ["dep:objc2-background-assets"] +objc2-background-tasks = ["dep:objc2-background-tasks"] +objc2-business-chat = ["dep:objc2-business-chat"] +objc2-call-kit = ["dep:objc2-call-kit"] +objc2-class-kit = ["dep:objc2-class-kit"] +objc2-cloud-kit = ["dep:objc2-cloud-kit"] +objc2-color-sync = ["dep:objc2-color-sync"] +objc2-compositor-services = ["dep:objc2-compositor-services"] +objc2-contacts = ["dep:objc2-contacts"] +objc2-contacts-ui = ["dep:objc2-contacts-ui"] +objc2-core-audio = ["dep:objc2-core-audio"] +objc2-core-audio-types = ["dep:objc2-core-audio-types"] +objc2-core-bluetooth = ["dep:objc2-core-bluetooth"] +objc2-core-data = ["dep:objc2-core-data"] +objc2-core-foundation = ["dep:objc2-core-foundation"] +objc2-core-graphics = ["dep:objc2-core-graphics"] +objc2-core-image = ["dep:objc2-core-image"] +objc2-core-location = ["dep:objc2-core-location"] +objc2-core-midi = ["dep:objc2-core-midi"] +objc2-core-ml = ["dep:objc2-core-ml"] +objc2-core-media = ["dep:objc2-core-media"] +objc2-core-motion = ["dep:objc2-core-motion"] +objc2-core-text = ["dep:objc2-core-text"] +objc2-core-video = ["dep:objc2-core-video"] +objc2-core-wlan = ["dep:objc2-core-wlan"] +objc2-data-detection = ["dep:objc2-data-detection"] +objc2-device-check = ["dep:objc2-device-check"] +objc2-disk-arbitration = ["dep:objc2-disk-arbitration"] +dispatch2 = ["dep:dispatch2"] +objc2-event-kit = ["dep:objc2-event-kit"] +objc2-event-kit-ui = ["dep:objc2-event-kit-ui"] +objc2-exception-handling = ["dep:objc2-exception-handling"] +objc2-extension-kit = ["dep:objc2-extension-kit"] +objc2-external-accessory = ["dep:objc2-external-accessory"] +objc2-file-provider = ["dep:objc2-file-provider"] +objc2-file-provider-ui = ["dep:objc2-file-provider-ui"] +objc2-finder-sync = ["dep:objc2-finder-sync"] +objc2-foundation = ["dep:objc2-foundation"] +objc2-game-controller = ["dep:objc2-game-controller"] +objc2-game-kit = ["dep:objc2-game-kit"] +objc2-health-kit = ["dep:objc2-health-kit"] +objc2-home-kit = ["dep:objc2-home-kit"] +objc2-io-surface = ["dep:objc2-io-surface"] +objc2-identity-lookup = ["dep:objc2-identity-lookup"] +objc2-input-method-kit = ["dep:objc2-input-method-kit"] +objc2-link-presentation = ["dep:objc2-link-presentation"] +objc2-local-authentication = ["dep:objc2-local-authentication"] +objc2-local-authentication-embedded-ui = ["dep:objc2-local-authentication-embedded-ui"] +objc2-ml-compute = ["dep:objc2-ml-compute"] +objc2-mail-kit = ["dep:objc2-mail-kit"] +objc2-map-kit = ["dep:objc2-map-kit"] +objc2-media-player = ["dep:objc2-media-player"] +objc2-message-ui = ["dep:objc2-message-ui"] +objc2-messages = ["dep:objc2-messages"] +objc2-metal = ["dep:objc2-metal"] +objc2-metal-fx = ["dep:objc2-metal-fx"] +objc2-metal-kit = ["dep:objc2-metal-kit"] +objc2-metal-performance-shaders = ["dep:objc2-metal-performance-shaders"] +objc2-metal-performance-shaders-graph = ["dep:objc2-metal-performance-shaders-graph"] +objc2-metric-kit = ["dep:objc2-metric-kit"] +objc2-model-io = ["dep:objc2-model-io"] +objc2-multipeer-connectivity = ["dep:objc2-multipeer-connectivity"] +objc2-natural-language = ["dep:objc2-natural-language"] +objc2-nearby-interaction = ["dep:objc2-nearby-interaction"] +objc2-network-extension = ["dep:objc2-network-extension"] +objc2-osa-kit = ["dep:objc2-osa-kit"] +objc2-open-directory = ["dep:objc2-open-directory"] +objc2-photos = ["dep:objc2-photos"] +objc2-photos-ui = ["dep:objc2-photos-ui"] +objc2-quartz-core = ["dep:objc2-quartz-core"] +objc2-scene-kit = ["dep:objc2-scene-kit"] +objc2-screen-capture-kit = ["dep:objc2-screen-capture-kit"] +objc2-screen-saver = ["dep:objc2-screen-saver"] +objc2-security = ["dep:objc2-security"] +objc2-sensitive-content-analysis = ["dep:objc2-sensitive-content-analysis"] +objc2-service-management = ["dep:objc2-service-management"] +objc2-social = ["dep:objc2-social"] +objc2-sound-analysis = ["dep:objc2-sound-analysis"] +objc2-speech = ["dep:objc2-speech"] +objc2-sprite-kit = ["dep:objc2-sprite-kit"] +objc2-store-kit = ["dep:objc2-store-kit"] +objc2-symbols = ["dep:objc2-symbols"] +objc2-system-configuration = ["dep:objc2-system-configuration"] +objc2-system-extensions = ["dep:objc2-system-extensions"] +objc2-ui-kit = ["dep:objc2-ui-kit"] +objc2-uniform-type-identifiers = ["dep:objc2-uniform-type-identifiers"] +objc2-user-notifications = ["dep:objc2-user-notifications"] +objc2-video-toolbox = ["dep:objc2-video-toolbox"] +objc2-virtualization = ["dep:objc2-virtualization"] +objc2-vision = ["dep:objc2-vision"] +objc2-watch-connectivity = ["dep:objc2-watch-connectivity"] +objc2-watch-kit = ["dep:objc2-watch-kit"] +objc2-web-kit = ["dep:objc2-web-kit"] [dependencies] block2 = { path = "../block2" } diff --git a/crates/tests/Cargo.toml b/crates/tests/Cargo.toml index 8f453d987..978904404 100644 --- a/crates/tests/Cargo.toml +++ b/crates/tests/Cargo.toml @@ -10,21 +10,8 @@ build = "build.rs" workspace = true [features] -default = ["all"] -exception = ["objc2/exception", "all"] +exception = ["objc2/exception"] catch-all = ["objc2/catch-all", "exception"] -# TODO: Fix this -all = [ - "objc2-foundation/NSException", - "objc2-foundation/NSArray", - "objc2-foundation/NSString", - "objc2-foundation/NSSet", - "objc2-foundation/NSDictionary", - "objc2-foundation/NSValue", - "objc2-foundation/NSObject", - "objc2-foundation/NSEnumerator", - "objc2-foundation/NSObjCRuntime", -] unstable-simd = [] @@ -38,7 +25,18 @@ unstable-objfw = ["block2/unstable-objfw", "objc2/unstable-objfw"] [dependencies] block2 = { path = "../block2" } objc2 = { path = "../objc2" } -objc2-foundation = { path = "../../framework-crates/objc2-foundation", default-features = false, features = ["std"] } +objc2-foundation = { path = "../../framework-crates/objc2-foundation", default-features = false, features = [ + "std", + "NSException", + "NSArray", + "NSString", + "NSSet", + "NSDictionary", + "NSValue", + "NSObject", + "NSEnumerator", + "NSObjCRuntime", +] } [build-dependencies] cc = "1.0" diff --git a/crates/tests/src/test_define_class_protocol.rs b/crates/tests/src/test_define_class_protocol.rs index 7322b73e4..4b7ca5c74 100644 --- a/crates/tests/src/test_define_class_protocol.rs +++ b/crates/tests/src/test_define_class_protocol.rs @@ -1,4 +1,3 @@ -#![cfg(feature = "all")] use objc2::rc::Retained; use objc2::runtime::{NSObject, NSZone}; use objc2::{define_class, ClassType, ProtocolType}; diff --git a/crates/tests/src/test_foundation_retain_semantics.rs b/crates/tests/src/test_foundation_retain_semantics.rs index e6af1f7a5..11aebafb4 100644 --- a/crates/tests/src/test_foundation_retain_semantics.rs +++ b/crates/tests/src/test_foundation_retain_semantics.rs @@ -1,4 +1,3 @@ -#![cfg(feature = "all")] use std::ptr; use objc2::rc::Retained; diff --git a/crates/tests/src/test_object.rs b/crates/tests/src/test_object.rs index f59843c96..d22e2f52d 100644 --- a/crates/tests/src/test_object.rs +++ b/crates/tests/src/test_object.rs @@ -9,7 +9,6 @@ use objc2::runtime::{ }; use objc2::{class, extern_protocol, msg_send, msg_send_id, AllocAnyThread, ClassType}; use objc2::{extern_class, sel}; -#[cfg(feature = "all")] use objc2_foundation::{NSArray, NSException, NSMutableString, NSNumber, NSString}; // TODO: Remove once c"" strings are in MSRV @@ -26,11 +25,9 @@ extern_protocol!( #[method(b)] fn b() -> c_int; - #[cfg(feature = "all")] #[method_id(c)] fn c(&self) -> Retained; - #[cfg(feature = "all")] #[method_id(d)] fn d() -> Retained; @@ -42,12 +39,10 @@ extern_protocol!( #[optional] fn f() -> c_int; - #[cfg(feature = "all")] #[optional] #[method_id(g)] fn g(&self) -> Retained; - #[cfg(feature = "all")] #[optional] #[method_id(h)] fn h() -> Retained; @@ -304,15 +299,11 @@ fn test_protocol() { let proto: Retained> = ProtocolObject::from_id(obj); assert_eq!(proto.a(), 1); assert_eq!(MyTestObject::b(), 2); - #[cfg(feature = "all")] assert_eq!(proto.c().as_i32(), 3); - #[cfg(feature = "all")] assert_eq!(MyTestObject::d().as_i32(), 4); assert_eq!(proto.e(), 5); assert_eq!(MyTestObject::f(), 6); - #[cfg(feature = "all")] assert_eq!(proto.g().as_i32(), 7); - #[cfg(feature = "all")] assert_eq!(MyTestObject::h().as_i32(), 8); // Check that transforming to `NSObjectProtocol` works @@ -320,7 +311,6 @@ fn test_protocol() { } #[test] -#[cfg(feature = "all")] fn downcast_basics() { let obj = NSString::new(); assert!(obj.downcast_ref::().is_some()); @@ -347,7 +337,6 @@ fn downcast_basics() { } #[test] -#[cfg(feature = "all")] fn test_downcast_class() { // Ensure that downcasting `AnyClass` doesn't cause unsoundness. let cls = NSString::class(); diff --git a/framework-crates/objc2-accessibility/Cargo.toml b/framework-crates/objc2-accessibility/Cargo.toml index 94fcb90c7..292064d21 100644 --- a/framework-crates/objc2-accessibility/Cargo.toml +++ b/framework-crates/objc2-accessibility/Cargo.toml @@ -32,7 +32,6 @@ objc2-foundation = { path = "../objc2-foundation", version = "0.2.2", default-fe [package.metadata.docs.rs] default-target = "aarch64-apple-darwin" -features = ["all"] rustc-args = ["--cfg", "docsrs"] # Fix cross-crate link to objc2::topics targets = [ "aarch64-apple-darwin", @@ -45,7 +44,24 @@ targets = [ ] [features] -default = ["std"] +default = [ + "std", + "AXAudiograph", + "AXBrailleMap", + "AXColorUtilities", + "AXCustomContent", + "AXFeatureOverrideSessionManager", + "AXFoundation", + "AXHearingUtilities", + "AXMathExpression", + "AXRequest", + "AXSettings", + "AXTechnology", + "bitflags", + "block2", + "objc2-core-foundation", + "objc2-core-graphics", +] std = ["alloc"] alloc = [] bitflags = ["dep:bitflags"] @@ -91,20 +107,3 @@ AXSettings = [ "objc2-foundation/NSString", ] AXTechnology = ["objc2-foundation/NSString"] -all = [ - "AXAudiograph", - "AXBrailleMap", - "AXColorUtilities", - "AXCustomContent", - "AXFeatureOverrideSessionManager", - "AXFoundation", - "AXHearingUtilities", - "AXMathExpression", - "AXRequest", - "AXSettings", - "AXTechnology", - "bitflags", - "block2", - "objc2-core-foundation", - "objc2-core-graphics", -] diff --git a/framework-crates/objc2-accounts/Cargo.toml b/framework-crates/objc2-accounts/Cargo.toml index 3adc6f618..3ec5756f7 100644 --- a/framework-crates/objc2-accounts/Cargo.toml +++ b/framework-crates/objc2-accounts/Cargo.toml @@ -22,7 +22,6 @@ objc2-foundation = { path = "../objc2-foundation", version = "0.2.2", default-fe [package.metadata.docs.rs] default-target = "aarch64-apple-darwin" -features = ["all"] rustc-args = ["--cfg", "docsrs"] # Fix cross-crate link to objc2::topics targets = [ "aarch64-apple-darwin", @@ -32,7 +31,16 @@ targets = [ ] [features] -default = ["std"] +default = [ + "std", + "ACAccount", + "ACAccountCredential", + "ACAccountStore", + "ACAccountType", + "ACError", + "AccountsDefines", + "block2", +] std = ["alloc"] alloc = [] block2 = ["dep:block2"] @@ -51,12 +59,3 @@ ACAccountStore = [ ACAccountType = ["objc2-foundation/NSString"] ACError = ["objc2-foundation/NSString"] AccountsDefines = [] -all = [ - "ACAccount", - "ACAccountCredential", - "ACAccountStore", - "ACAccountType", - "ACError", - "AccountsDefines", - "block2", -] diff --git a/framework-crates/objc2-ad-services/Cargo.toml b/framework-crates/objc2-ad-services/Cargo.toml index 4b38e72e7..9fcd02104 100644 --- a/framework-crates/objc2-ad-services/Cargo.toml +++ b/framework-crates/objc2-ad-services/Cargo.toml @@ -21,7 +21,6 @@ objc2-foundation = { path = "../objc2-foundation", version = "0.2.2", default-fe [package.metadata.docs.rs] default-target = "aarch64-apple-darwin" -features = ["all"] rustc-args = ["--cfg", "docsrs"] # Fix cross-crate link to objc2::topics targets = [ "aarch64-apple-darwin", @@ -32,7 +31,10 @@ targets = [ ] [features] -default = ["std"] +default = [ + "std", + "AAAttribution", +] std = ["alloc"] alloc = [] @@ -40,4 +42,3 @@ AAAttribution = [ "objc2-foundation/NSError", "objc2-foundation/NSString", ] -all = ["AAAttribution"] diff --git a/framework-crates/objc2-ad-support/Cargo.toml b/framework-crates/objc2-ad-support/Cargo.toml index 8b15340d9..0aaa9167e 100644 --- a/framework-crates/objc2-ad-support/Cargo.toml +++ b/framework-crates/objc2-ad-support/Cargo.toml @@ -21,7 +21,6 @@ objc2-foundation = { path = "../objc2-foundation", version = "0.2.2", default-fe [package.metadata.docs.rs] default-target = "aarch64-apple-darwin" -features = ["all"] rustc-args = ["--cfg", "docsrs"] # Fix cross-crate link to objc2::topics targets = [ "aarch64-apple-darwin", @@ -32,9 +31,11 @@ targets = [ ] [features] -default = ["std"] +default = [ + "std", + "ASIdentifierManager", +] 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 54a608d35..5156053be 100644 --- a/framework-crates/objc2-app-kit/Cargo.toml +++ b/framework-crates/objc2-app-kit/Cargo.toml @@ -67,7 +67,6 @@ objc2-uniform-type-identifiers = { path = "../objc2-uniform-type-identifiers", v [package.metadata.docs.rs] default-target = "aarch64-apple-darwin" -features = ["all"] rustc-args = ["--cfg", "docsrs"] # Fix cross-crate link to objc2::topics targets = [ "aarch64-apple-darwin", @@ -76,1941 +75,11 @@ targets = [ "x86_64-unknown-linux-gnu", "i686-unknown-linux-gnu", ] +features = ["objc2-uniform-type-identifiers"] [features] -default = ["std"] -std = ["alloc"] -alloc = [] -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"] -gnustep-1-9 = ["gnustep-1-8", "objc2/gnustep-1-9", "block2?/gnustep-1-9", "objc2-foundation/gnustep-1-9", "objc2-core-data?/gnustep-1-9", "objc2-quartz-core?/gnustep-1-9"] -gnustep-2-0 = ["gnustep-1-9", "objc2/gnustep-2-0", "block2?/gnustep-2-0", "objc2-foundation/gnustep-2-0", "objc2-core-data?/gnustep-2-0", "objc2-quartz-core?/gnustep-2-0"] -gnustep-2-1 = ["gnustep-2-0", "objc2/gnustep-2-1", "block2?/gnustep-2-1", "objc2-foundation/gnustep-2-1", "objc2-core-data?/gnustep-2-1", "objc2-quartz-core?/gnustep-2-1"] -bitflags = ["dep:bitflags"] -block2 = ["dep:block2"] -libc = ["dep:libc"] -objc2-cloud-kit = ["dep:objc2-cloud-kit"] -objc2-core-data = ["dep:objc2-core-data"] -objc2-core-foundation = ["dep:objc2-core-foundation"] -objc2-core-graphics = ["dep:objc2-core-graphics"] -objc2-core-image = ["dep:objc2-core-image"] -objc2-quartz-core = ["dep:objc2-quartz-core"] -objc2-uniform-type-identifiers = ["dep:objc2-uniform-type-identifiers"] - -AppKitDefines = [] -AppKitErrors = [] -NSATSTypesetter = [ - "objc2-foundation/NSAttributedString", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSRange", - "objc2-foundation/objc2-core-foundation", -] -NSAccessibility = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSNotification", - "objc2-foundation/NSString", - "objc2-foundation/objc2-core-foundation", -] -NSAccessibilityColor = ["objc2-foundation/NSString"] -NSAccessibilityConstants = [ - "objc2-foundation/NSAttributedString", - "objc2-foundation/NSDictionary", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -NSAccessibilityCustomAction = ["objc2-foundation/NSString"] -NSAccessibilityCustomRotor = [ - "objc2-foundation/NSObject", - "objc2-foundation/NSRange", - "objc2-foundation/NSString", -] -NSAccessibilityElement = [ - "objc2-foundation/NSGeometry", - "objc2-foundation/NSString", - "objc2-foundation/objc2-core-foundation", -] -NSAccessibilityProtocols = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSAttributedString", - "objc2-foundation/NSData", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSObject", - "objc2-foundation/NSRange", - "objc2-foundation/NSString", - "objc2-foundation/NSURL", - "objc2-foundation/NSValue", - "objc2-foundation/objc2-core-foundation", -] -NSActionCell = [ - "objc2-foundation/NSCoder", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -NSAdaptiveImageGlyph = [ - "objc2-foundation/NSAttributedString", - "objc2-foundation/NSCoder", - "objc2-foundation/NSData", - "objc2-foundation/NSDictionary", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -NSAffineTransform = ["objc2-foundation/NSAffineTransform"] -NSAlert = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSError", - "objc2-foundation/NSString", -] -NSAlignmentFeedbackFilter = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSGeometry", - "objc2-foundation/objc2-core-foundation", -] -NSAnimation = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSCoder", - "objc2-foundation/NSDate", - "objc2-foundation/NSDictionary", - "objc2-foundation/NSNotification", - "objc2-foundation/NSObjCRuntime", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", - "objc2-foundation/NSValue", -] -NSAnimationContext = ["objc2-foundation/NSDate"] -NSAppearance = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSBundle", - "objc2-foundation/NSCoder", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -NSAppleScriptExtensions = [ - "objc2-foundation/NSAppleScript", - "objc2-foundation/NSAttributedString", -] -NSApplication = [ - "bitflags", - "objc2-foundation/NSArray", - "objc2-foundation/NSCoder", - "objc2-foundation/NSData", - "objc2-foundation/NSDate", - "objc2-foundation/NSDictionary", - "objc2-foundation/NSError", - "objc2-foundation/NSException", - "objc2-foundation/NSNotification", - "objc2-foundation/NSObjCRuntime", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", - "objc2-foundation/NSURL", - "objc2-foundation/NSUserActivity", -] -NSApplicationScripting = ["objc2-foundation/NSArray"] -NSArrayController = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSCoder", - "objc2-foundation/NSIndexSet", - "objc2-foundation/NSObject", - "objc2-foundation/NSPredicate", - "objc2-foundation/NSSortDescriptor", - "objc2-foundation/NSString", -] -NSAttributedString = [ - "bitflags", - "objc2-foundation/NSArray", - "objc2-foundation/NSAttributedString", - "objc2-foundation/NSData", - "objc2-foundation/NSDictionary", - "objc2-foundation/NSError", - "objc2-foundation/NSFileWrapper", - "objc2-foundation/NSRange", - "objc2-foundation/NSString", - "objc2-foundation/NSURL", -] -NSBezierPath = [ - "objc2-foundation/NSAffineTransform", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSObject", - "objc2-foundation/objc2-core-foundation", -] -NSBitmapImageRep = [ - "bitflags", - "objc2-foundation/NSArray", - "objc2-foundation/NSCoder", - "objc2-foundation/NSData", - "objc2-foundation/NSDictionary", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", - "objc2-foundation/objc2-core-foundation", -] -NSBox = [ - "objc2-foundation/NSCoder", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", - "objc2-foundation/objc2-core-foundation", -] -NSBrowser = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSCoder", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSIndexPath", - "objc2-foundation/NSIndexSet", - "objc2-foundation/NSNotification", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", - "objc2-foundation/NSURL", - "objc2-foundation/objc2-core-foundation", -] -NSBrowserCell = [ - "objc2-foundation/NSCoder", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -NSButton = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSAttributedString", - "objc2-foundation/NSCoder", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", - "objc2-foundation/objc2-core-foundation", -] -NSButtonCell = [ - "objc2-foundation/NSAttributedString", - "objc2-foundation/NSCoder", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", - "objc2-foundation/objc2-core-foundation", -] -NSButtonTouchBarItem = [ - "objc2-foundation/NSCoder", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -NSCIImageRep = [ - "objc2-foundation/NSCoder", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSObject", - "objc2-foundation/objc2-core-foundation", -] -NSCachedImageRep = [ - "objc2-foundation/NSCoder", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSObject", - "objc2-foundation/objc2-core-foundation", -] -NSCandidateListTouchBarItem = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSAttributedString", - "objc2-foundation/NSCoder", - "objc2-foundation/NSObject", - "objc2-foundation/NSRange", - "objc2-foundation/NSString", -] -NSCell = [ - "bitflags", - "objc2-foundation/NSArray", - "objc2-foundation/NSAttributedString", - "objc2-foundation/NSCoder", - "objc2-foundation/NSFormatter", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSNotification", - "objc2-foundation/NSObjCRuntime", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", - "objc2-foundation/objc2-core-foundation", -] -NSClickGestureRecognizer = [ - "objc2-foundation/NSCoder", - "objc2-foundation/NSObject", -] -NSClipView = [ - "objc2-foundation/NSCoder", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSNotification", - "objc2-foundation/NSObject", - "objc2-foundation/objc2-core-foundation", -] -NSCollectionView = [ - "bitflags", - "objc2-foundation/NSArray", - "objc2-foundation/NSBundle", - "objc2-foundation/NSCoder", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSIndexPath", - "objc2-foundation/NSIndexSet", - "objc2-foundation/NSObjCRuntime", - "objc2-foundation/NSObject", - "objc2-foundation/NSSet", - "objc2-foundation/NSString", - "objc2-foundation/NSURL", - "objc2-foundation/objc2-core-foundation", -] -NSCollectionViewCompositionalLayout = [ - "bitflags", - "objc2-foundation/NSArray", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSIndexPath", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", - "objc2-foundation/objc2-core-foundation", -] -NSCollectionViewFlowLayout = [ - "objc2-foundation/NSGeometry", - "objc2-foundation/NSIndexPath", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", - "objc2-foundation/objc2-core-foundation", -] -NSCollectionViewGridLayout = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSObject", - "objc2-foundation/objc2-core-foundation", -] -NSCollectionViewLayout = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSDictionary", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSIndexPath", - "objc2-foundation/NSObject", - "objc2-foundation/NSSet", - "objc2-foundation/NSString", - "objc2-foundation/objc2-core-foundation", -] -NSCollectionViewTransitionLayout = [ - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -NSColor = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSBundle", - "objc2-foundation/NSCoder", - "objc2-foundation/NSDictionary", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSNotification", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", - "objc2-foundation/objc2-core-foundation", -] -NSColorList = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSError", - "objc2-foundation/NSNotification", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", - "objc2-foundation/NSURL", -] -NSColorPanel = [ - "bitflags", - "objc2-foundation/NSCoder", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSNotification", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", - "objc2-foundation/objc2-core-foundation", -] -NSColorPicker = [ - "objc2-foundation/NSGeometry", - "objc2-foundation/NSString", - "objc2-foundation/objc2-core-foundation", -] -NSColorPickerTouchBarItem = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSCoder", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -NSColorPicking = [ - "objc2-foundation/NSGeometry", - "objc2-foundation/NSString", - "objc2-foundation/objc2-core-foundation", -] -NSColorSampler = [] -NSColorSpace = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSData", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -NSColorWell = [ - "objc2-foundation/NSCoder", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSObject", - "objc2-foundation/objc2-core-foundation", -] -NSComboBox = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSCoder", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSNotification", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", - "objc2-foundation/objc2-core-foundation", -] -NSComboBoxCell = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSCoder", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", - "objc2-foundation/objc2-core-foundation", -] -NSComboButton = [ - "objc2-foundation/NSCoder", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", - "objc2-foundation/objc2-core-foundation", -] -NSControl = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSAttributedString", - "objc2-foundation/NSCoder", - "objc2-foundation/NSFormatter", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSNotification", - "objc2-foundation/NSObject", - "objc2-foundation/NSRange", - "objc2-foundation/NSString", - "objc2-foundation/objc2-core-foundation", -] -NSController = [ - "objc2-foundation/NSCoder", - "objc2-foundation/NSObject", -] -NSCursor = [ - "bitflags", - "objc2-foundation/NSCoder", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSObject", - "objc2-foundation/objc2-core-foundation", -] -NSCustomImageRep = [ - "objc2-foundation/NSCoder", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSObject", - "objc2-foundation/objc2-core-foundation", -] -NSCustomTouchBarItem = [ - "objc2-foundation/NSCoder", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -NSDataAsset = [ - "objc2-foundation/NSBundle", - "objc2-foundation/NSData", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -NSDatePicker = [ - "objc2-foundation/NSCalendar", - "objc2-foundation/NSCoder", - "objc2-foundation/NSDate", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSLocale", - "objc2-foundation/NSObject", - "objc2-foundation/NSTimeZone", - "objc2-foundation/objc2-core-foundation", -] -NSDatePickerCell = [ - "bitflags", - "objc2-foundation/NSCalendar", - "objc2-foundation/NSCoder", - "objc2-foundation/NSDate", - "objc2-foundation/NSLocale", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", - "objc2-foundation/NSTimeZone", -] -NSDictionaryController = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSCoder", - "objc2-foundation/NSDictionary", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -NSDiffableDataSource = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSIndexPath", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -NSDirection = ["bitflags"] -NSDockTile = [ - "objc2-foundation/NSGeometry", - "objc2-foundation/NSString", - "objc2-foundation/objc2-core-foundation", -] -NSDocument = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSData", - "objc2-foundation/NSDate", - "objc2-foundation/NSDictionary", - "objc2-foundation/NSError", - "objc2-foundation/NSFilePresenter", - "objc2-foundation/NSFileVersion", - "objc2-foundation/NSFileWrapper", - "objc2-foundation/NSSet", - "objc2-foundation/NSString", - "objc2-foundation/NSURL", - "objc2-foundation/NSUndoManager", -] -NSDocumentController = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSCoder", - "objc2-foundation/NSDate", - "objc2-foundation/NSError", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", - "objc2-foundation/NSURL", -] -NSDocumentScripting = [ - "objc2-foundation/NSScriptCommand", - "objc2-foundation/NSScriptObjectSpecifiers", - "objc2-foundation/NSScriptStandardSuiteCommands", - "objc2-foundation/NSString", -] -NSDragging = [ - "bitflags", - "objc2-foundation/NSArray", - "objc2-foundation/NSDictionary", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSObjCRuntime", - "objc2-foundation/NSString", - "objc2-foundation/NSURL", - "objc2-foundation/objc2-core-foundation", -] -NSDraggingItem = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSString", - "objc2-foundation/objc2-core-foundation", -] -NSDraggingSession = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSDictionary", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSString", - "objc2-foundation/objc2-core-foundation", -] -NSDrawer = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSCoder", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSNotification", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", - "objc2-foundation/objc2-core-foundation", -] -NSEPSImageRep = [ - "objc2-foundation/NSCoder", - "objc2-foundation/NSData", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSObject", - "objc2-foundation/objc2-core-foundation", -] -NSErrors = [ - "objc2-foundation/NSObjCRuntime", - "objc2-foundation/NSString", -] -NSEvent = [ - "bitflags", - "objc2-foundation/NSArray", - "objc2-foundation/NSDate", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSObject", - "objc2-foundation/NSSet", - "objc2-foundation/NSString", - "objc2-foundation/objc2-core-foundation", -] -NSFilePromiseProvider = [ - "objc2-foundation/NSError", - "objc2-foundation/NSOperation", - "objc2-foundation/NSString", - "objc2-foundation/NSURL", -] -NSFilePromiseReceiver = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSDictionary", - "objc2-foundation/NSError", - "objc2-foundation/NSOperation", - "objc2-foundation/NSString", - "objc2-foundation/NSURL", -] -NSFileWrapperExtensions = ["objc2-foundation/NSFileWrapper"] -NSFont = [ - "objc2-foundation/NSAffineTransform", - "objc2-foundation/NSCharacterSet", - "objc2-foundation/NSDictionary", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSNotification", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", - "objc2-foundation/objc2-core-foundation", -] -NSFontAssetRequest = [ - "bitflags", - "objc2-foundation/NSArray", - "objc2-foundation/NSError", - "objc2-foundation/NSProgress", -] -NSFontCollection = [ - "bitflags", - "objc2-foundation/NSArray", - "objc2-foundation/NSDictionary", - "objc2-foundation/NSError", - "objc2-foundation/NSLocale", - "objc2-foundation/NSNotification", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", - "objc2-foundation/NSValue", -] -NSFontDescriptor = [ - "bitflags", - "objc2-foundation/NSAffineTransform", - "objc2-foundation/NSArray", - "objc2-foundation/NSDictionary", - "objc2-foundation/NSObject", - "objc2-foundation/NSSet", - "objc2-foundation/NSString", -] -NSFontManager = [ - "bitflags", - "objc2-foundation/NSArray", - "objc2-foundation/NSDictionary", - "objc2-foundation/NSString", -] -NSFontPanel = [ - "bitflags", - "objc2-foundation/NSCoder", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSObject", - "objc2-foundation/objc2-core-foundation", -] -NSForm = [ - "objc2-foundation/NSCoder", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", - "objc2-foundation/objc2-core-foundation", -] -NSFormCell = [ - "objc2-foundation/NSAttributedString", - "objc2-foundation/NSCoder", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", - "objc2-foundation/objc2-core-foundation", -] -NSGestureRecognizer = [ - "objc2-foundation/NSCoder", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSObject", - "objc2-foundation/objc2-core-foundation", -] -NSGlyphGenerator = ["objc2-foundation/NSAttributedString"] -NSGlyphInfo = [ - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -NSGradient = [ - "bitflags", - "objc2-foundation/NSArray", - "objc2-foundation/NSCoder", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSObject", - "objc2-foundation/objc2-core-foundation", -] -NSGraphics = [ - "objc2-foundation/NSGeometry", - "objc2-foundation/NSString", - "objc2-foundation/objc2-core-foundation", -] -NSGraphicsContext = [ - "objc2-foundation/NSDictionary", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSString", - "objc2-foundation/objc2-core-foundation", -] -NSGridView = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSCoder", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSObject", - "objc2-foundation/NSRange", - "objc2-foundation/objc2-core-foundation", -] -NSGroupTouchBarItem = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSCoder", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -NSHapticFeedback = [] -NSHelpManager = [ - "objc2-foundation/NSAttributedString", - "objc2-foundation/NSBundle", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSNotification", - "objc2-foundation/NSString", - "objc2-foundation/objc2-core-foundation", -] -NSImage = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSBundle", - "objc2-foundation/NSCoder", - "objc2-foundation/NSData", - "objc2-foundation/NSDictionary", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSItemProvider", - "objc2-foundation/NSLocale", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", - "objc2-foundation/NSURL", - "objc2-foundation/objc2-core-foundation", -] -NSImageCell = [ - "objc2-foundation/NSCoder", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -NSImageRep = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSCoder", - "objc2-foundation/NSData", - "objc2-foundation/NSDictionary", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSNotification", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", - "objc2-foundation/NSURL", - "objc2-foundation/objc2-core-foundation", -] -NSImageView = [ - "objc2-foundation/NSCoder", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSObject", - "objc2-foundation/objc2-core-foundation", -] -NSInputManager = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSAttributedString", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSRange", - "objc2-foundation/NSString", - "objc2-foundation/objc2-core-foundation", -] -NSInputServer = [ - "objc2-foundation/NSGeometry", - "objc2-foundation/NSRange", - "objc2-foundation/NSString", - "objc2-foundation/objc2-core-foundation", -] -NSInterfaceStyle = ["objc2-foundation/NSString"] -NSItemProvider = [ - "objc2-foundation/NSGeometry", - "objc2-foundation/NSItemProvider", - "objc2-foundation/NSString", - "objc2-foundation/objc2-core-foundation", -] -NSKeyValueBinding = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSDictionary", - "objc2-foundation/NSError", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -NSLayoutAnchor = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -NSLayoutConstraint = [ - "bitflags", - "objc2-foundation/NSArray", - "objc2-foundation/NSDictionary", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSString", - "objc2-foundation/objc2-core-foundation", -] -NSLayoutGuide = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", - "objc2-foundation/objc2-core-foundation", -] -NSLayoutManager = [ - "bitflags", - "objc2-foundation/NSAffineTransform", - "objc2-foundation/NSArray", - "objc2-foundation/NSAttributedString", - "objc2-foundation/NSCoder", - "objc2-foundation/NSDictionary", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSObject", - "objc2-foundation/NSRange", - "objc2-foundation/NSString", - "objc2-foundation/objc2-core-foundation", -] -NSLevelIndicator = [ - "objc2-foundation/NSCoder", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSObject", - "objc2-foundation/objc2-core-foundation", -] -NSLevelIndicatorCell = [ - "objc2-foundation/NSCoder", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", - "objc2-foundation/objc2-core-foundation", -] -NSMagnificationGestureRecognizer = [ - "objc2-foundation/NSCoder", - "objc2-foundation/NSObject", -] -NSMatrix = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSCoder", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSNotification", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", - "objc2-foundation/objc2-core-foundation", -] -NSMediaLibraryBrowserController = [ - "bitflags", - "objc2-foundation/NSGeometry", - "objc2-foundation/objc2-core-foundation", -] -NSMenu = [ - "bitflags", - "objc2-foundation/NSArray", - "objc2-foundation/NSCoder", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSNotification", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", - "objc2-foundation/NSZone", - "objc2-foundation/objc2-core-foundation", -] -NSMenuItem = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSAttributedString", - "objc2-foundation/NSCoder", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -NSMenuItemBadge = [ - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -NSMenuItemCell = [ - "objc2-foundation/NSCoder", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", - "objc2-foundation/objc2-core-foundation", -] -NSMenuToolbarItem = [ - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -NSMovie = [ - "objc2-foundation/NSCoder", - "objc2-foundation/NSObject", -] -NSNib = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSBundle", - "objc2-foundation/NSData", - "objc2-foundation/NSDictionary", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", - "objc2-foundation/NSURL", -] -NSNibConnector = [ - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -NSNibControlConnector = ["objc2-foundation/NSObject"] -NSNibDeclarations = [] -NSNibLoading = [] -NSNibOutletConnector = ["objc2-foundation/NSObject"] -NSObjectController = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSCoder", - "objc2-foundation/NSError", - "objc2-foundation/NSObject", - "objc2-foundation/NSPredicate", - "objc2-foundation/NSString", -] -NSOpenGL = [] -NSOpenGLLayer = [] -NSOpenGLView = [] -NSOpenPanel = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSCoder", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", - "objc2-foundation/NSURL", - "objc2-foundation/objc2-core-foundation", -] -NSOutlineView = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSCoder", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSIndexSet", - "objc2-foundation/NSNotification", - "objc2-foundation/NSObject", - "objc2-foundation/NSSortDescriptor", - "objc2-foundation/NSString", - "objc2-foundation/NSURL", - "objc2-foundation/objc2-core-foundation", -] -NSPDFImageRep = [ - "objc2-foundation/NSCoder", - "objc2-foundation/NSData", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSObject", - "objc2-foundation/objc2-core-foundation", -] -NSPDFInfo = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSDictionary", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", - "objc2-foundation/NSURL", - "objc2-foundation/objc2-core-foundation", -] -NSPDFPanel = [ - "bitflags", - "objc2-foundation/NSString", -] -NSPICTImageRep = [ - "objc2-foundation/NSCoder", - "objc2-foundation/NSData", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSObject", - "objc2-foundation/objc2-core-foundation", -] -NSPageController = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSBundle", - "objc2-foundation/NSCoder", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", - "objc2-foundation/objc2-core-foundation", -] -NSPageLayout = ["objc2-foundation/NSArray"] -NSPanGestureRecognizer = [ - "objc2-foundation/NSCoder", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSObject", - "objc2-foundation/objc2-core-foundation", -] -NSPanel = [ - "objc2-foundation/NSCoder", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSObject", - "objc2-foundation/objc2-core-foundation", -] -NSParagraphStyle = [ - "bitflags", - "objc2-foundation/NSArray", - "objc2-foundation/NSCharacterSet", - "objc2-foundation/NSDictionary", - "objc2-foundation/NSLocale", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -NSPasteboard = [ - "bitflags", - "objc2-foundation/NSArray", - "objc2-foundation/NSData", - "objc2-foundation/NSDictionary", - "objc2-foundation/NSFileWrapper", - "objc2-foundation/NSString", - "objc2-foundation/NSURL", -] -NSPasteboardItem = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSData", - "objc2-foundation/NSString", -] -NSPathCell = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSAttributedString", - "objc2-foundation/NSCoder", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", - "objc2-foundation/NSURL", - "objc2-foundation/objc2-core-foundation", -] -NSPathComponentCell = [ - "objc2-foundation/NSCoder", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", - "objc2-foundation/NSURL", -] -NSPathControl = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSAttributedString", - "objc2-foundation/NSCoder", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", - "objc2-foundation/NSURL", - "objc2-foundation/objc2-core-foundation", -] -NSPathControlItem = [ - "objc2-foundation/NSAttributedString", - "objc2-foundation/NSString", - "objc2-foundation/NSURL", -] -NSPersistentDocument = [ - "objc2-foundation/NSDictionary", - "objc2-foundation/NSError", - "objc2-foundation/NSFilePresenter", - "objc2-foundation/NSString", - "objc2-foundation/NSURL", -] -NSPickerTouchBarItem = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSCoder", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -NSPopUpButton = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSCoder", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSNotification", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", - "objc2-foundation/objc2-core-foundation", -] -NSPopUpButtonCell = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSCoder", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSNotification", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", - "objc2-foundation/objc2-core-foundation", -] -NSPopover = [ - "objc2-foundation/NSCoder", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSNotification", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", - "objc2-foundation/objc2-core-foundation", -] -NSPopoverTouchBarItem = [ - "objc2-foundation/NSCoder", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -NSPredicateEditor = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSCoder", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSObject", - "objc2-foundation/objc2-core-foundation", -] -NSPredicateEditorRowTemplate = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSComparisonPredicate", - "objc2-foundation/NSExpression", - "objc2-foundation/NSObject", - "objc2-foundation/NSPredicate", - "objc2-foundation/NSString", - "objc2-foundation/NSValue", -] -NSPressGestureRecognizer = [ - "objc2-foundation/NSCoder", - "objc2-foundation/NSDate", - "objc2-foundation/NSObject", -] -NSPressureConfiguration = [] -NSPreviewRepresentingActivityItem = [ - "objc2-foundation/NSItemProvider", - "objc2-foundation/NSString", -] -NSPrintInfo = [ - "objc2-foundation/NSCoder", - "objc2-foundation/NSDictionary", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", - "objc2-foundation/objc2-core-foundation", -] -NSPrintOperation = [ - "objc2-foundation/NSData", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSObjCRuntime", - "objc2-foundation/NSRange", - "objc2-foundation/NSString", - "objc2-foundation/objc2-core-foundation", -] -NSPrintPanel = [ - "bitflags", - "objc2-foundation/NSArray", - "objc2-foundation/NSDictionary", - "objc2-foundation/NSSet", - "objc2-foundation/NSString", -] -NSPrinter = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSDictionary", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", - "objc2-foundation/objc2-core-foundation", -] -NSProgressIndicator = [ - "objc2-foundation/NSCoder", - "objc2-foundation/NSDate", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSObject", - "objc2-foundation/NSProgress", - "objc2-foundation/objc2-core-foundation", -] -NSResponder = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSCoder", - "objc2-foundation/NSError", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", - "objc2-foundation/NSUndoManager", -] -NSRotationGestureRecognizer = [ - "objc2-foundation/NSCoder", - "objc2-foundation/NSObject", -] -NSRuleEditor = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSCoder", - "objc2-foundation/NSDictionary", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSIndexSet", - "objc2-foundation/NSNotification", - "objc2-foundation/NSObject", - "objc2-foundation/NSPredicate", - "objc2-foundation/NSString", - "objc2-foundation/objc2-core-foundation", -] -NSRulerMarker = [ - "objc2-foundation/NSCoder", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSObject", - "objc2-foundation/objc2-core-foundation", -] -NSRulerView = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSCoder", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", - "objc2-foundation/NSValue", - "objc2-foundation/objc2-core-foundation", -] -NSRunningApplication = [ - "bitflags", - "objc2-foundation/NSArray", - "objc2-foundation/NSDate", - "objc2-foundation/NSString", - "objc2-foundation/NSURL", -] -NSSavePanel = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSCoder", - "objc2-foundation/NSError", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", - "objc2-foundation/NSURL", - "objc2-foundation/objc2-core-foundation", -] -NSScreen = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSDate", - "objc2-foundation/NSDictionary", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSNotification", - "objc2-foundation/NSString", - "objc2-foundation/objc2-core-foundation", -] -NSScrollView = [ - "objc2-foundation/NSCoder", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSNotification", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", - "objc2-foundation/objc2-core-foundation", -] -NSScroller = [ - "objc2-foundation/NSCoder", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSNotification", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", - "objc2-foundation/objc2-core-foundation", -] -NSScrubber = [ - "objc2-foundation/NSCoder", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSIndexSet", - "objc2-foundation/NSObject", - "objc2-foundation/NSRange", - "objc2-foundation/NSString", - "objc2-foundation/objc2-core-foundation", -] -NSScrubberItemView = [ - "objc2-foundation/NSCoder", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", - "objc2-foundation/objc2-core-foundation", -] -NSScrubberLayout = [ - "objc2-foundation/NSCoder", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSIndexSet", - "objc2-foundation/NSObject", - "objc2-foundation/NSSet", - "objc2-foundation/objc2-core-foundation", -] -NSSearchField = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSCoder", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", - "objc2-foundation/objc2-core-foundation", -] -NSSearchFieldCell = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSCoder", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", - "objc2-foundation/objc2-core-foundation", -] -NSSearchToolbarItem = [ - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -NSSecureTextField = [ - "objc2-foundation/NSCoder", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", - "objc2-foundation/objc2-core-foundation", -] -NSSegmentedCell = [ - "objc2-foundation/NSCoder", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", - "objc2-foundation/objc2-core-foundation", -] -NSSegmentedControl = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSCoder", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", - "objc2-foundation/objc2-core-foundation", -] -NSShadow = [ - "objc2-foundation/NSGeometry", - "objc2-foundation/NSObject", - "objc2-foundation/objc2-core-foundation", -] -NSSharingCollaborationModeRestriction = [ - "objc2-foundation/NSObject", - "objc2-foundation/NSString", - "objc2-foundation/NSURL", -] -NSSharingService = [ - "bitflags", - "objc2-foundation/NSArray", - "objc2-foundation/NSError", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSItemProvider", - "objc2-foundation/NSString", - "objc2-foundation/NSURL", - "objc2-foundation/objc2-core-foundation", -] -NSSharingServicePickerToolbarItem = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -NSSharingServicePickerTouchBarItem = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSCoder", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -NSSlider = [ - "objc2-foundation/NSCoder", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", - "objc2-foundation/objc2-core-foundation", -] -NSSliderAccessory = ["objc2-foundation/NSObject"] -NSSliderCell = [ - "objc2-foundation/NSCoder", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", - "objc2-foundation/objc2-core-foundation", -] -NSSliderTouchBarItem = [ - "objc2-foundation/NSCoder", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -NSSound = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSBundle", - "objc2-foundation/NSData", - "objc2-foundation/NSDate", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", - "objc2-foundation/NSURL", -] -NSSpeechRecognizer = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSString", -] -NSSpeechSynthesizer = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSDictionary", - "objc2-foundation/NSError", - "objc2-foundation/NSRange", - "objc2-foundation/NSString", - "objc2-foundation/NSURL", -] -NSSpellChecker = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSDictionary", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSNotification", - "objc2-foundation/NSOrthography", - "objc2-foundation/NSRange", - "objc2-foundation/NSString", - "objc2-foundation/NSTextCheckingResult", - "objc2-foundation/objc2-core-foundation", -] -NSSpellProtocol = [] -NSSplitView = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSCoder", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSNotification", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", - "objc2-foundation/objc2-core-foundation", -] -NSSplitViewController = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSBundle", - "objc2-foundation/NSCoder", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", - "objc2-foundation/objc2-core-foundation", -] -NSSplitViewItem = ["objc2-foundation/NSObject"] -NSStackView = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSCoder", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSObject", - "objc2-foundation/objc2-core-foundation", -] -NSStatusBar = [] -NSStatusBarButton = [ - "objc2-foundation/NSCoder", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", - "objc2-foundation/objc2-core-foundation", -] -NSStatusItem = [ - "bitflags", - "objc2-foundation/NSAttributedString", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSString", - "objc2-foundation/objc2-core-foundation", -] -NSStepper = [ - "objc2-foundation/NSCoder", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSObject", - "objc2-foundation/objc2-core-foundation", -] -NSStepperCell = [ - "objc2-foundation/NSCoder", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -NSStepperTouchBarItem = [ - "objc2-foundation/NSCoder", - "objc2-foundation/NSFormatter", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", - "objc2-foundation/objc2-core-foundation", -] -NSStoryboard = [ - "objc2-foundation/NSBundle", - "objc2-foundation/NSCoder", - "objc2-foundation/NSString", -] -NSStoryboardSegue = ["objc2-foundation/NSString"] -NSStringDrawing = [ - "bitflags", - "objc2-foundation/NSAttributedString", - "objc2-foundation/NSDictionary", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSString", - "objc2-foundation/objc2-core-foundation", -] -NSSwitch = [ - "objc2-foundation/NSCoder", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSObject", - "objc2-foundation/objc2-core-foundation", -] -NSTabView = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSCoder", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSObject", - "objc2-foundation/objc2-core-foundation", -] -NSTabViewController = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSBundle", - "objc2-foundation/NSCoder", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -NSTabViewItem = [ - "objc2-foundation/NSGeometry", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", - "objc2-foundation/objc2-core-foundation", -] -NSTableCellView = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSCoder", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSObject", - "objc2-foundation/objc2-core-foundation", -] -NSTableColumn = [ - "bitflags", - "objc2-foundation/NSCoder", - "objc2-foundation/NSObject", - "objc2-foundation/NSSortDescriptor", - "objc2-foundation/NSString", -] -NSTableHeaderCell = [ - "objc2-foundation/NSCoder", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", - "objc2-foundation/objc2-core-foundation", -] -NSTableHeaderView = [ - "objc2-foundation/NSCoder", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSObject", - "objc2-foundation/objc2-core-foundation", -] -NSTableRowView = [ - "objc2-foundation/NSCoder", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSObject", - "objc2-foundation/objc2-core-foundation", -] -NSTableView = [ - "bitflags", - "objc2-foundation/NSArray", - "objc2-foundation/NSCoder", - "objc2-foundation/NSDictionary", - "objc2-foundation/NSEnumerator", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSIndexSet", - "objc2-foundation/NSNotification", - "objc2-foundation/NSObject", - "objc2-foundation/NSRange", - "objc2-foundation/NSSortDescriptor", - "objc2-foundation/NSString", - "objc2-foundation/NSURL", - "objc2-foundation/objc2-core-foundation", -] -NSTableViewDiffableDataSource = [] -NSTableViewRowAction = [ - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -NSText = [ - "objc2-foundation/NSCoder", - "objc2-foundation/NSData", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSNotification", - "objc2-foundation/NSObject", - "objc2-foundation/NSRange", - "objc2-foundation/NSString", - "objc2-foundation/objc2-core-foundation", -] -NSTextAlternatives = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSNotification", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -NSTextAttachment = [ - "objc2-foundation/NSAttributedString", - "objc2-foundation/NSData", - "objc2-foundation/NSDictionary", - "objc2-foundation/NSFileWrapper", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -NSTextAttachmentCell = [ - "objc2-foundation/NSCoder", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", - "objc2-foundation/objc2-core-foundation", -] -NSTextCheckingClient = [ - "bitflags", - "objc2-foundation/NSAttributedString", - "objc2-foundation/NSDictionary", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSRange", - "objc2-foundation/NSString", - "objc2-foundation/objc2-core-foundation", -] -NSTextCheckingController = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSAttributedString", - "objc2-foundation/NSDictionary", - "objc2-foundation/NSRange", - "objc2-foundation/NSString", - "objc2-foundation/NSTextCheckingResult", -] -NSTextContainer = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSCoder", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSObject", - "objc2-foundation/objc2-core-foundation", -] -NSTextContent = ["objc2-foundation/NSString"] -NSTextContentManager = [ - "bitflags", - "objc2-foundation/NSArray", - "objc2-foundation/NSAttributedString", - "objc2-foundation/NSCoder", - "objc2-foundation/NSError", - "objc2-foundation/NSNotification", - "objc2-foundation/NSObject", - "objc2-foundation/NSRange", - "objc2-foundation/NSString", -] -NSTextElement = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSAttributedString", -] -NSTextField = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSAttributedString", - "objc2-foundation/NSCoder", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSNotification", - "objc2-foundation/NSObject", - "objc2-foundation/NSRange", - "objc2-foundation/NSString", - "objc2-foundation/NSTextCheckingResult", - "objc2-foundation/objc2-core-foundation", -] -NSTextFieldCell = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSAttributedString", - "objc2-foundation/NSCoder", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -NSTextFinder = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSCoder", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSObject", - "objc2-foundation/NSRange", - "objc2-foundation/NSString", - "objc2-foundation/NSValue", - "objc2-foundation/objc2-core-foundation", -] -NSTextInputClient = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSAttributedString", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSRange", - "objc2-foundation/NSString", - "objc2-foundation/objc2-core-foundation", -] -NSTextInputContext = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSNotification", - "objc2-foundation/NSString", -] -NSTextInsertionIndicator = [ - "bitflags", - "objc2-foundation/NSCoder", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSObject", - "objc2-foundation/objc2-core-foundation", -] -NSTextLayoutFragment = [ - "bitflags", - "objc2-foundation/NSArray", - "objc2-foundation/NSCoder", - "objc2-foundation/NSObject", - "objc2-foundation/NSOperation", -] -NSTextLayoutManager = [ - "bitflags", - "objc2-foundation/NSArray", - "objc2-foundation/NSAttributedString", - "objc2-foundation/NSCoder", - "objc2-foundation/NSDictionary", - "objc2-foundation/NSObject", - "objc2-foundation/NSOperation", - "objc2-foundation/NSString", -] -NSTextLineFragment = [ - "objc2-foundation/NSAttributedString", - "objc2-foundation/NSCoder", - "objc2-foundation/NSDictionary", - "objc2-foundation/NSObject", - "objc2-foundation/NSRange", - "objc2-foundation/NSString", -] -NSTextList = [ - "bitflags", - "objc2-foundation/NSCoder", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -NSTextListElement = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSAttributedString", - "objc2-foundation/NSDictionary", - "objc2-foundation/NSString", -] -NSTextRange = ["objc2-foundation/NSObjCRuntime"] -NSTextSelection = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSAttributedString", - "objc2-foundation/NSCoder", - "objc2-foundation/NSDictionary", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -NSTextSelectionNavigation = [ - "bitflags", - "objc2-foundation/NSArray", - "objc2-foundation/NSString", -] -NSTextStorage = [ - "bitflags", - "objc2-foundation/NSArray", - "objc2-foundation/NSAttributedString", - "objc2-foundation/NSNotification", - "objc2-foundation/NSObject", - "objc2-foundation/NSRange", - "objc2-foundation/NSString", -] -NSTextStorageScripting = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSAttributedString", -] -NSTextTable = [ - "objc2-foundation/NSGeometry", - "objc2-foundation/NSObject", - "objc2-foundation/NSRange", - "objc2-foundation/objc2-core-foundation", -] -NSTextView = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSAttributedString", - "objc2-foundation/NSCoder", - "objc2-foundation/NSDictionary", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSNotification", - "objc2-foundation/NSObject", - "objc2-foundation/NSOrthography", - "objc2-foundation/NSRange", - "objc2-foundation/NSString", - "objc2-foundation/NSTextCheckingResult", - "objc2-foundation/NSURL", - "objc2-foundation/NSUndoManager", - "objc2-foundation/NSValue", - "objc2-foundation/objc2-core-foundation", -] -NSTextViewportLayoutController = [] -NSTintConfiguration = ["objc2-foundation/NSObject"] -NSTitlebarAccessoryViewController = [ - "objc2-foundation/NSBundle", - "objc2-foundation/NSCoder", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -NSTokenField = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSCharacterSet", - "objc2-foundation/NSCoder", - "objc2-foundation/NSDate", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", - "objc2-foundation/objc2-core-foundation", -] -NSTokenFieldCell = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSCharacterSet", - "objc2-foundation/NSCoder", - "objc2-foundation/NSDate", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -NSToolbar = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSDictionary", - "objc2-foundation/NSNotification", - "objc2-foundation/NSSet", - "objc2-foundation/NSString", -] -NSToolbarItem = [ - "objc2-foundation/NSGeometry", - "objc2-foundation/NSObject", - "objc2-foundation/NSSet", - "objc2-foundation/NSString", - "objc2-foundation/objc2-core-foundation", -] -NSToolbarItemGroup = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -NSTouch = [ - "bitflags", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSObject", - "objc2-foundation/objc2-core-foundation", -] -NSTouchBar = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSCoder", - "objc2-foundation/NSObject", - "objc2-foundation/NSSet", - "objc2-foundation/NSString", -] -NSTouchBarItem = [ - "objc2-foundation/NSCoder", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -NSTrackingArea = [ - "bitflags", - "objc2-foundation/NSDictionary", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSObject", - "objc2-foundation/objc2-core-foundation", -] -NSTrackingSeparatorToolbarItem = [ - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -NSTreeController = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSCoder", - "objc2-foundation/NSIndexPath", - "objc2-foundation/NSObject", - "objc2-foundation/NSSortDescriptor", - "objc2-foundation/NSString", -] -NSTreeNode = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSIndexPath", - "objc2-foundation/NSSortDescriptor", -] -NSTypesetter = [ - "bitflags", - "objc2-foundation/NSArray", - "objc2-foundation/NSAttributedString", - "objc2-foundation/NSDictionary", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSRange", - "objc2-foundation/NSString", - "objc2-foundation/objc2-core-foundation", -] -NSUserActivity = [ - "objc2-foundation/NSString", - "objc2-foundation/NSUserActivity", -] -NSUserDefaultsController = [ - "objc2-foundation/NSCoder", - "objc2-foundation/NSDictionary", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", - "objc2-foundation/NSUserDefaults", -] -NSUserInterfaceCompression = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSCoder", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSObject", - "objc2-foundation/NSSet", - "objc2-foundation/NSString", - "objc2-foundation/objc2-core-foundation", -] -NSUserInterfaceItemIdentification = ["objc2-foundation/NSString"] -NSUserInterfaceItemSearching = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSRange", - "objc2-foundation/NSString", -] -NSUserInterfaceLayout = [] -NSUserInterfaceValidation = [] -NSView = [ - "bitflags", - "objc2-foundation/NSArray", - "objc2-foundation/NSAttributedString", - "objc2-foundation/NSCoder", - "objc2-foundation/NSData", - "objc2-foundation/NSDictionary", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSNotification", - "objc2-foundation/NSObjCRuntime", - "objc2-foundation/NSObject", - "objc2-foundation/NSRange", - "objc2-foundation/NSString", - "objc2-foundation/objc2-core-foundation", -] -NSViewController = [ - "bitflags", - "objc2-foundation/NSArray", - "objc2-foundation/NSBundle", - "objc2-foundation/NSCoder", - "objc2-foundation/NSExtensionContext", - "objc2-foundation/NSExtensionRequestHandling", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", - "objc2-foundation/objc2-core-foundation", -] -NSVisualEffectView = [ - "objc2-foundation/NSCoder", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSObject", - "objc2-foundation/objc2-core-foundation", -] -NSWindow = [ - "bitflags", - "objc2-foundation/NSArray", - "objc2-foundation/NSCoder", - "objc2-foundation/NSData", - "objc2-foundation/NSDate", - "objc2-foundation/NSDictionary", - "objc2-foundation/NSError", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSNotification", - "objc2-foundation/NSObjCRuntime", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", - "objc2-foundation/NSURL", - "objc2-foundation/NSUndoManager", - "objc2-foundation/NSValue", - "objc2-foundation/objc2-core-foundation", -] -NSWindowController = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSCoder", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -NSWindowRestoration = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSCoder", - "objc2-foundation/NSError", - "objc2-foundation/NSNotification", - "objc2-foundation/NSOperation", - "objc2-foundation/NSString", -] -NSWindowScripting = [ - "objc2-foundation/NSScriptCommand", - "objc2-foundation/NSScriptStandardSuiteCommands", -] -NSWindowTab = [ - "objc2-foundation/NSAttributedString", - "objc2-foundation/NSString", -] -NSWindowTabGroup = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSString", -] -NSWorkspace = [ - "bitflags", - "objc2-foundation/NSAppleEventDescriptor", - "objc2-foundation/NSArray", - "objc2-foundation/NSDictionary", - "objc2-foundation/NSError", - "objc2-foundation/NSFileManager", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSNotification", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", - "objc2-foundation/NSURL", - "objc2-foundation/NSValue", - "objc2-foundation/objc2-core-foundation", -] -NSWritingToolsCoordinator = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSAttributedString", - "objc2-foundation/NSGeometry", - "objc2-foundation/NSRange", - "objc2-foundation/NSUUID", - "objc2-foundation/NSValue", - "objc2-foundation/objc2-core-foundation", -] -NSWritingToolsCoordinatorAnimationParameters = [] -NSWritingToolsCoordinatorContext = [ - "objc2-foundation/NSAttributedString", - "objc2-foundation/NSRange", - "objc2-foundation/NSUUID", -] -all = [ +default = [ + "std", "AppKitDefines", "AppKitErrors", "NSATSTypesetter", @@ -2299,15 +368,1945 @@ all = [ "NSWritingToolsCoordinatorAnimationParameters", "NSWritingToolsCoordinatorContext", "bitflags", - "block2", - "libc", - "objc2-cloud-kit", - "objc2-core-data", - "objc2-core-foundation", - "objc2-core-graphics", - "objc2-core-image", - "objc2-quartz-core", - "objc2-uniform-type-identifiers", + "block2", + "libc", + "objc2-cloud-kit", + "objc2-core-data", + "objc2-core-foundation", + "objc2-core-graphics", + "objc2-core-image", + "objc2-quartz-core", +] +std = ["alloc"] +alloc = [] +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"] +gnustep-1-9 = ["gnustep-1-8", "objc2/gnustep-1-9", "block2?/gnustep-1-9", "objc2-foundation/gnustep-1-9", "objc2-core-data?/gnustep-1-9", "objc2-quartz-core?/gnustep-1-9"] +gnustep-2-0 = ["gnustep-1-9", "objc2/gnustep-2-0", "block2?/gnustep-2-0", "objc2-foundation/gnustep-2-0", "objc2-core-data?/gnustep-2-0", "objc2-quartz-core?/gnustep-2-0"] +gnustep-2-1 = ["gnustep-2-0", "objc2/gnustep-2-1", "block2?/gnustep-2-1", "objc2-foundation/gnustep-2-1", "objc2-core-data?/gnustep-2-1", "objc2-quartz-core?/gnustep-2-1"] +bitflags = ["dep:bitflags"] +block2 = ["dep:block2"] +libc = ["dep:libc"] +objc2-cloud-kit = ["dep:objc2-cloud-kit"] +objc2-core-data = ["dep:objc2-core-data"] +objc2-core-foundation = ["dep:objc2-core-foundation"] +objc2-core-graphics = ["dep:objc2-core-graphics"] +objc2-core-image = ["dep:objc2-core-image"] +objc2-quartz-core = ["dep:objc2-quartz-core"] +objc2-uniform-type-identifiers = ["dep:objc2-uniform-type-identifiers"] + +AppKitDefines = [] +AppKitErrors = [] +NSATSTypesetter = [ + "objc2-foundation/NSAttributedString", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSRange", + "objc2-foundation/objc2-core-foundation", +] +NSAccessibility = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSNotification", + "objc2-foundation/NSString", + "objc2-foundation/objc2-core-foundation", +] +NSAccessibilityColor = ["objc2-foundation/NSString"] +NSAccessibilityConstants = [ + "objc2-foundation/NSAttributedString", + "objc2-foundation/NSDictionary", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +NSAccessibilityCustomAction = ["objc2-foundation/NSString"] +NSAccessibilityCustomRotor = [ + "objc2-foundation/NSObject", + "objc2-foundation/NSRange", + "objc2-foundation/NSString", +] +NSAccessibilityElement = [ + "objc2-foundation/NSGeometry", + "objc2-foundation/NSString", + "objc2-foundation/objc2-core-foundation", +] +NSAccessibilityProtocols = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSAttributedString", + "objc2-foundation/NSData", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSObject", + "objc2-foundation/NSRange", + "objc2-foundation/NSString", + "objc2-foundation/NSURL", + "objc2-foundation/NSValue", + "objc2-foundation/objc2-core-foundation", +] +NSActionCell = [ + "objc2-foundation/NSCoder", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +NSAdaptiveImageGlyph = [ + "objc2-foundation/NSAttributedString", + "objc2-foundation/NSCoder", + "objc2-foundation/NSData", + "objc2-foundation/NSDictionary", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +NSAffineTransform = ["objc2-foundation/NSAffineTransform"] +NSAlert = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSError", + "objc2-foundation/NSString", +] +NSAlignmentFeedbackFilter = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSGeometry", + "objc2-foundation/objc2-core-foundation", +] +NSAnimation = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSCoder", + "objc2-foundation/NSDate", + "objc2-foundation/NSDictionary", + "objc2-foundation/NSNotification", + "objc2-foundation/NSObjCRuntime", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", + "objc2-foundation/NSValue", +] +NSAnimationContext = ["objc2-foundation/NSDate"] +NSAppearance = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSBundle", + "objc2-foundation/NSCoder", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +NSAppleScriptExtensions = [ + "objc2-foundation/NSAppleScript", + "objc2-foundation/NSAttributedString", +] +NSApplication = [ + "bitflags", + "objc2-foundation/NSArray", + "objc2-foundation/NSCoder", + "objc2-foundation/NSData", + "objc2-foundation/NSDate", + "objc2-foundation/NSDictionary", + "objc2-foundation/NSError", + "objc2-foundation/NSException", + "objc2-foundation/NSNotification", + "objc2-foundation/NSObjCRuntime", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", + "objc2-foundation/NSURL", + "objc2-foundation/NSUserActivity", +] +NSApplicationScripting = ["objc2-foundation/NSArray"] +NSArrayController = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSCoder", + "objc2-foundation/NSIndexSet", + "objc2-foundation/NSObject", + "objc2-foundation/NSPredicate", + "objc2-foundation/NSSortDescriptor", + "objc2-foundation/NSString", +] +NSAttributedString = [ + "bitflags", + "objc2-foundation/NSArray", + "objc2-foundation/NSAttributedString", + "objc2-foundation/NSData", + "objc2-foundation/NSDictionary", + "objc2-foundation/NSError", + "objc2-foundation/NSFileWrapper", + "objc2-foundation/NSRange", + "objc2-foundation/NSString", + "objc2-foundation/NSURL", +] +NSBezierPath = [ + "objc2-foundation/NSAffineTransform", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSObject", + "objc2-foundation/objc2-core-foundation", +] +NSBitmapImageRep = [ + "bitflags", + "objc2-foundation/NSArray", + "objc2-foundation/NSCoder", + "objc2-foundation/NSData", + "objc2-foundation/NSDictionary", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", + "objc2-foundation/objc2-core-foundation", +] +NSBox = [ + "objc2-foundation/NSCoder", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", + "objc2-foundation/objc2-core-foundation", +] +NSBrowser = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSCoder", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSIndexPath", + "objc2-foundation/NSIndexSet", + "objc2-foundation/NSNotification", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", + "objc2-foundation/NSURL", + "objc2-foundation/objc2-core-foundation", +] +NSBrowserCell = [ + "objc2-foundation/NSCoder", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +NSButton = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSAttributedString", + "objc2-foundation/NSCoder", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", + "objc2-foundation/objc2-core-foundation", +] +NSButtonCell = [ + "objc2-foundation/NSAttributedString", + "objc2-foundation/NSCoder", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", + "objc2-foundation/objc2-core-foundation", +] +NSButtonTouchBarItem = [ + "objc2-foundation/NSCoder", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +NSCIImageRep = [ + "objc2-foundation/NSCoder", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSObject", + "objc2-foundation/objc2-core-foundation", +] +NSCachedImageRep = [ + "objc2-foundation/NSCoder", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSObject", + "objc2-foundation/objc2-core-foundation", +] +NSCandidateListTouchBarItem = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSAttributedString", + "objc2-foundation/NSCoder", + "objc2-foundation/NSObject", + "objc2-foundation/NSRange", + "objc2-foundation/NSString", +] +NSCell = [ + "bitflags", + "objc2-foundation/NSArray", + "objc2-foundation/NSAttributedString", + "objc2-foundation/NSCoder", + "objc2-foundation/NSFormatter", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSNotification", + "objc2-foundation/NSObjCRuntime", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", + "objc2-foundation/objc2-core-foundation", +] +NSClickGestureRecognizer = [ + "objc2-foundation/NSCoder", + "objc2-foundation/NSObject", +] +NSClipView = [ + "objc2-foundation/NSCoder", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSNotification", + "objc2-foundation/NSObject", + "objc2-foundation/objc2-core-foundation", +] +NSCollectionView = [ + "bitflags", + "objc2-foundation/NSArray", + "objc2-foundation/NSBundle", + "objc2-foundation/NSCoder", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSIndexPath", + "objc2-foundation/NSIndexSet", + "objc2-foundation/NSObjCRuntime", + "objc2-foundation/NSObject", + "objc2-foundation/NSSet", + "objc2-foundation/NSString", + "objc2-foundation/NSURL", + "objc2-foundation/objc2-core-foundation", +] +NSCollectionViewCompositionalLayout = [ + "bitflags", + "objc2-foundation/NSArray", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSIndexPath", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", + "objc2-foundation/objc2-core-foundation", +] +NSCollectionViewFlowLayout = [ + "objc2-foundation/NSGeometry", + "objc2-foundation/NSIndexPath", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", + "objc2-foundation/objc2-core-foundation", +] +NSCollectionViewGridLayout = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSObject", + "objc2-foundation/objc2-core-foundation", +] +NSCollectionViewLayout = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSDictionary", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSIndexPath", + "objc2-foundation/NSObject", + "objc2-foundation/NSSet", + "objc2-foundation/NSString", + "objc2-foundation/objc2-core-foundation", +] +NSCollectionViewTransitionLayout = [ + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +NSColor = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSBundle", + "objc2-foundation/NSCoder", + "objc2-foundation/NSDictionary", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSNotification", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", + "objc2-foundation/objc2-core-foundation", +] +NSColorList = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSError", + "objc2-foundation/NSNotification", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", + "objc2-foundation/NSURL", +] +NSColorPanel = [ + "bitflags", + "objc2-foundation/NSCoder", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSNotification", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", + "objc2-foundation/objc2-core-foundation", +] +NSColorPicker = [ + "objc2-foundation/NSGeometry", + "objc2-foundation/NSString", + "objc2-foundation/objc2-core-foundation", +] +NSColorPickerTouchBarItem = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSCoder", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +NSColorPicking = [ + "objc2-foundation/NSGeometry", + "objc2-foundation/NSString", + "objc2-foundation/objc2-core-foundation", +] +NSColorSampler = [] +NSColorSpace = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSData", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +NSColorWell = [ + "objc2-foundation/NSCoder", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSObject", + "objc2-foundation/objc2-core-foundation", +] +NSComboBox = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSCoder", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSNotification", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", + "objc2-foundation/objc2-core-foundation", +] +NSComboBoxCell = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSCoder", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", + "objc2-foundation/objc2-core-foundation", +] +NSComboButton = [ + "objc2-foundation/NSCoder", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", + "objc2-foundation/objc2-core-foundation", +] +NSControl = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSAttributedString", + "objc2-foundation/NSCoder", + "objc2-foundation/NSFormatter", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSNotification", + "objc2-foundation/NSObject", + "objc2-foundation/NSRange", + "objc2-foundation/NSString", + "objc2-foundation/objc2-core-foundation", +] +NSController = [ + "objc2-foundation/NSCoder", + "objc2-foundation/NSObject", +] +NSCursor = [ + "bitflags", + "objc2-foundation/NSCoder", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSObject", + "objc2-foundation/objc2-core-foundation", +] +NSCustomImageRep = [ + "objc2-foundation/NSCoder", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSObject", + "objc2-foundation/objc2-core-foundation", +] +NSCustomTouchBarItem = [ + "objc2-foundation/NSCoder", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +NSDataAsset = [ + "objc2-foundation/NSBundle", + "objc2-foundation/NSData", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +NSDatePicker = [ + "objc2-foundation/NSCalendar", + "objc2-foundation/NSCoder", + "objc2-foundation/NSDate", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSLocale", + "objc2-foundation/NSObject", + "objc2-foundation/NSTimeZone", + "objc2-foundation/objc2-core-foundation", +] +NSDatePickerCell = [ + "bitflags", + "objc2-foundation/NSCalendar", + "objc2-foundation/NSCoder", + "objc2-foundation/NSDate", + "objc2-foundation/NSLocale", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", + "objc2-foundation/NSTimeZone", +] +NSDictionaryController = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSCoder", + "objc2-foundation/NSDictionary", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +NSDiffableDataSource = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSIndexPath", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +NSDirection = ["bitflags"] +NSDockTile = [ + "objc2-foundation/NSGeometry", + "objc2-foundation/NSString", + "objc2-foundation/objc2-core-foundation", +] +NSDocument = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSData", + "objc2-foundation/NSDate", + "objc2-foundation/NSDictionary", + "objc2-foundation/NSError", + "objc2-foundation/NSFilePresenter", + "objc2-foundation/NSFileVersion", + "objc2-foundation/NSFileWrapper", + "objc2-foundation/NSSet", + "objc2-foundation/NSString", + "objc2-foundation/NSURL", + "objc2-foundation/NSUndoManager", +] +NSDocumentController = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSCoder", + "objc2-foundation/NSDate", + "objc2-foundation/NSError", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", + "objc2-foundation/NSURL", +] +NSDocumentScripting = [ + "objc2-foundation/NSScriptCommand", + "objc2-foundation/NSScriptObjectSpecifiers", + "objc2-foundation/NSScriptStandardSuiteCommands", + "objc2-foundation/NSString", +] +NSDragging = [ + "bitflags", + "objc2-foundation/NSArray", + "objc2-foundation/NSDictionary", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSObjCRuntime", + "objc2-foundation/NSString", + "objc2-foundation/NSURL", + "objc2-foundation/objc2-core-foundation", +] +NSDraggingItem = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSString", + "objc2-foundation/objc2-core-foundation", +] +NSDraggingSession = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSDictionary", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSString", + "objc2-foundation/objc2-core-foundation", +] +NSDrawer = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSCoder", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSNotification", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", + "objc2-foundation/objc2-core-foundation", +] +NSEPSImageRep = [ + "objc2-foundation/NSCoder", + "objc2-foundation/NSData", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSObject", + "objc2-foundation/objc2-core-foundation", +] +NSErrors = [ + "objc2-foundation/NSObjCRuntime", + "objc2-foundation/NSString", +] +NSEvent = [ + "bitflags", + "objc2-foundation/NSArray", + "objc2-foundation/NSDate", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSObject", + "objc2-foundation/NSSet", + "objc2-foundation/NSString", + "objc2-foundation/objc2-core-foundation", +] +NSFilePromiseProvider = [ + "objc2-foundation/NSError", + "objc2-foundation/NSOperation", + "objc2-foundation/NSString", + "objc2-foundation/NSURL", +] +NSFilePromiseReceiver = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSDictionary", + "objc2-foundation/NSError", + "objc2-foundation/NSOperation", + "objc2-foundation/NSString", + "objc2-foundation/NSURL", +] +NSFileWrapperExtensions = ["objc2-foundation/NSFileWrapper"] +NSFont = [ + "objc2-foundation/NSAffineTransform", + "objc2-foundation/NSCharacterSet", + "objc2-foundation/NSDictionary", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSNotification", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", + "objc2-foundation/objc2-core-foundation", +] +NSFontAssetRequest = [ + "bitflags", + "objc2-foundation/NSArray", + "objc2-foundation/NSError", + "objc2-foundation/NSProgress", +] +NSFontCollection = [ + "bitflags", + "objc2-foundation/NSArray", + "objc2-foundation/NSDictionary", + "objc2-foundation/NSError", + "objc2-foundation/NSLocale", + "objc2-foundation/NSNotification", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", + "objc2-foundation/NSValue", +] +NSFontDescriptor = [ + "bitflags", + "objc2-foundation/NSAffineTransform", + "objc2-foundation/NSArray", + "objc2-foundation/NSDictionary", + "objc2-foundation/NSObject", + "objc2-foundation/NSSet", + "objc2-foundation/NSString", +] +NSFontManager = [ + "bitflags", + "objc2-foundation/NSArray", + "objc2-foundation/NSDictionary", + "objc2-foundation/NSString", +] +NSFontPanel = [ + "bitflags", + "objc2-foundation/NSCoder", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSObject", + "objc2-foundation/objc2-core-foundation", +] +NSForm = [ + "objc2-foundation/NSCoder", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", + "objc2-foundation/objc2-core-foundation", +] +NSFormCell = [ + "objc2-foundation/NSAttributedString", + "objc2-foundation/NSCoder", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", + "objc2-foundation/objc2-core-foundation", +] +NSGestureRecognizer = [ + "objc2-foundation/NSCoder", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSObject", + "objc2-foundation/objc2-core-foundation", +] +NSGlyphGenerator = ["objc2-foundation/NSAttributedString"] +NSGlyphInfo = [ + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +NSGradient = [ + "bitflags", + "objc2-foundation/NSArray", + "objc2-foundation/NSCoder", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSObject", + "objc2-foundation/objc2-core-foundation", +] +NSGraphics = [ + "objc2-foundation/NSGeometry", + "objc2-foundation/NSString", + "objc2-foundation/objc2-core-foundation", +] +NSGraphicsContext = [ + "objc2-foundation/NSDictionary", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSString", + "objc2-foundation/objc2-core-foundation", +] +NSGridView = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSCoder", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSObject", + "objc2-foundation/NSRange", + "objc2-foundation/objc2-core-foundation", +] +NSGroupTouchBarItem = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSCoder", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +NSHapticFeedback = [] +NSHelpManager = [ + "objc2-foundation/NSAttributedString", + "objc2-foundation/NSBundle", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSNotification", + "objc2-foundation/NSString", + "objc2-foundation/objc2-core-foundation", +] +NSImage = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSBundle", + "objc2-foundation/NSCoder", + "objc2-foundation/NSData", + "objc2-foundation/NSDictionary", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSItemProvider", + "objc2-foundation/NSLocale", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", + "objc2-foundation/NSURL", + "objc2-foundation/objc2-core-foundation", +] +NSImageCell = [ + "objc2-foundation/NSCoder", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +NSImageRep = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSCoder", + "objc2-foundation/NSData", + "objc2-foundation/NSDictionary", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSNotification", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", + "objc2-foundation/NSURL", + "objc2-foundation/objc2-core-foundation", +] +NSImageView = [ + "objc2-foundation/NSCoder", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSObject", + "objc2-foundation/objc2-core-foundation", +] +NSInputManager = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSAttributedString", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSRange", + "objc2-foundation/NSString", + "objc2-foundation/objc2-core-foundation", +] +NSInputServer = [ + "objc2-foundation/NSGeometry", + "objc2-foundation/NSRange", + "objc2-foundation/NSString", + "objc2-foundation/objc2-core-foundation", +] +NSInterfaceStyle = ["objc2-foundation/NSString"] +NSItemProvider = [ + "objc2-foundation/NSGeometry", + "objc2-foundation/NSItemProvider", + "objc2-foundation/NSString", + "objc2-foundation/objc2-core-foundation", +] +NSKeyValueBinding = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSDictionary", + "objc2-foundation/NSError", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +NSLayoutAnchor = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +NSLayoutConstraint = [ + "bitflags", + "objc2-foundation/NSArray", + "objc2-foundation/NSDictionary", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSString", + "objc2-foundation/objc2-core-foundation", +] +NSLayoutGuide = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", + "objc2-foundation/objc2-core-foundation", +] +NSLayoutManager = [ + "bitflags", + "objc2-foundation/NSAffineTransform", + "objc2-foundation/NSArray", + "objc2-foundation/NSAttributedString", + "objc2-foundation/NSCoder", + "objc2-foundation/NSDictionary", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSObject", + "objc2-foundation/NSRange", + "objc2-foundation/NSString", + "objc2-foundation/objc2-core-foundation", +] +NSLevelIndicator = [ + "objc2-foundation/NSCoder", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSObject", + "objc2-foundation/objc2-core-foundation", +] +NSLevelIndicatorCell = [ + "objc2-foundation/NSCoder", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", + "objc2-foundation/objc2-core-foundation", +] +NSMagnificationGestureRecognizer = [ + "objc2-foundation/NSCoder", + "objc2-foundation/NSObject", +] +NSMatrix = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSCoder", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSNotification", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", + "objc2-foundation/objc2-core-foundation", +] +NSMediaLibraryBrowserController = [ + "bitflags", + "objc2-foundation/NSGeometry", + "objc2-foundation/objc2-core-foundation", +] +NSMenu = [ + "bitflags", + "objc2-foundation/NSArray", + "objc2-foundation/NSCoder", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSNotification", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", + "objc2-foundation/NSZone", + "objc2-foundation/objc2-core-foundation", +] +NSMenuItem = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSAttributedString", + "objc2-foundation/NSCoder", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +NSMenuItemBadge = [ + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +NSMenuItemCell = [ + "objc2-foundation/NSCoder", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", + "objc2-foundation/objc2-core-foundation", +] +NSMenuToolbarItem = [ + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +NSMovie = [ + "objc2-foundation/NSCoder", + "objc2-foundation/NSObject", +] +NSNib = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSBundle", + "objc2-foundation/NSData", + "objc2-foundation/NSDictionary", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", + "objc2-foundation/NSURL", +] +NSNibConnector = [ + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +NSNibControlConnector = ["objc2-foundation/NSObject"] +NSNibDeclarations = [] +NSNibLoading = [] +NSNibOutletConnector = ["objc2-foundation/NSObject"] +NSObjectController = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSCoder", + "objc2-foundation/NSError", + "objc2-foundation/NSObject", + "objc2-foundation/NSPredicate", + "objc2-foundation/NSString", +] +NSOpenGL = [] +NSOpenGLLayer = [] +NSOpenGLView = [] +NSOpenPanel = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSCoder", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", + "objc2-foundation/NSURL", + "objc2-foundation/objc2-core-foundation", +] +NSOutlineView = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSCoder", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSIndexSet", + "objc2-foundation/NSNotification", + "objc2-foundation/NSObject", + "objc2-foundation/NSSortDescriptor", + "objc2-foundation/NSString", + "objc2-foundation/NSURL", + "objc2-foundation/objc2-core-foundation", +] +NSPDFImageRep = [ + "objc2-foundation/NSCoder", + "objc2-foundation/NSData", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSObject", + "objc2-foundation/objc2-core-foundation", +] +NSPDFInfo = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSDictionary", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", + "objc2-foundation/NSURL", + "objc2-foundation/objc2-core-foundation", +] +NSPDFPanel = [ + "bitflags", + "objc2-foundation/NSString", +] +NSPICTImageRep = [ + "objc2-foundation/NSCoder", + "objc2-foundation/NSData", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSObject", + "objc2-foundation/objc2-core-foundation", +] +NSPageController = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSBundle", + "objc2-foundation/NSCoder", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", + "objc2-foundation/objc2-core-foundation", +] +NSPageLayout = ["objc2-foundation/NSArray"] +NSPanGestureRecognizer = [ + "objc2-foundation/NSCoder", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSObject", + "objc2-foundation/objc2-core-foundation", +] +NSPanel = [ + "objc2-foundation/NSCoder", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSObject", + "objc2-foundation/objc2-core-foundation", +] +NSParagraphStyle = [ + "bitflags", + "objc2-foundation/NSArray", + "objc2-foundation/NSCharacterSet", + "objc2-foundation/NSDictionary", + "objc2-foundation/NSLocale", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +NSPasteboard = [ + "bitflags", + "objc2-foundation/NSArray", + "objc2-foundation/NSData", + "objc2-foundation/NSDictionary", + "objc2-foundation/NSFileWrapper", + "objc2-foundation/NSString", + "objc2-foundation/NSURL", +] +NSPasteboardItem = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSData", + "objc2-foundation/NSString", +] +NSPathCell = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSAttributedString", + "objc2-foundation/NSCoder", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", + "objc2-foundation/NSURL", + "objc2-foundation/objc2-core-foundation", +] +NSPathComponentCell = [ + "objc2-foundation/NSCoder", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", + "objc2-foundation/NSURL", +] +NSPathControl = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSAttributedString", + "objc2-foundation/NSCoder", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", + "objc2-foundation/NSURL", + "objc2-foundation/objc2-core-foundation", +] +NSPathControlItem = [ + "objc2-foundation/NSAttributedString", + "objc2-foundation/NSString", + "objc2-foundation/NSURL", +] +NSPersistentDocument = [ + "objc2-foundation/NSDictionary", + "objc2-foundation/NSError", + "objc2-foundation/NSFilePresenter", + "objc2-foundation/NSString", + "objc2-foundation/NSURL", +] +NSPickerTouchBarItem = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSCoder", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +NSPopUpButton = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSCoder", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSNotification", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", + "objc2-foundation/objc2-core-foundation", +] +NSPopUpButtonCell = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSCoder", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSNotification", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", + "objc2-foundation/objc2-core-foundation", +] +NSPopover = [ + "objc2-foundation/NSCoder", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSNotification", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", + "objc2-foundation/objc2-core-foundation", +] +NSPopoverTouchBarItem = [ + "objc2-foundation/NSCoder", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +NSPredicateEditor = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSCoder", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSObject", + "objc2-foundation/objc2-core-foundation", +] +NSPredicateEditorRowTemplate = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSComparisonPredicate", + "objc2-foundation/NSExpression", + "objc2-foundation/NSObject", + "objc2-foundation/NSPredicate", + "objc2-foundation/NSString", + "objc2-foundation/NSValue", +] +NSPressGestureRecognizer = [ + "objc2-foundation/NSCoder", + "objc2-foundation/NSDate", + "objc2-foundation/NSObject", +] +NSPressureConfiguration = [] +NSPreviewRepresentingActivityItem = [ + "objc2-foundation/NSItemProvider", + "objc2-foundation/NSString", +] +NSPrintInfo = [ + "objc2-foundation/NSCoder", + "objc2-foundation/NSDictionary", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", + "objc2-foundation/objc2-core-foundation", +] +NSPrintOperation = [ + "objc2-foundation/NSData", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSObjCRuntime", + "objc2-foundation/NSRange", + "objc2-foundation/NSString", + "objc2-foundation/objc2-core-foundation", +] +NSPrintPanel = [ + "bitflags", + "objc2-foundation/NSArray", + "objc2-foundation/NSDictionary", + "objc2-foundation/NSSet", + "objc2-foundation/NSString", +] +NSPrinter = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSDictionary", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", + "objc2-foundation/objc2-core-foundation", +] +NSProgressIndicator = [ + "objc2-foundation/NSCoder", + "objc2-foundation/NSDate", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSObject", + "objc2-foundation/NSProgress", + "objc2-foundation/objc2-core-foundation", +] +NSResponder = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSCoder", + "objc2-foundation/NSError", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", + "objc2-foundation/NSUndoManager", +] +NSRotationGestureRecognizer = [ + "objc2-foundation/NSCoder", + "objc2-foundation/NSObject", +] +NSRuleEditor = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSCoder", + "objc2-foundation/NSDictionary", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSIndexSet", + "objc2-foundation/NSNotification", + "objc2-foundation/NSObject", + "objc2-foundation/NSPredicate", + "objc2-foundation/NSString", + "objc2-foundation/objc2-core-foundation", +] +NSRulerMarker = [ + "objc2-foundation/NSCoder", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSObject", + "objc2-foundation/objc2-core-foundation", +] +NSRulerView = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSCoder", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", + "objc2-foundation/NSValue", + "objc2-foundation/objc2-core-foundation", +] +NSRunningApplication = [ + "bitflags", + "objc2-foundation/NSArray", + "objc2-foundation/NSDate", + "objc2-foundation/NSString", + "objc2-foundation/NSURL", +] +NSSavePanel = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSCoder", + "objc2-foundation/NSError", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", + "objc2-foundation/NSURL", + "objc2-foundation/objc2-core-foundation", +] +NSScreen = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSDate", + "objc2-foundation/NSDictionary", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSNotification", + "objc2-foundation/NSString", + "objc2-foundation/objc2-core-foundation", +] +NSScrollView = [ + "objc2-foundation/NSCoder", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSNotification", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", + "objc2-foundation/objc2-core-foundation", +] +NSScroller = [ + "objc2-foundation/NSCoder", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSNotification", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", + "objc2-foundation/objc2-core-foundation", +] +NSScrubber = [ + "objc2-foundation/NSCoder", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSIndexSet", + "objc2-foundation/NSObject", + "objc2-foundation/NSRange", + "objc2-foundation/NSString", + "objc2-foundation/objc2-core-foundation", +] +NSScrubberItemView = [ + "objc2-foundation/NSCoder", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", + "objc2-foundation/objc2-core-foundation", +] +NSScrubberLayout = [ + "objc2-foundation/NSCoder", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSIndexSet", + "objc2-foundation/NSObject", + "objc2-foundation/NSSet", + "objc2-foundation/objc2-core-foundation", +] +NSSearchField = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSCoder", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", + "objc2-foundation/objc2-core-foundation", +] +NSSearchFieldCell = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSCoder", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", + "objc2-foundation/objc2-core-foundation", +] +NSSearchToolbarItem = [ + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +NSSecureTextField = [ + "objc2-foundation/NSCoder", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", + "objc2-foundation/objc2-core-foundation", +] +NSSegmentedCell = [ + "objc2-foundation/NSCoder", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", + "objc2-foundation/objc2-core-foundation", +] +NSSegmentedControl = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSCoder", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", + "objc2-foundation/objc2-core-foundation", +] +NSShadow = [ + "objc2-foundation/NSGeometry", + "objc2-foundation/NSObject", + "objc2-foundation/objc2-core-foundation", +] +NSSharingCollaborationModeRestriction = [ + "objc2-foundation/NSObject", + "objc2-foundation/NSString", + "objc2-foundation/NSURL", +] +NSSharingService = [ + "bitflags", + "objc2-foundation/NSArray", + "objc2-foundation/NSError", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSItemProvider", + "objc2-foundation/NSString", + "objc2-foundation/NSURL", + "objc2-foundation/objc2-core-foundation", +] +NSSharingServicePickerToolbarItem = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +NSSharingServicePickerTouchBarItem = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSCoder", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +NSSlider = [ + "objc2-foundation/NSCoder", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", + "objc2-foundation/objc2-core-foundation", +] +NSSliderAccessory = ["objc2-foundation/NSObject"] +NSSliderCell = [ + "objc2-foundation/NSCoder", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", + "objc2-foundation/objc2-core-foundation", +] +NSSliderTouchBarItem = [ + "objc2-foundation/NSCoder", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +NSSound = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSBundle", + "objc2-foundation/NSData", + "objc2-foundation/NSDate", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", + "objc2-foundation/NSURL", +] +NSSpeechRecognizer = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSString", +] +NSSpeechSynthesizer = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSDictionary", + "objc2-foundation/NSError", + "objc2-foundation/NSRange", + "objc2-foundation/NSString", + "objc2-foundation/NSURL", +] +NSSpellChecker = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSDictionary", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSNotification", + "objc2-foundation/NSOrthography", + "objc2-foundation/NSRange", + "objc2-foundation/NSString", + "objc2-foundation/NSTextCheckingResult", + "objc2-foundation/objc2-core-foundation", +] +NSSpellProtocol = [] +NSSplitView = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSCoder", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSNotification", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", + "objc2-foundation/objc2-core-foundation", +] +NSSplitViewController = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSBundle", + "objc2-foundation/NSCoder", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", + "objc2-foundation/objc2-core-foundation", +] +NSSplitViewItem = ["objc2-foundation/NSObject"] +NSStackView = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSCoder", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSObject", + "objc2-foundation/objc2-core-foundation", +] +NSStatusBar = [] +NSStatusBarButton = [ + "objc2-foundation/NSCoder", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", + "objc2-foundation/objc2-core-foundation", +] +NSStatusItem = [ + "bitflags", + "objc2-foundation/NSAttributedString", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSString", + "objc2-foundation/objc2-core-foundation", +] +NSStepper = [ + "objc2-foundation/NSCoder", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSObject", + "objc2-foundation/objc2-core-foundation", +] +NSStepperCell = [ + "objc2-foundation/NSCoder", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +NSStepperTouchBarItem = [ + "objc2-foundation/NSCoder", + "objc2-foundation/NSFormatter", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", + "objc2-foundation/objc2-core-foundation", +] +NSStoryboard = [ + "objc2-foundation/NSBundle", + "objc2-foundation/NSCoder", + "objc2-foundation/NSString", +] +NSStoryboardSegue = ["objc2-foundation/NSString"] +NSStringDrawing = [ + "bitflags", + "objc2-foundation/NSAttributedString", + "objc2-foundation/NSDictionary", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSString", + "objc2-foundation/objc2-core-foundation", +] +NSSwitch = [ + "objc2-foundation/NSCoder", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSObject", + "objc2-foundation/objc2-core-foundation", +] +NSTabView = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSCoder", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSObject", + "objc2-foundation/objc2-core-foundation", +] +NSTabViewController = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSBundle", + "objc2-foundation/NSCoder", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +NSTabViewItem = [ + "objc2-foundation/NSGeometry", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", + "objc2-foundation/objc2-core-foundation", +] +NSTableCellView = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSCoder", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSObject", + "objc2-foundation/objc2-core-foundation", +] +NSTableColumn = [ + "bitflags", + "objc2-foundation/NSCoder", + "objc2-foundation/NSObject", + "objc2-foundation/NSSortDescriptor", + "objc2-foundation/NSString", +] +NSTableHeaderCell = [ + "objc2-foundation/NSCoder", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", + "objc2-foundation/objc2-core-foundation", +] +NSTableHeaderView = [ + "objc2-foundation/NSCoder", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSObject", + "objc2-foundation/objc2-core-foundation", +] +NSTableRowView = [ + "objc2-foundation/NSCoder", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSObject", + "objc2-foundation/objc2-core-foundation", +] +NSTableView = [ + "bitflags", + "objc2-foundation/NSArray", + "objc2-foundation/NSCoder", + "objc2-foundation/NSDictionary", + "objc2-foundation/NSEnumerator", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSIndexSet", + "objc2-foundation/NSNotification", + "objc2-foundation/NSObject", + "objc2-foundation/NSRange", + "objc2-foundation/NSSortDescriptor", + "objc2-foundation/NSString", + "objc2-foundation/NSURL", + "objc2-foundation/objc2-core-foundation", +] +NSTableViewDiffableDataSource = [] +NSTableViewRowAction = [ + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +NSText = [ + "objc2-foundation/NSCoder", + "objc2-foundation/NSData", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSNotification", + "objc2-foundation/NSObject", + "objc2-foundation/NSRange", + "objc2-foundation/NSString", + "objc2-foundation/objc2-core-foundation", +] +NSTextAlternatives = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSNotification", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +NSTextAttachment = [ + "objc2-foundation/NSAttributedString", + "objc2-foundation/NSData", + "objc2-foundation/NSDictionary", + "objc2-foundation/NSFileWrapper", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +NSTextAttachmentCell = [ + "objc2-foundation/NSCoder", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", + "objc2-foundation/objc2-core-foundation", +] +NSTextCheckingClient = [ + "bitflags", + "objc2-foundation/NSAttributedString", + "objc2-foundation/NSDictionary", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSRange", + "objc2-foundation/NSString", + "objc2-foundation/objc2-core-foundation", +] +NSTextCheckingController = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSAttributedString", + "objc2-foundation/NSDictionary", + "objc2-foundation/NSRange", + "objc2-foundation/NSString", + "objc2-foundation/NSTextCheckingResult", +] +NSTextContainer = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSCoder", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSObject", + "objc2-foundation/objc2-core-foundation", +] +NSTextContent = ["objc2-foundation/NSString"] +NSTextContentManager = [ + "bitflags", + "objc2-foundation/NSArray", + "objc2-foundation/NSAttributedString", + "objc2-foundation/NSCoder", + "objc2-foundation/NSError", + "objc2-foundation/NSNotification", + "objc2-foundation/NSObject", + "objc2-foundation/NSRange", + "objc2-foundation/NSString", +] +NSTextElement = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSAttributedString", +] +NSTextField = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSAttributedString", + "objc2-foundation/NSCoder", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSNotification", + "objc2-foundation/NSObject", + "objc2-foundation/NSRange", + "objc2-foundation/NSString", + "objc2-foundation/NSTextCheckingResult", + "objc2-foundation/objc2-core-foundation", +] +NSTextFieldCell = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSAttributedString", + "objc2-foundation/NSCoder", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +NSTextFinder = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSCoder", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSObject", + "objc2-foundation/NSRange", + "objc2-foundation/NSString", + "objc2-foundation/NSValue", + "objc2-foundation/objc2-core-foundation", +] +NSTextInputClient = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSAttributedString", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSRange", + "objc2-foundation/NSString", + "objc2-foundation/objc2-core-foundation", +] +NSTextInputContext = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSNotification", + "objc2-foundation/NSString", +] +NSTextInsertionIndicator = [ + "bitflags", + "objc2-foundation/NSCoder", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSObject", + "objc2-foundation/objc2-core-foundation", +] +NSTextLayoutFragment = [ + "bitflags", + "objc2-foundation/NSArray", + "objc2-foundation/NSCoder", + "objc2-foundation/NSObject", + "objc2-foundation/NSOperation", +] +NSTextLayoutManager = [ + "bitflags", + "objc2-foundation/NSArray", + "objc2-foundation/NSAttributedString", + "objc2-foundation/NSCoder", + "objc2-foundation/NSDictionary", + "objc2-foundation/NSObject", + "objc2-foundation/NSOperation", + "objc2-foundation/NSString", +] +NSTextLineFragment = [ + "objc2-foundation/NSAttributedString", + "objc2-foundation/NSCoder", + "objc2-foundation/NSDictionary", + "objc2-foundation/NSObject", + "objc2-foundation/NSRange", + "objc2-foundation/NSString", +] +NSTextList = [ + "bitflags", + "objc2-foundation/NSCoder", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +NSTextListElement = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSAttributedString", + "objc2-foundation/NSDictionary", + "objc2-foundation/NSString", +] +NSTextRange = ["objc2-foundation/NSObjCRuntime"] +NSTextSelection = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSAttributedString", + "objc2-foundation/NSCoder", + "objc2-foundation/NSDictionary", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +NSTextSelectionNavigation = [ + "bitflags", + "objc2-foundation/NSArray", + "objc2-foundation/NSString", +] +NSTextStorage = [ + "bitflags", + "objc2-foundation/NSArray", + "objc2-foundation/NSAttributedString", + "objc2-foundation/NSNotification", + "objc2-foundation/NSObject", + "objc2-foundation/NSRange", + "objc2-foundation/NSString", +] +NSTextStorageScripting = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSAttributedString", +] +NSTextTable = [ + "objc2-foundation/NSGeometry", + "objc2-foundation/NSObject", + "objc2-foundation/NSRange", + "objc2-foundation/objc2-core-foundation", +] +NSTextView = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSAttributedString", + "objc2-foundation/NSCoder", + "objc2-foundation/NSDictionary", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSNotification", + "objc2-foundation/NSObject", + "objc2-foundation/NSOrthography", + "objc2-foundation/NSRange", + "objc2-foundation/NSString", + "objc2-foundation/NSTextCheckingResult", + "objc2-foundation/NSURL", + "objc2-foundation/NSUndoManager", + "objc2-foundation/NSValue", + "objc2-foundation/objc2-core-foundation", +] +NSTextViewportLayoutController = [] +NSTintConfiguration = ["objc2-foundation/NSObject"] +NSTitlebarAccessoryViewController = [ + "objc2-foundation/NSBundle", + "objc2-foundation/NSCoder", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +NSTokenField = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSCharacterSet", + "objc2-foundation/NSCoder", + "objc2-foundation/NSDate", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", + "objc2-foundation/objc2-core-foundation", +] +NSTokenFieldCell = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSCharacterSet", + "objc2-foundation/NSCoder", + "objc2-foundation/NSDate", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +NSToolbar = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSDictionary", + "objc2-foundation/NSNotification", + "objc2-foundation/NSSet", + "objc2-foundation/NSString", +] +NSToolbarItem = [ + "objc2-foundation/NSGeometry", + "objc2-foundation/NSObject", + "objc2-foundation/NSSet", + "objc2-foundation/NSString", + "objc2-foundation/objc2-core-foundation", +] +NSToolbarItemGroup = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +NSTouch = [ + "bitflags", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSObject", + "objc2-foundation/objc2-core-foundation", +] +NSTouchBar = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSCoder", + "objc2-foundation/NSObject", + "objc2-foundation/NSSet", + "objc2-foundation/NSString", +] +NSTouchBarItem = [ + "objc2-foundation/NSCoder", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +NSTrackingArea = [ + "bitflags", + "objc2-foundation/NSDictionary", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSObject", + "objc2-foundation/objc2-core-foundation", +] +NSTrackingSeparatorToolbarItem = [ + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +NSTreeController = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSCoder", + "objc2-foundation/NSIndexPath", + "objc2-foundation/NSObject", + "objc2-foundation/NSSortDescriptor", + "objc2-foundation/NSString", +] +NSTreeNode = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSIndexPath", + "objc2-foundation/NSSortDescriptor", +] +NSTypesetter = [ + "bitflags", + "objc2-foundation/NSArray", + "objc2-foundation/NSAttributedString", + "objc2-foundation/NSDictionary", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSRange", + "objc2-foundation/NSString", + "objc2-foundation/objc2-core-foundation", +] +NSUserActivity = [ + "objc2-foundation/NSString", + "objc2-foundation/NSUserActivity", +] +NSUserDefaultsController = [ + "objc2-foundation/NSCoder", + "objc2-foundation/NSDictionary", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", + "objc2-foundation/NSUserDefaults", +] +NSUserInterfaceCompression = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSCoder", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSObject", + "objc2-foundation/NSSet", + "objc2-foundation/NSString", + "objc2-foundation/objc2-core-foundation", +] +NSUserInterfaceItemIdentification = ["objc2-foundation/NSString"] +NSUserInterfaceItemSearching = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSRange", + "objc2-foundation/NSString", +] +NSUserInterfaceLayout = [] +NSUserInterfaceValidation = [] +NSView = [ + "bitflags", + "objc2-foundation/NSArray", + "objc2-foundation/NSAttributedString", + "objc2-foundation/NSCoder", + "objc2-foundation/NSData", + "objc2-foundation/NSDictionary", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSNotification", + "objc2-foundation/NSObjCRuntime", + "objc2-foundation/NSObject", + "objc2-foundation/NSRange", + "objc2-foundation/NSString", + "objc2-foundation/objc2-core-foundation", +] +NSViewController = [ + "bitflags", + "objc2-foundation/NSArray", + "objc2-foundation/NSBundle", + "objc2-foundation/NSCoder", + "objc2-foundation/NSExtensionContext", + "objc2-foundation/NSExtensionRequestHandling", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", + "objc2-foundation/objc2-core-foundation", +] +NSVisualEffectView = [ + "objc2-foundation/NSCoder", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSObject", + "objc2-foundation/objc2-core-foundation", +] +NSWindow = [ + "bitflags", + "objc2-foundation/NSArray", + "objc2-foundation/NSCoder", + "objc2-foundation/NSData", + "objc2-foundation/NSDate", + "objc2-foundation/NSDictionary", + "objc2-foundation/NSError", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSNotification", + "objc2-foundation/NSObjCRuntime", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", + "objc2-foundation/NSURL", + "objc2-foundation/NSUndoManager", + "objc2-foundation/NSValue", + "objc2-foundation/objc2-core-foundation", +] +NSWindowController = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSCoder", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +NSWindowRestoration = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSCoder", + "objc2-foundation/NSError", + "objc2-foundation/NSNotification", + "objc2-foundation/NSOperation", + "objc2-foundation/NSString", +] +NSWindowScripting = [ + "objc2-foundation/NSScriptCommand", + "objc2-foundation/NSScriptStandardSuiteCommands", +] +NSWindowTab = [ + "objc2-foundation/NSAttributedString", + "objc2-foundation/NSString", +] +NSWindowTabGroup = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSString", +] +NSWorkspace = [ + "bitflags", + "objc2-foundation/NSAppleEventDescriptor", + "objc2-foundation/NSArray", + "objc2-foundation/NSDictionary", + "objc2-foundation/NSError", + "objc2-foundation/NSFileManager", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSNotification", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", + "objc2-foundation/NSURL", + "objc2-foundation/NSValue", + "objc2-foundation/objc2-core-foundation", +] +NSWritingToolsCoordinator = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSAttributedString", + "objc2-foundation/NSGeometry", + "objc2-foundation/NSRange", + "objc2-foundation/NSUUID", + "objc2-foundation/NSValue", + "objc2-foundation/objc2-core-foundation", +] +NSWritingToolsCoordinatorAnimationParameters = [] +NSWritingToolsCoordinatorContext = [ + "objc2-foundation/NSAttributedString", + "objc2-foundation/NSRange", + "objc2-foundation/NSUUID", ] [[example]] diff --git a/framework-crates/objc2-app-tracking-transparency/Cargo.toml b/framework-crates/objc2-app-tracking-transparency/Cargo.toml index 0576aed5b..fc25430d2 100644 --- a/framework-crates/objc2-app-tracking-transparency/Cargo.toml +++ b/framework-crates/objc2-app-tracking-transparency/Cargo.toml @@ -21,7 +21,6 @@ objc2 = { path = "../../crates/objc2", version = "0.5.2", default-features = fal [package.metadata.docs.rs] default-target = "aarch64-apple-darwin" -features = ["all"] rustc-args = ["--cfg", "docsrs"] # Fix cross-crate link to objc2::topics targets = [ "aarch64-apple-darwin", @@ -33,9 +32,10 @@ targets = [ ] [features] -default = ["std"] +default = [ + "std", + "block2", +] std = ["alloc"] alloc = [] block2 = ["dep:block2"] - -all = ["block2"] diff --git a/framework-crates/objc2-ar-kit/Cargo.toml b/framework-crates/objc2-ar-kit/Cargo.toml index b2512d946..b97672a7e 100644 --- a/framework-crates/objc2-ar-kit/Cargo.toml +++ b/framework-crates/objc2-ar-kit/Cargo.toml @@ -80,7 +80,6 @@ objc2-vision = { path = "../objc2-vision", version = "0.2.2", default-features = [package.metadata.docs.rs] default-target = "aarch64-apple-ios" -features = ["all"] rustc-args = ["--cfg", "docsrs"] # Fix cross-crate link to objc2::topics targets = [ "aarch64-apple-ios", @@ -90,7 +89,71 @@ targets = [ ] [features] -default = ["std"] +default = [ + "std", + "ARAnchor", + "ARAppClipCodeAnchor", + "ARBody2D", + "ARBodyAnchor", + "ARCamera", + "ARCoachingOverlayView", + "ARCollaborationData", + "ARConfiguration", + "ARDepthData", + "AREnvironmentProbeAnchor", + "ARError", + "ARFaceAnchor", + "ARFaceGeometry", + "ARFrame", + "ARGeoAnchor", + "ARGeoTrackingTypes", + "ARHitTestResult", + "ARImageAnchor", + "ARKitCore", + "ARKitFoundation", + "ARKitUI", + "ARLightEstimate", + "ARMatteGenerator", + "ARMeshAnchor", + "ARMeshGeometry", + "ARObjectAnchor", + "ARParticipantAnchor", + "ARPlaneAnchor", + "ARPlaneDetectionTypes", + "ARPlaneGeometry", + "ARPointCloud", + "ARQuickLookPreviewItem", + "ARRaycastQuery", + "ARRaycastResult", + "ARReferenceImage", + "ARReferenceObject", + "ARSCNFaceGeometry", + "ARSCNPlaneGeometry", + "ARSCNView", + "ARSKView", + "ARSession", + "ARSkeleton", + "ARSkeletonDefinition", + "ARTrackedRaycast", + "ARTrackingStatusTypes", + "ARVideoFormat", + "ARWorldMap", + "bitflags", + "block2", + "objc2", + "objc2-av-foundation", + "objc2-core-foundation", + "objc2-core-location", + "objc2-core-media", + "objc2-core-video", + "objc2-foundation", + "objc2-metal", + "objc2-quartz-core", + "objc2-scene-kit", + "objc2-sprite-kit", + "objc2-ui-kit", + "objc2-vision", +] std = ["alloc"] alloc = [] bitflags = ["dep:bitflags"] @@ -156,67 +219,3 @@ ARTrackedRaycast = [] ARTrackingStatusTypes = [] ARVideoFormat = [] ARWorldMap = [] -all = [ - "ARAnchor", - "ARAppClipCodeAnchor", - "ARBody2D", - "ARBodyAnchor", - "ARCamera", - "ARCoachingOverlayView", - "ARCollaborationData", - "ARConfiguration", - "ARDepthData", - "AREnvironmentProbeAnchor", - "ARError", - "ARFaceAnchor", - "ARFaceGeometry", - "ARFrame", - "ARGeoAnchor", - "ARGeoTrackingTypes", - "ARHitTestResult", - "ARImageAnchor", - "ARKitCore", - "ARKitFoundation", - "ARKitUI", - "ARLightEstimate", - "ARMatteGenerator", - "ARMeshAnchor", - "ARMeshGeometry", - "ARObjectAnchor", - "ARParticipantAnchor", - "ARPlaneAnchor", - "ARPlaneDetectionTypes", - "ARPlaneGeometry", - "ARPointCloud", - "ARQuickLookPreviewItem", - "ARRaycastQuery", - "ARRaycastResult", - "ARReferenceImage", - "ARReferenceObject", - "ARSCNFaceGeometry", - "ARSCNPlaneGeometry", - "ARSCNView", - "ARSKView", - "ARSession", - "ARSkeleton", - "ARSkeletonDefinition", - "ARTrackedRaycast", - "ARTrackingStatusTypes", - "ARVideoFormat", - "ARWorldMap", - "bitflags", - "block2", - "objc2", - "objc2-av-foundation", - "objc2-core-foundation", - "objc2-core-location", - "objc2-core-media", - "objc2-core-video", - "objc2-foundation", - "objc2-metal", - "objc2-quartz-core", - "objc2-scene-kit", - "objc2-sprite-kit", - "objc2-ui-kit", - "objc2-vision", -] diff --git a/framework-crates/objc2-audio-toolbox/Cargo.toml b/framework-crates/objc2-audio-toolbox/Cargo.toml index b88146270..2c6665e17 100644 --- a/framework-crates/objc2-audio-toolbox/Cargo.toml +++ b/framework-crates/objc2-audio-toolbox/Cargo.toml @@ -47,7 +47,6 @@ objc2-foundation = { path = "../objc2-foundation", version = "0.2.2", default-fe [package.metadata.docs.rs] default-target = "aarch64-apple-darwin" -features = ["all"] rustc-args = ["--cfg", "docsrs"] # Fix cross-crate link to objc2::topics targets = [ "aarch64-apple-darwin", @@ -57,9 +56,46 @@ targets = [ "aarch64-apple-ios-macabi", "aarch64-apple-visionos", ] +features = ["objc2-core-midi"] [features] -default = ["std"] +default = [ + "std", + "AUAudioUnit", + "AUAudioUnitImplementation", + "AUCocoaUIView", + "AUComponent", + "AUGraph", + "AUParameters", + "AudioCodec", + "AudioComponent", + "AudioConverter", + "AudioFile", + "AudioFileStream", + "AudioFormat", + "AudioOutputUnit", + "AudioQueue", + "AudioServices", + "AudioSession", + "AudioUnit", + "AudioUnitCarbonView", + "AudioUnitParameters", + "AudioUnitProperties", + "AudioUnitUtilities", + "AudioWorkInterval", + "CAFFile", + "CAShow", + "DefaultAudioOutput", + "ExtendedAudioFile", + "MusicDevice", + "MusicPlayer", + "bitflags", + "block2", + "libc", + "objc2-core-audio", + "objc2-core-audio-types", + "objc2-core-foundation", +] std = ["alloc"] alloc = [] bitflags = ["dep:bitflags"] @@ -120,40 +156,3 @@ DefaultAudioOutput = [] ExtendedAudioFile = [] MusicDevice = [] MusicPlayer = ["bitflags"] -all = [ - "AUAudioUnit", - "AUAudioUnitImplementation", - "AUCocoaUIView", - "AUComponent", - "AUGraph", - "AUParameters", - "AudioCodec", - "AudioComponent", - "AudioConverter", - "AudioFile", - "AudioFileStream", - "AudioFormat", - "AudioOutputUnit", - "AudioQueue", - "AudioServices", - "AudioSession", - "AudioUnit", - "AudioUnitCarbonView", - "AudioUnitParameters", - "AudioUnitProperties", - "AudioUnitUtilities", - "AudioWorkInterval", - "CAFFile", - "CAShow", - "DefaultAudioOutput", - "ExtendedAudioFile", - "MusicDevice", - "MusicPlayer", - "bitflags", - "block2", - "libc", - "objc2-core-audio", - "objc2-core-audio-types", - "objc2-core-foundation", - "objc2-core-midi", -] diff --git a/framework-crates/objc2-authentication-services/Cargo.toml b/framework-crates/objc2-authentication-services/Cargo.toml index 0a59145de..64ceab531 100644 --- a/framework-crates/objc2-authentication-services/Cargo.toml +++ b/framework-crates/objc2-authentication-services/Cargo.toml @@ -37,7 +37,6 @@ objc2-local-authentication = { path = "../objc2-local-authentication", version = [package.metadata.docs.rs] default-target = "aarch64-apple-darwin" -features = ["all"] rustc-args = ["--cfg", "docsrs"] # Fix cross-crate link to objc2::topics targets = [ "aarch64-apple-darwin", @@ -48,9 +47,114 @@ targets = [ "aarch64-apple-ios-macabi", "aarch64-apple-visionos", ] +features = ["objc2-local-authentication"] [features] -default = ["std"] +default = [ + "std", + "ASAccountAuthenticationModificationController", + "ASAccountAuthenticationModificationExtensionContext", + "ASAccountAuthenticationModificationReplacePasswordWithSignInWithAppleRequest", + "ASAccountAuthenticationModificationRequest", + "ASAccountAuthenticationModificationUpgradePasswordToStrongPasswordRequest", + "ASAccountAuthenticationModificationViewController", + "ASAuthorization", + "ASAuthorizationAppleIDButton", + "ASAuthorizationAppleIDCredential", + "ASAuthorizationAppleIDProvider", + "ASAuthorizationAppleIDRequest", + "ASAuthorizationController", + "ASAuthorizationCredential", + "ASAuthorizationCustomMethod", + "ASAuthorizationError", + "ASAuthorizationOpenIDRequest", + "ASAuthorizationPasswordProvider", + "ASAuthorizationPasswordRequest", + "ASAuthorizationPlatformPublicKeyCredentialAssertion", + "ASAuthorizationPlatformPublicKeyCredentialAssertionRequest", + "ASAuthorizationPlatformPublicKeyCredentialDescriptor", + "ASAuthorizationPlatformPublicKeyCredentialProvider", + "ASAuthorizationPlatformPublicKeyCredentialRegistration", + "ASAuthorizationPlatformPublicKeyCredentialRegistrationRequest", + "ASAuthorizationProvider", + "ASAuthorizationProviderExtensionAuthorizationRequest", + "ASAuthorizationProviderExtensionAuthorizationResult", + "ASAuthorizationProviderExtensionLoginConfiguration", + "ASAuthorizationProviderExtensionLoginManager", + "ASAuthorizationProviderExtensionRegistrationHandler", + "ASAuthorizationProviderExtensionUserLoginConfiguration", + "ASAuthorizationPublicKeyCredentialAssertion", + "ASAuthorizationPublicKeyCredentialAssertionRequest", + "ASAuthorizationPublicKeyCredentialConstants", + "ASAuthorizationPublicKeyCredentialDescriptor", + "ASAuthorizationPublicKeyCredentialLargeBlobAssertionInput", + "ASAuthorizationPublicKeyCredentialLargeBlobAssertionOutput", + "ASAuthorizationPublicKeyCredentialLargeBlobRegistrationInput", + "ASAuthorizationPublicKeyCredentialLargeBlobRegistrationOutput", + "ASAuthorizationPublicKeyCredentialPRFAssertionInput", + "ASAuthorizationPublicKeyCredentialPRFAssertionOutput", + "ASAuthorizationPublicKeyCredentialPRFRegistrationInput", + "ASAuthorizationPublicKeyCredentialPRFRegistrationOutput", + "ASAuthorizationPublicKeyCredentialParameters", + "ASAuthorizationPublicKeyCredentialRegistration", + "ASAuthorizationPublicKeyCredentialRegistrationRequest", + "ASAuthorizationRequest", + "ASAuthorizationSecurityKeyPublicKeyCredentialAssertion", + "ASAuthorizationSecurityKeyPublicKeyCredentialAssertionRequest", + "ASAuthorizationSecurityKeyPublicKeyCredentialDescriptor", + "ASAuthorizationSecurityKeyPublicKeyCredentialProvider", + "ASAuthorizationSecurityKeyPublicKeyCredentialRegistration", + "ASAuthorizationSecurityKeyPublicKeyCredentialRegistrationRequest", + "ASAuthorizationSingleSignOnCredential", + "ASAuthorizationSingleSignOnProvider", + "ASAuthorizationSingleSignOnRequest", + "ASAuthorizationWebBrowserExternallyAuthenticatableRequest", + "ASAuthorizationWebBrowserPlatformPublicKeyCredential", + "ASAuthorizationWebBrowserPlatformPublicKeyCredentialAssertionRequest", + "ASAuthorizationWebBrowserPlatformPublicKeyCredentialProvider", + "ASAuthorizationWebBrowserPlatformPublicKeyCredentialRegistrationRequest", + "ASAuthorizationWebBrowserPublicKeyCredentialManager", + "ASAuthorizationWebBrowserSecurityKeyPublicKeyCredentialAssertionRequest", + "ASAuthorizationWebBrowserSecurityKeyPublicKeyCredentialProvider", + "ASAuthorizationWebBrowserSecurityKeyPublicKeyCredentialRegistrationRequest", + "ASCOSEConstants", + "ASCredentialIdentity", + "ASCredentialIdentityStore", + "ASCredentialIdentityStoreState", + "ASCredentialProviderExtensionContext", + "ASCredentialProviderViewController", + "ASCredentialRequest", + "ASCredentialServiceIdentifier", + "ASExtensionErrors", + "ASFoundation", + "ASOneTimeCodeCredential", + "ASOneTimeCodeCredentialIdentity", + "ASOneTimeCodeCredentialRequest", + "ASPasskeyAssertionCredential", + "ASPasskeyAssertionCredentialExtensionInput", + "ASPasskeyAssertionCredentialExtensionOutput", + "ASPasskeyCredentialIdentity", + "ASPasskeyCredentialRequest", + "ASPasskeyCredentialRequestParameters", + "ASPasskeyRegistrationCredential", + "ASPasskeyRegistrationCredentialExtensionInput", + "ASPasskeyRegistrationCredentialExtensionOutput", + "ASPasswordCredential", + "ASPasswordCredentialIdentity", + "ASPasswordCredentialRequest", + "ASPublicKeyCredential", + "ASPublicKeyCredentialClientData", + "ASSettingsHelper", + "ASWebAuthenticationSession", + "ASWebAuthenticationSessionCallback", + "ASWebAuthenticationSessionRequest", + "ASWebAuthenticationSessionWebBrowserSessionHandling", + "ASWebAuthenticationSessionWebBrowserSessionManager", + "bitflags", + "block2", + "objc2-core-foundation", + "objc2-security", +] std = ["alloc"] alloc = [] bitflags = ["dep:bitflags"] @@ -421,108 +525,3 @@ ASWebAuthenticationSessionRequest = [ ] ASWebAuthenticationSessionWebBrowserSessionHandling = [] ASWebAuthenticationSessionWebBrowserSessionManager = [] -all = [ - "ASAccountAuthenticationModificationController", - "ASAccountAuthenticationModificationExtensionContext", - "ASAccountAuthenticationModificationReplacePasswordWithSignInWithAppleRequest", - "ASAccountAuthenticationModificationRequest", - "ASAccountAuthenticationModificationUpgradePasswordToStrongPasswordRequest", - "ASAccountAuthenticationModificationViewController", - "ASAuthorization", - "ASAuthorizationAppleIDButton", - "ASAuthorizationAppleIDCredential", - "ASAuthorizationAppleIDProvider", - "ASAuthorizationAppleIDRequest", - "ASAuthorizationController", - "ASAuthorizationCredential", - "ASAuthorizationCustomMethod", - "ASAuthorizationError", - "ASAuthorizationOpenIDRequest", - "ASAuthorizationPasswordProvider", - "ASAuthorizationPasswordRequest", - "ASAuthorizationPlatformPublicKeyCredentialAssertion", - "ASAuthorizationPlatformPublicKeyCredentialAssertionRequest", - "ASAuthorizationPlatformPublicKeyCredentialDescriptor", - "ASAuthorizationPlatformPublicKeyCredentialProvider", - "ASAuthorizationPlatformPublicKeyCredentialRegistration", - "ASAuthorizationPlatformPublicKeyCredentialRegistrationRequest", - "ASAuthorizationProvider", - "ASAuthorizationProviderExtensionAuthorizationRequest", - "ASAuthorizationProviderExtensionAuthorizationResult", - "ASAuthorizationProviderExtensionLoginConfiguration", - "ASAuthorizationProviderExtensionLoginManager", - "ASAuthorizationProviderExtensionRegistrationHandler", - "ASAuthorizationProviderExtensionUserLoginConfiguration", - "ASAuthorizationPublicKeyCredentialAssertion", - "ASAuthorizationPublicKeyCredentialAssertionRequest", - "ASAuthorizationPublicKeyCredentialConstants", - "ASAuthorizationPublicKeyCredentialDescriptor", - "ASAuthorizationPublicKeyCredentialLargeBlobAssertionInput", - "ASAuthorizationPublicKeyCredentialLargeBlobAssertionOutput", - "ASAuthorizationPublicKeyCredentialLargeBlobRegistrationInput", - "ASAuthorizationPublicKeyCredentialLargeBlobRegistrationOutput", - "ASAuthorizationPublicKeyCredentialPRFAssertionInput", - "ASAuthorizationPublicKeyCredentialPRFAssertionOutput", - "ASAuthorizationPublicKeyCredentialPRFRegistrationInput", - "ASAuthorizationPublicKeyCredentialPRFRegistrationOutput", - "ASAuthorizationPublicKeyCredentialParameters", - "ASAuthorizationPublicKeyCredentialRegistration", - "ASAuthorizationPublicKeyCredentialRegistrationRequest", - "ASAuthorizationRequest", - "ASAuthorizationSecurityKeyPublicKeyCredentialAssertion", - "ASAuthorizationSecurityKeyPublicKeyCredentialAssertionRequest", - "ASAuthorizationSecurityKeyPublicKeyCredentialDescriptor", - "ASAuthorizationSecurityKeyPublicKeyCredentialProvider", - "ASAuthorizationSecurityKeyPublicKeyCredentialRegistration", - "ASAuthorizationSecurityKeyPublicKeyCredentialRegistrationRequest", - "ASAuthorizationSingleSignOnCredential", - "ASAuthorizationSingleSignOnProvider", - "ASAuthorizationSingleSignOnRequest", - "ASAuthorizationWebBrowserExternallyAuthenticatableRequest", - "ASAuthorizationWebBrowserPlatformPublicKeyCredential", - "ASAuthorizationWebBrowserPlatformPublicKeyCredentialAssertionRequest", - "ASAuthorizationWebBrowserPlatformPublicKeyCredentialProvider", - "ASAuthorizationWebBrowserPlatformPublicKeyCredentialRegistrationRequest", - "ASAuthorizationWebBrowserPublicKeyCredentialManager", - "ASAuthorizationWebBrowserSecurityKeyPublicKeyCredentialAssertionRequest", - "ASAuthorizationWebBrowserSecurityKeyPublicKeyCredentialProvider", - "ASAuthorizationWebBrowserSecurityKeyPublicKeyCredentialRegistrationRequest", - "ASCOSEConstants", - "ASCredentialIdentity", - "ASCredentialIdentityStore", - "ASCredentialIdentityStoreState", - "ASCredentialProviderExtensionContext", - "ASCredentialProviderViewController", - "ASCredentialRequest", - "ASCredentialServiceIdentifier", - "ASExtensionErrors", - "ASFoundation", - "ASOneTimeCodeCredential", - "ASOneTimeCodeCredentialIdentity", - "ASOneTimeCodeCredentialRequest", - "ASPasskeyAssertionCredential", - "ASPasskeyAssertionCredentialExtensionInput", - "ASPasskeyAssertionCredentialExtensionOutput", - "ASPasskeyCredentialIdentity", - "ASPasskeyCredentialRequest", - "ASPasskeyCredentialRequestParameters", - "ASPasskeyRegistrationCredential", - "ASPasskeyRegistrationCredentialExtensionInput", - "ASPasskeyRegistrationCredentialExtensionOutput", - "ASPasswordCredential", - "ASPasswordCredentialIdentity", - "ASPasswordCredentialRequest", - "ASPublicKeyCredential", - "ASPublicKeyCredentialClientData", - "ASSettingsHelper", - "ASWebAuthenticationSession", - "ASWebAuthenticationSessionCallback", - "ASWebAuthenticationSessionRequest", - "ASWebAuthenticationSessionWebBrowserSessionHandling", - "ASWebAuthenticationSessionWebBrowserSessionManager", - "bitflags", - "block2", - "objc2-core-foundation", - "objc2-local-authentication", - "objc2-security", -] diff --git a/framework-crates/objc2-automatic-assessment-configuration/Cargo.toml b/framework-crates/objc2-automatic-assessment-configuration/Cargo.toml index 2b573ac16..0640e2092 100644 --- a/framework-crates/objc2-automatic-assessment-configuration/Cargo.toml +++ b/framework-crates/objc2-automatic-assessment-configuration/Cargo.toml @@ -28,7 +28,6 @@ objc2-foundation = { path = "../objc2-foundation", version = "0.2.2", default-fe [package.metadata.docs.rs] default-target = "aarch64-apple-darwin" -features = ["all"] rustc-args = ["--cfg", "docsrs"] # Fix cross-crate link to objc2::topics targets = [ "aarch64-apple-darwin", @@ -42,5 +41,3 @@ targets = [ default = ["std"] std = ["alloc"] alloc = [] - -all = [] diff --git a/framework-crates/objc2-automator/Cargo.toml b/framework-crates/objc2-automator/Cargo.toml index 04bee192a..d0a0ca84a 100644 --- a/framework-crates/objc2-automator/Cargo.toml +++ b/framework-crates/objc2-automator/Cargo.toml @@ -37,7 +37,6 @@ objc2-osa-kit = { path = "../objc2-osa-kit", version = "0.2.2", default-features [package.metadata.docs.rs] default-target = "aarch64-apple-darwin" -features = ["all"] rustc-args = ["--cfg", "docsrs"] # Fix cross-crate link to objc2::topics targets = [ "aarch64-apple-darwin", @@ -46,7 +45,22 @@ targets = [ ] [features] -default = ["std"] +default = [ + "std", + "AMAction", + "AMAppleScriptAction", + "AMAttributesForAnalyzer", + "AMBundleAction", + "AMShellScriptAction", + "AMWorkflow", + "AMWorkflowController", + "AMWorkflowView", + "AMWorkspace", + "AutomatorErrors", + "objc2-app-kit", + "objc2-core-foundation", + "objc2-osa-kit", +] std = ["alloc"] alloc = [] objc2-app-kit = ["dep:objc2-app-kit"] @@ -102,18 +116,3 @@ AMWorkflowView = [ ] AMWorkspace = [] AutomatorErrors = [] -all = [ - "AMAction", - "AMAppleScriptAction", - "AMAttributesForAnalyzer", - "AMBundleAction", - "AMShellScriptAction", - "AMWorkflow", - "AMWorkflowController", - "AMWorkflowView", - "AMWorkspace", - "AutomatorErrors", - "objc2-app-kit", - "objc2-core-foundation", - "objc2-osa-kit", -] diff --git a/framework-crates/objc2-av-foundation/Cargo.toml b/framework-crates/objc2-av-foundation/Cargo.toml index f42a5e2b9..e636727c5 100644 --- a/framework-crates/objc2-av-foundation/Cargo.toml +++ b/framework-crates/objc2-av-foundation/Cargo.toml @@ -69,7 +69,6 @@ objc2-quartz-core = { path = "../objc2-quartz-core", version = "0.2.2", default- [package.metadata.docs.rs] default-target = "aarch64-apple-darwin" -features = ["all"] rustc-args = ["--cfg", "docsrs"] # Fix cross-crate link to objc2::topics targets = [ "aarch64-apple-darwin", @@ -80,9 +79,171 @@ targets = [ "aarch64-apple-ios-macabi", "aarch64-apple-visionos", ] +features = [ + "objc2-core-media", + "objc2-uniform-type-identifiers", +] [features] -default = ["std"] +default = [ + "std", + "AVAnimation", + "AVAsset", + "AVAssetCache", + "AVAssetDownloadStorageManager", + "AVAssetDownloadTask", + "AVAssetExportSession", + "AVAssetImageGenerator", + "AVAssetPlaybackAssistant", + "AVAssetReader", + "AVAssetReaderOutput", + "AVAssetResourceLoader", + "AVAssetSegmentReport", + "AVAssetTrack", + "AVAssetTrackGroup", + "AVAssetTrackSegment", + "AVAssetVariant", + "AVAssetWriter", + "AVAssetWriterInput", + "AVAsynchronousKeyValueLoading", + "AVAudioBuffer", + "AVAudioChannelLayout", + "AVAudioConnectionPoint", + "AVAudioConverter", + "AVAudioEngine", + "AVAudioEnvironmentNode", + "AVAudioFile", + "AVAudioFormat", + "AVAudioIONode", + "AVAudioMix", + "AVAudioMixerNode", + "AVAudioMixing", + "AVAudioNode", + "AVAudioPlayer", + "AVAudioPlayerNode", + "AVAudioProcessingSettings", + "AVAudioRecorder", + "AVAudioRoutingArbiter", + "AVAudioSequencer", + "AVAudioSession", + "AVAudioSessionDeprecated", + "AVAudioSessionRoute", + "AVAudioSessionTypes", + "AVAudioSettings", + "AVAudioTime", + "AVAudioTypes", + "AVAudioUnit", + "AVAudioUnitComponent", + "AVAudioUnitDelay", + "AVAudioUnitDistortion", + "AVAudioUnitEQ", + "AVAudioUnitEffect", + "AVAudioUnitGenerator", + "AVAudioUnitMIDIInstrument", + "AVAudioUnitReverb", + "AVAudioUnitSampler", + "AVAudioUnitTimeEffect", + "AVAudioUnitTimePitch", + "AVAudioUnitVarispeed", + "AVBase", + "AVCameraCalibrationData", + "AVCaption", + "AVCaptionConversionValidator", + "AVCaptionFormatConformer", + "AVCaptionGroup", + "AVCaptionGrouper", + "AVCaptionRenderer", + "AVCaptionSettings", + "AVCaptureAudioDataOutput", + "AVCaptureAudioPreviewOutput", + "AVCaptureControl", + "AVCaptureDataOutputSynchronizer", + "AVCaptureDepthDataOutput", + "AVCaptureDeskViewApplication", + "AVCaptureDevice", + "AVCaptureFileOutput", + "AVCaptureIndexPicker", + "AVCaptureInput", + "AVCaptureMetadataOutput", + "AVCaptureOutput", + "AVCaptureOutputBase", + "AVCapturePhotoOutput", + "AVCaptureReactions", + "AVCaptureSession", + "AVCaptureSessionPreset", + "AVCaptureSlider", + "AVCaptureStillImageOutput", + "AVCaptureSystemExposureBiasSlider", + "AVCaptureSystemPressure", + "AVCaptureSystemZoomSlider", + "AVCaptureVideoDataOutput", + "AVCaptureVideoPreviewLayer", + "AVComposition", + "AVCompositionTrack", + "AVCompositionTrackSegment", + "AVContentKeySession", + "AVContinuityDevice", + "AVDepthData", + "AVError", + "AVExternalStorageDevice", + "AVFAudio", + "AVFCapture", + "AVFCore", + "AVGeometry", + "AVMIDIPlayer", + "AVMediaFormat", + "AVMediaSelection", + "AVMediaSelectionGroup", + "AVMetadataFormat", + "AVMetadataIdentifiers", + "AVMetadataItem", + "AVMetadataObject", + "AVMetrics", + "AVMovie", + "AVMovieTrack", + "AVOutputSettingsAssistant", + "AVPlaybackCoordinator", + "AVPlayer", + "AVPlayerInterstitialEventController", + "AVPlayerItem", + "AVPlayerItemIntegratedTimeline", + "AVPlayerItemMediaDataCollector", + "AVPlayerItemOutput", + "AVPlayerItemProtectedContentAdditions", + "AVPlayerItemTrack", + "AVPlayerLayer", + "AVPlayerLooper", + "AVPlayerMediaSelectionCriteria", + "AVPlayerOutput", + "AVPortraitEffectsMatte", + "AVQueuedSampleBufferRendering", + "AVRenderedCaptionImage", + "AVRouteDetector", + "AVSampleBufferAudioRenderer", + "AVSampleBufferDisplayLayer", + "AVSampleBufferGenerator", + "AVSampleBufferRenderSynchronizer", + "AVSampleBufferVideoRenderer", + "AVSampleCursor", + "AVSemanticSegmentationMatte", + "AVSynchronizedLayer", + "AVTextStyleRule", + "AVTime", + "AVTimedMetadataGroup", + "AVUtilities", + "AVVideoCompositing", + "AVVideoComposition", + "AVVideoPerformanceMetrics", + "AVVideoSettings", + "bitflags", + "block2", + "objc2-avf-audio", + "objc2-core-foundation", + "objc2-core-graphics", + "objc2-core-image", + "objc2-core-video", + "objc2-quartz-core", +] std = ["alloc"] alloc = [] bitflags = ["dep:bitflags"] @@ -660,163 +821,3 @@ AVVideoComposition = [ ] AVVideoPerformanceMetrics = ["objc2-foundation/NSDate"] AVVideoSettings = ["objc2-foundation/NSString"] -all = [ - "AVAnimation", - "AVAsset", - "AVAssetCache", - "AVAssetDownloadStorageManager", - "AVAssetDownloadTask", - "AVAssetExportSession", - "AVAssetImageGenerator", - "AVAssetPlaybackAssistant", - "AVAssetReader", - "AVAssetReaderOutput", - "AVAssetResourceLoader", - "AVAssetSegmentReport", - "AVAssetTrack", - "AVAssetTrackGroup", - "AVAssetTrackSegment", - "AVAssetVariant", - "AVAssetWriter", - "AVAssetWriterInput", - "AVAsynchronousKeyValueLoading", - "AVAudioBuffer", - "AVAudioChannelLayout", - "AVAudioConnectionPoint", - "AVAudioConverter", - "AVAudioEngine", - "AVAudioEnvironmentNode", - "AVAudioFile", - "AVAudioFormat", - "AVAudioIONode", - "AVAudioMix", - "AVAudioMixerNode", - "AVAudioMixing", - "AVAudioNode", - "AVAudioPlayer", - "AVAudioPlayerNode", - "AVAudioProcessingSettings", - "AVAudioRecorder", - "AVAudioRoutingArbiter", - "AVAudioSequencer", - "AVAudioSession", - "AVAudioSessionDeprecated", - "AVAudioSessionRoute", - "AVAudioSessionTypes", - "AVAudioSettings", - "AVAudioTime", - "AVAudioTypes", - "AVAudioUnit", - "AVAudioUnitComponent", - "AVAudioUnitDelay", - "AVAudioUnitDistortion", - "AVAudioUnitEQ", - "AVAudioUnitEffect", - "AVAudioUnitGenerator", - "AVAudioUnitMIDIInstrument", - "AVAudioUnitReverb", - "AVAudioUnitSampler", - "AVAudioUnitTimeEffect", - "AVAudioUnitTimePitch", - "AVAudioUnitVarispeed", - "AVBase", - "AVCameraCalibrationData", - "AVCaption", - "AVCaptionConversionValidator", - "AVCaptionFormatConformer", - "AVCaptionGroup", - "AVCaptionGrouper", - "AVCaptionRenderer", - "AVCaptionSettings", - "AVCaptureAudioDataOutput", - "AVCaptureAudioPreviewOutput", - "AVCaptureControl", - "AVCaptureDataOutputSynchronizer", - "AVCaptureDepthDataOutput", - "AVCaptureDeskViewApplication", - "AVCaptureDevice", - "AVCaptureFileOutput", - "AVCaptureIndexPicker", - "AVCaptureInput", - "AVCaptureMetadataOutput", - "AVCaptureOutput", - "AVCaptureOutputBase", - "AVCapturePhotoOutput", - "AVCaptureReactions", - "AVCaptureSession", - "AVCaptureSessionPreset", - "AVCaptureSlider", - "AVCaptureStillImageOutput", - "AVCaptureSystemExposureBiasSlider", - "AVCaptureSystemPressure", - "AVCaptureSystemZoomSlider", - "AVCaptureVideoDataOutput", - "AVCaptureVideoPreviewLayer", - "AVComposition", - "AVCompositionTrack", - "AVCompositionTrackSegment", - "AVContentKeySession", - "AVContinuityDevice", - "AVDepthData", - "AVError", - "AVExternalStorageDevice", - "AVFAudio", - "AVFCapture", - "AVFCore", - "AVGeometry", - "AVMIDIPlayer", - "AVMediaFormat", - "AVMediaSelection", - "AVMediaSelectionGroup", - "AVMetadataFormat", - "AVMetadataIdentifiers", - "AVMetadataItem", - "AVMetadataObject", - "AVMetrics", - "AVMovie", - "AVMovieTrack", - "AVOutputSettingsAssistant", - "AVPlaybackCoordinator", - "AVPlayer", - "AVPlayerInterstitialEventController", - "AVPlayerItem", - "AVPlayerItemIntegratedTimeline", - "AVPlayerItemMediaDataCollector", - "AVPlayerItemOutput", - "AVPlayerItemProtectedContentAdditions", - "AVPlayerItemTrack", - "AVPlayerLayer", - "AVPlayerLooper", - "AVPlayerMediaSelectionCriteria", - "AVPlayerOutput", - "AVPortraitEffectsMatte", - "AVQueuedSampleBufferRendering", - "AVRenderedCaptionImage", - "AVRouteDetector", - "AVSampleBufferAudioRenderer", - "AVSampleBufferDisplayLayer", - "AVSampleBufferGenerator", - "AVSampleBufferRenderSynchronizer", - "AVSampleBufferVideoRenderer", - "AVSampleCursor", - "AVSemanticSegmentationMatte", - "AVSynchronizedLayer", - "AVTextStyleRule", - "AVTime", - "AVTimedMetadataGroup", - "AVUtilities", - "AVVideoCompositing", - "AVVideoComposition", - "AVVideoPerformanceMetrics", - "AVVideoSettings", - "bitflags", - "block2", - "objc2-avf-audio", - "objc2-core-foundation", - "objc2-core-graphics", - "objc2-core-image", - "objc2-core-media", - "objc2-core-video", - "objc2-quartz-core", - "objc2-uniform-type-identifiers", -] diff --git a/framework-crates/objc2-av-kit/Cargo.toml b/framework-crates/objc2-av-kit/Cargo.toml index b9d3697ae..7226b98ac 100644 --- a/framework-crates/objc2-av-kit/Cargo.toml +++ b/framework-crates/objc2-av-kit/Cargo.toml @@ -57,7 +57,6 @@ objc2-app-kit = { path = "../objc2-app-kit", version = "0.2.2", default-features [package.metadata.docs.rs] default-target = "aarch64-apple-darwin" -features = ["all"] rustc-args = ["--cfg", "docsrs"] # Fix cross-crate link to objc2::topics targets = [ "aarch64-apple-darwin", @@ -70,7 +69,24 @@ targets = [ ] [features] -default = ["std"] +default = [ + "std", + "AVCaptureView", + "AVKitCore", + "AVKitDefines", + "AVKitTypes", + "AVPictureInPictureController", + "AVPictureInPictureController_AVSampleBufferDisplayLayerSupport", + "AVPlaybackSpeed", + "AVPlayerView", + "AVRoutePickerView", + "bitflags", + "block2", + "objc2-app-kit", + "objc2-av-foundation", + "objc2-core-foundation", + "objc2-core-media", +] std = ["alloc"] alloc = [] bitflags = ["dep:bitflags"] @@ -110,20 +126,3 @@ AVRoutePickerView = [ "objc2-foundation/NSObject", "objc2-foundation/objc2-core-foundation", ] -all = [ - "AVCaptureView", - "AVKitCore", - "AVKitDefines", - "AVKitTypes", - "AVPictureInPictureController", - "AVPictureInPictureController_AVSampleBufferDisplayLayerSupport", - "AVPlaybackSpeed", - "AVPlayerView", - "AVRoutePickerView", - "bitflags", - "block2", - "objc2-app-kit", - "objc2-av-foundation", - "objc2-core-foundation", - "objc2-core-media", -] diff --git a/framework-crates/objc2-av-routing/Cargo.toml b/framework-crates/objc2-av-routing/Cargo.toml index f349e4075..f112152e7 100644 --- a/framework-crates/objc2-av-routing/Cargo.toml +++ b/framework-crates/objc2-av-routing/Cargo.toml @@ -23,7 +23,6 @@ objc2-uniform-type-identifiers = { path = "../objc2-uniform-type-identifiers", v [package.metadata.docs.rs] default-target = "aarch64-apple-darwin" -features = ["all"] rustc-args = ["--cfg", "docsrs"] # Fix cross-crate link to objc2::topics targets = [ "aarch64-apple-darwin", @@ -34,7 +33,16 @@ targets = [ ] [features] -default = ["std"] +default = [ + "std", + "AVCustomDeviceRoute", + "AVCustomRoutingActionItem", + "AVCustomRoutingController", + "AVCustomRoutingEvent", + "AVRoutingDefines", + "block2", + "objc2-uniform-type-identifiers", +] std = ["alloc"] alloc = [] block2 = ["dep:block2"] @@ -50,12 +58,3 @@ AVCustomRoutingController = [ ] AVCustomRoutingEvent = [] AVRoutingDefines = [] -all = [ - "AVCustomDeviceRoute", - "AVCustomRoutingActionItem", - "AVCustomRoutingController", - "AVCustomRoutingEvent", - "AVRoutingDefines", - "block2", - "objc2-uniform-type-identifiers", -] diff --git a/framework-crates/objc2-avf-audio/Cargo.toml b/framework-crates/objc2-avf-audio/Cargo.toml index 138b8fc1d..d90444f41 100644 --- a/framework-crates/objc2-avf-audio/Cargo.toml +++ b/framework-crates/objc2-avf-audio/Cargo.toml @@ -45,7 +45,6 @@ objc2-audio-toolbox = { path = "../objc2-audio-toolbox", version = "0.2.2", defa [package.metadata.docs.rs] default-target = "aarch64-apple-darwin" -features = ["all"] rustc-args = ["--cfg", "docsrs"] # Fix cross-crate link to objc2::topics targets = [ "aarch64-apple-darwin", @@ -56,9 +55,63 @@ targets = [ "aarch64-apple-ios-macabi", "aarch64-apple-visionos", ] +features = [ + "objc2-core-media", + "objc2-core-midi", +] [features] -default = ["std"] +default = [ + "std", + "AVAudioApplication", + "AVAudioBuffer", + "AVAudioChannelLayout", + "AVAudioConnectionPoint", + "AVAudioConverter", + "AVAudioEngine", + "AVAudioEnvironmentNode", + "AVAudioFile", + "AVAudioFormat", + "AVAudioIONode", + "AVAudioMixerNode", + "AVAudioMixing", + "AVAudioNode", + "AVAudioPlayer", + "AVAudioPlayerNode", + "AVAudioRecorder", + "AVAudioRoutingArbiter", + "AVAudioSequencer", + "AVAudioSession", + "AVAudioSessionDeprecated", + "AVAudioSessionRoute", + "AVAudioSessionTypes", + "AVAudioSettings", + "AVAudioSinkNode", + "AVAudioSourceNode", + "AVAudioTime", + "AVAudioTypes", + "AVAudioUnit", + "AVAudioUnitComponent", + "AVAudioUnitDelay", + "AVAudioUnitDistortion", + "AVAudioUnitEQ", + "AVAudioUnitEffect", + "AVAudioUnitGenerator", + "AVAudioUnitMIDIInstrument", + "AVAudioUnitReverb", + "AVAudioUnitSampler", + "AVAudioUnitTimeEffect", + "AVAudioUnitTimePitch", + "AVAudioUnitVarispeed", + "AVMIDIPlayer", + "AVMusicEvents", + "AVSpeechSynthesis", + "AVSpeechSynthesisProvider", + "bitflags", + "block2", + "objc2-audio-toolbox", + "objc2-core-audio-types", +] std = ["alloc"] alloc = [] bitflags = ["dep:bitflags"] @@ -223,55 +276,3 @@ AVSpeechSynthesisProvider = [ "objc2-foundation/NSObject", "objc2-foundation/NSString", ] -all = [ - "AVAudioApplication", - "AVAudioBuffer", - "AVAudioChannelLayout", - "AVAudioConnectionPoint", - "AVAudioConverter", - "AVAudioEngine", - "AVAudioEnvironmentNode", - "AVAudioFile", - "AVAudioFormat", - "AVAudioIONode", - "AVAudioMixerNode", - "AVAudioMixing", - "AVAudioNode", - "AVAudioPlayer", - "AVAudioPlayerNode", - "AVAudioRecorder", - "AVAudioRoutingArbiter", - "AVAudioSequencer", - "AVAudioSession", - "AVAudioSessionDeprecated", - "AVAudioSessionRoute", - "AVAudioSessionTypes", - "AVAudioSettings", - "AVAudioSinkNode", - "AVAudioSourceNode", - "AVAudioTime", - "AVAudioTypes", - "AVAudioUnit", - "AVAudioUnitComponent", - "AVAudioUnitDelay", - "AVAudioUnitDistortion", - "AVAudioUnitEQ", - "AVAudioUnitEffect", - "AVAudioUnitGenerator", - "AVAudioUnitMIDIInstrument", - "AVAudioUnitReverb", - "AVAudioUnitSampler", - "AVAudioUnitTimeEffect", - "AVAudioUnitTimePitch", - "AVAudioUnitVarispeed", - "AVMIDIPlayer", - "AVMusicEvents", - "AVSpeechSynthesis", - "AVSpeechSynthesisProvider", - "bitflags", - "block2", - "objc2-audio-toolbox", - "objc2-core-audio-types", - "objc2-core-media", - "objc2-core-midi", -] diff --git a/framework-crates/objc2-avf-audio/translation-config.toml b/framework-crates/objc2-avf-audio/translation-config.toml index 7c5e249b3..c01529596 100644 --- a/framework-crates/objc2-avf-audio/translation-config.toml +++ b/framework-crates/objc2-avf-audio/translation-config.toml @@ -6,14 +6,11 @@ custom-lib-rs = true # originally available as part of AVFoundation, the linker is able to figure # out that it actually needs to link AVFoundation because of the $ld$previous$ # directives in AVFAudio.tdb. -# -# FIXME: We won't be able to use an old SDK though, so this is temporarily -# kept high for CI. -macos = "11.3" # 10.7 -maccatalyst = "14.5" # 13.1 -ios = "14.5" # 2.2 -tvos = "14.5" # 9.0 -watchos = "9.0" # 3.0 +macos = "10.7" +maccatalyst = "13.1" +ios = "2.2" +tvos = "9.0" +watchos = "3.0" visionos = "1.0" # AUMIDIEventListBlock not currently exported by AudioToolbox diff --git a/framework-crates/objc2-background-assets/Cargo.toml b/framework-crates/objc2-background-assets/Cargo.toml index 930df0c41..e292fb83f 100644 --- a/framework-crates/objc2-background-assets/Cargo.toml +++ b/framework-crates/objc2-background-assets/Cargo.toml @@ -22,7 +22,6 @@ objc2-foundation = { path = "../objc2-foundation", version = "0.2.2", default-fe [package.metadata.docs.rs] default-target = "aarch64-apple-darwin" -features = ["all"] rustc-args = ["--cfg", "docsrs"] # Fix cross-crate link to objc2::topics targets = [ "aarch64-apple-darwin", @@ -33,7 +32,18 @@ targets = [ ] [features] -default = ["std"] +default = [ + "std", + "BAAppExtensionInfo", + "BABase", + "BADownload", + "BADownloadManager", + "BADownloaderExtension", + "BAError", + "BATypes", + "BAURLDownload", + "block2", +] std = ["alloc"] alloc = [] block2 = ["dep:block2"] @@ -71,14 +81,3 @@ BAURLDownload = [ "objc2-foundation/NSString", "objc2-foundation/NSURLRequest", ] -all = [ - "BAAppExtensionInfo", - "BABase", - "BADownload", - "BADownloadManager", - "BADownloaderExtension", - "BAError", - "BATypes", - "BAURLDownload", - "block2", -] diff --git a/framework-crates/objc2-background-tasks/Cargo.toml b/framework-crates/objc2-background-tasks/Cargo.toml index cab89400c..939248c40 100644 --- a/framework-crates/objc2-background-tasks/Cargo.toml +++ b/framework-crates/objc2-background-tasks/Cargo.toml @@ -22,7 +22,6 @@ objc2-foundation = { path = "../objc2-foundation", version = "0.2.2", default-fe [package.metadata.docs.rs] default-target = "aarch64-apple-ios" -features = ["all"] rustc-args = ["--cfg", "docsrs"] # Fix cross-crate link to objc2::topics targets = [ "aarch64-apple-ios", @@ -33,7 +32,14 @@ targets = [ ] [features] -default = ["std"] +default = [ + "std", + "BGDefines", + "BGTask", + "BGTaskRequest", + "BGTaskScheduler", + "block2", +] std = ["alloc"] alloc = [] block2 = ["dep:block2"] @@ -51,10 +57,3 @@ BGTaskScheduler = [ "objc2-foundation/NSError", "objc2-foundation/NSString", ] -all = [ - "BGDefines", - "BGTask", - "BGTaskRequest", - "BGTaskScheduler", - "block2", -] diff --git a/framework-crates/objc2-business-chat/Cargo.toml b/framework-crates/objc2-business-chat/Cargo.toml index f9e73b06b..c204c35c4 100644 --- a/framework-crates/objc2-business-chat/Cargo.toml +++ b/framework-crates/objc2-business-chat/Cargo.toml @@ -24,7 +24,6 @@ objc2-app-kit = { path = "../objc2-app-kit", version = "0.2.2", default-features [package.metadata.docs.rs] default-target = "aarch64-apple-darwin" -features = ["all"] rustc-args = ["--cfg", "docsrs"] # Fix cross-crate link to objc2::topics targets = [ "aarch64-apple-darwin", @@ -34,7 +33,11 @@ targets = [ ] [features] -default = ["std"] +default = [ + "std", + "BCChatAction", + "BCChatButton", +] std = ["alloc"] alloc = [] @@ -56,7 +59,3 @@ BCChatButton = [ "objc2-foundation/NSObject", "objc2-foundation/objc2-core-foundation", ] -all = [ - "BCChatAction", - "BCChatButton", -] diff --git a/framework-crates/objc2-call-kit/Cargo.toml b/framework-crates/objc2-call-kit/Cargo.toml index 086ab6d41..22ce6eb1c 100644 --- a/framework-crates/objc2-call-kit/Cargo.toml +++ b/framework-crates/objc2-call-kit/Cargo.toml @@ -23,7 +23,6 @@ objc2-foundation = { path = "../objc2-foundation", version = "0.2.2", default-fe [package.metadata.docs.rs] default-target = "aarch64-apple-darwin" -features = ["all"] rustc-args = ["--cfg", "docsrs"] # Fix cross-crate link to objc2::topics targets = [ "aarch64-apple-darwin", @@ -35,7 +34,34 @@ targets = [ ] [features] -default = ["std"] +default = [ + "std", + "CXAction", + "CXAnswerCallAction", + "CXBase", + "CXCall", + "CXCallAction", + "CXCallController", + "CXCallDirectory", + "CXCallDirectoryExtensionContext", + "CXCallDirectoryManager", + "CXCallDirectoryProvider", + "CXCallObserver", + "CXCallUpdate", + "CXEndCallAction", + "CXError", + "CXHandle", + "CXPlayDTMFCallAction", + "CXProvider", + "CXProviderConfiguration", + "CXSetGroupCallAction", + "CXSetHeldCallAction", + "CXSetMutedCallAction", + "CXStartCallAction", + "CXTransaction", + "block2", + "objc2-avf-audio", +] std = ["alloc"] alloc = [] block2 = ["dep:block2"] @@ -145,30 +171,3 @@ CXTransaction = [ "objc2-foundation/NSObject", "objc2-foundation/NSUUID", ] -all = [ - "CXAction", - "CXAnswerCallAction", - "CXBase", - "CXCall", - "CXCallAction", - "CXCallController", - "CXCallDirectory", - "CXCallDirectoryExtensionContext", - "CXCallDirectoryManager", - "CXCallDirectoryProvider", - "CXCallObserver", - "CXCallUpdate", - "CXEndCallAction", - "CXError", - "CXHandle", - "CXPlayDTMFCallAction", - "CXProvider", - "CXProviderConfiguration", - "CXSetGroupCallAction", - "CXSetHeldCallAction", - "CXSetMutedCallAction", - "CXStartCallAction", - "CXTransaction", - "block2", - "objc2-avf-audio", -] diff --git a/framework-crates/objc2-class-kit/Cargo.toml b/framework-crates/objc2-class-kit/Cargo.toml index 1c27aa01f..12bf20d81 100644 --- a/framework-crates/objc2-class-kit/Cargo.toml +++ b/framework-crates/objc2-class-kit/Cargo.toml @@ -26,7 +26,6 @@ objc2-foundation = { path = "../objc2-foundation", version = "0.2.2", default-fe [package.metadata.docs.rs] default-target = "aarch64-apple-darwin" -features = ["all"] rustc-args = ["--cfg", "docsrs"] # Fix cross-crate link to objc2::topics targets = [ "aarch64-apple-darwin", @@ -37,7 +36,23 @@ targets = [ ] [features] -default = ["std"] +default = [ + "std", + "CLSActivity", + "CLSActivityItem", + "CLSBinaryItem", + "CLSContext", + "CLSContextProvider", + "CLSDataStore", + "CLSDefines", + "CLSObject", + "CLSProgressReportingCapability", + "CLSQuantityItem", + "CLSScoreItem", + "NSUserActivity_CLSDeepLinks", + "block2", + "objc2-core-graphics", +] std = ["alloc"] alloc = [] block2 = ["dep:block2"] @@ -95,19 +110,3 @@ NSUserActivity_CLSDeepLinks = [ "objc2-foundation/NSString", "objc2-foundation/NSUserActivity", ] -all = [ - "CLSActivity", - "CLSActivityItem", - "CLSBinaryItem", - "CLSContext", - "CLSContextProvider", - "CLSDataStore", - "CLSDefines", - "CLSObject", - "CLSProgressReportingCapability", - "CLSQuantityItem", - "CLSScoreItem", - "NSUserActivity_CLSDeepLinks", - "block2", - "objc2-core-graphics", -] diff --git a/framework-crates/objc2-cloud-kit/Cargo.toml b/framework-crates/objc2-cloud-kit/Cargo.toml index f8f317028..f399b0dc9 100644 --- a/framework-crates/objc2-cloud-kit/Cargo.toml +++ b/framework-crates/objc2-cloud-kit/Cargo.toml @@ -24,7 +24,6 @@ objc2-foundation = { path = "../objc2-foundation", version = "0.2.2", default-fe [package.metadata.docs.rs] default-target = "aarch64-apple-darwin" -features = ["all"] rustc-args = ["--cfg", "docsrs"] # Fix cross-crate link to objc2::topics targets = [ "aarch64-apple-darwin", @@ -37,7 +36,62 @@ targets = [ ] [features] -default = ["std"] +default = [ + "std", + "CKAcceptSharesOperation", + "CKAllowedSharingOptions", + "CKAsset", + "CKContainer", + "CKDatabase", + "CKDatabaseOperation", + "CKDefines", + "CKDiscoverAllUserIdentitiesOperation", + "CKDiscoverUserIdentitiesOperation", + "CKError", + "CKFetchDatabaseChangesOperation", + "CKFetchNotificationChangesOperation", + "CKFetchRecordChangesOperation", + "CKFetchRecordZoneChangesOperation", + "CKFetchRecordZonesOperation", + "CKFetchRecordsOperation", + "CKFetchShareMetadataOperation", + "CKFetchShareParticipantsOperation", + "CKFetchSubscriptionsOperation", + "CKFetchWebAuthTokenOperation", + "CKLocationSortDescriptor", + "CKMarkNotificationsReadOperation", + "CKModifyBadgeOperation", + "CKModifyRecordZonesOperation", + "CKModifyRecordsOperation", + "CKModifySubscriptionsOperation", + "CKNotification", + "CKOperation", + "CKOperationGroup", + "CKQuery", + "CKQueryOperation", + "CKRecord", + "CKRecordID", + "CKRecordZone", + "CKRecordZoneID", + "CKReference", + "CKServerChangeToken", + "CKShare", + "CKShareMetadata", + "CKShareParticipant", + "CKSubscription", + "CKSyncEngine", + "CKSyncEngineConfiguration", + "CKSyncEngineEvent", + "CKSyncEngineRecordZoneChangeBatch", + "CKSyncEngineState", + "CKSystemSharingUIObserver", + "CKUserIdentity", + "CKUserIdentityLookupInfo", + "NSItemProvider_CKSharingSupport", + "bitflags", + "block2", + "objc2-core-location", +] std = ["alloc"] alloc = [] bitflags = ["dep:bitflags"] @@ -279,58 +333,3 @@ NSItemProvider_CKSharingSupport = [ "objc2-foundation/NSError", "objc2-foundation/NSItemProvider", ] -all = [ - "CKAcceptSharesOperation", - "CKAllowedSharingOptions", - "CKAsset", - "CKContainer", - "CKDatabase", - "CKDatabaseOperation", - "CKDefines", - "CKDiscoverAllUserIdentitiesOperation", - "CKDiscoverUserIdentitiesOperation", - "CKError", - "CKFetchDatabaseChangesOperation", - "CKFetchNotificationChangesOperation", - "CKFetchRecordChangesOperation", - "CKFetchRecordZoneChangesOperation", - "CKFetchRecordZonesOperation", - "CKFetchRecordsOperation", - "CKFetchShareMetadataOperation", - "CKFetchShareParticipantsOperation", - "CKFetchSubscriptionsOperation", - "CKFetchWebAuthTokenOperation", - "CKLocationSortDescriptor", - "CKMarkNotificationsReadOperation", - "CKModifyBadgeOperation", - "CKModifyRecordZonesOperation", - "CKModifyRecordsOperation", - "CKModifySubscriptionsOperation", - "CKNotification", - "CKOperation", - "CKOperationGroup", - "CKQuery", - "CKQueryOperation", - "CKRecord", - "CKRecordID", - "CKRecordZone", - "CKRecordZoneID", - "CKReference", - "CKServerChangeToken", - "CKShare", - "CKShareMetadata", - "CKShareParticipant", - "CKSubscription", - "CKSyncEngine", - "CKSyncEngineConfiguration", - "CKSyncEngineEvent", - "CKSyncEngineRecordZoneChangeBatch", - "CKSyncEngineState", - "CKSystemSharingUIObserver", - "CKUserIdentity", - "CKUserIdentityLookupInfo", - "NSItemProvider_CKSharingSupport", - "bitflags", - "block2", - "objc2-core-location", -] diff --git a/framework-crates/objc2-color-sync/Cargo.toml b/framework-crates/objc2-color-sync/Cargo.toml index 49f61f044..042886ce7 100644 --- a/framework-crates/objc2-color-sync/Cargo.toml +++ b/framework-crates/objc2-color-sync/Cargo.toml @@ -21,7 +21,6 @@ objc2-core-foundation = { path = "../objc2-core-foundation", version = "0.2.2", [package.metadata.docs.rs] default-target = "aarch64-apple-darwin" -features = ["all"] rustc-args = ["--cfg", "docsrs"] # Fix cross-crate link to objc2::topics targets = [ "aarch64-apple-darwin", @@ -34,7 +33,15 @@ targets = [ ] [features] -default = ["std"] +default = [ + "std", + "ColorSyncBase", + "ColorSyncCMM", + "ColorSyncDevice", + "ColorSyncProfile", + "ColorSyncTransform", + "objc2", +] std = ["alloc"] alloc = [] objc2 = ["dep:objc2"] @@ -65,11 +72,3 @@ ColorSyncTransform = [ "objc2-core-foundation/CFBase", "objc2-core-foundation/CFDictionary", ] -all = [ - "ColorSyncBase", - "ColorSyncCMM", - "ColorSyncDevice", - "ColorSyncProfile", - "ColorSyncTransform", - "objc2", -] diff --git a/framework-crates/objc2-compositor-services/Cargo.toml b/framework-crates/objc2-compositor-services/Cargo.toml index 915fe61ff..f842aa5a2 100644 --- a/framework-crates/objc2-compositor-services/Cargo.toml +++ b/framework-crates/objc2-compositor-services/Cargo.toml @@ -37,7 +37,6 @@ objc2-metal = { path = "../objc2-metal", version = "0.2.2", default-features = f [package.metadata.docs.rs] default-target = "aarch64-apple-visionos" -features = ["all"] rustc-args = ["--cfg", "docsrs"] # Fix cross-crate link to objc2::topics targets = [ "aarch64-apple-visionos", @@ -45,14 +44,8 @@ targets = [ ] [features] -default = ["std"] -std = ["alloc"] -alloc = [] -bitflags = ["dep:bitflags"] -objc2-core-foundation = ["dep:objc2-core-foundation"] -objc2-metal = ["dep:objc2-metal"] - -all = [ +default = [ + "std", "bitflags", "cp_base", "cp_error", @@ -69,6 +62,12 @@ all = [ "objc2-metal", "view", ] +std = ["alloc"] +alloc = [] +bitflags = ["dep:bitflags"] +objc2-core-foundation = ["dep:objc2-core-foundation"] +objc2-metal = ["dep:objc2-metal"] + cp_base = [] cp_error = [] cp_types = [] diff --git a/framework-crates/objc2-contacts-ui/Cargo.toml b/framework-crates/objc2-contacts-ui/Cargo.toml index a9c9e795f..558eee391 100644 --- a/framework-crates/objc2-contacts-ui/Cargo.toml +++ b/framework-crates/objc2-contacts-ui/Cargo.toml @@ -36,7 +36,6 @@ objc2-app-kit = { path = "../objc2-app-kit", version = "0.2.2", default-features [package.metadata.docs.rs] default-target = "aarch64-apple-darwin" -features = ["all"] rustc-args = ["--cfg", "docsrs"] # Fix cross-crate link to objc2::topics targets = [ "aarch64-apple-darwin", @@ -47,7 +46,14 @@ targets = [ ] [features] -default = ["std"] +default = [ + "std", + "CNContactPicker", + "CNContactPickerDelegate", + "CNContactViewController", + "objc2-app-kit", + "objc2-contacts", +] std = ["alloc"] alloc = [] objc2-app-kit = ["dep:objc2-app-kit"] @@ -65,10 +71,3 @@ CNContactViewController = [ "objc2-foundation/NSCoder", "objc2-foundation/NSObject", ] -all = [ - "CNContactPicker", - "CNContactPickerDelegate", - "CNContactViewController", - "objc2-app-kit", - "objc2-contacts", -] diff --git a/framework-crates/objc2-contacts/Cargo.toml b/framework-crates/objc2-contacts/Cargo.toml index 035a9937f..a58fd00eb 100644 --- a/framework-crates/objc2-contacts/Cargo.toml +++ b/framework-crates/objc2-contacts/Cargo.toml @@ -22,7 +22,6 @@ objc2-foundation = { path = "../objc2-foundation", version = "0.2.2", default-fe [package.metadata.docs.rs] default-target = "aarch64-apple-darwin" -features = ["all"] rustc-args = ["--cfg", "docsrs"] # Fix cross-crate link to objc2::topics targets = [ "aarch64-apple-darwin", @@ -34,7 +33,40 @@ targets = [ ] [features] -default = ["std"] +default = [ + "std", + "CNChangeHistoryEvent", + "CNChangeHistoryFetchRequest", + "CNContact", + "CNContactFetchRequest", + "CNContactFormatter", + "CNContactProperty", + "CNContactRelation", + "CNContactStore", + "CNContactVCardSerialization", + "CNContact_NSItemProvider", + "CNContact_Predicates", + "CNContactsUserDefaults", + "CNContainer", + "CNContainer_Predicates", + "CNError", + "CNFetchRequest", + "CNFetchResult", + "CNGroup", + "CNGroup_Predicates", + "CNInstantMessageAddress", + "CNLabeledValue", + "CNMutableContact", + "CNMutableGroup", + "CNMutablePostalAddress", + "CNPhoneNumber", + "CNPostalAddress", + "CNPostalAddressFormatter", + "CNSaveRequest", + "CNSocialProfile", + "ContactsDefines", + "block2", +] std = ["alloc"] alloc = [] block2 = ["dep:block2"] @@ -165,36 +197,3 @@ CNSocialProfile = [ "objc2-foundation/NSString", ] ContactsDefines = [] -all = [ - "CNChangeHistoryEvent", - "CNChangeHistoryFetchRequest", - "CNContact", - "CNContactFetchRequest", - "CNContactFormatter", - "CNContactProperty", - "CNContactRelation", - "CNContactStore", - "CNContactVCardSerialization", - "CNContact_NSItemProvider", - "CNContact_Predicates", - "CNContactsUserDefaults", - "CNContainer", - "CNContainer_Predicates", - "CNError", - "CNFetchRequest", - "CNFetchResult", - "CNGroup", - "CNGroup_Predicates", - "CNInstantMessageAddress", - "CNLabeledValue", - "CNMutableContact", - "CNMutableGroup", - "CNMutablePostalAddress", - "CNPhoneNumber", - "CNPostalAddress", - "CNPostalAddressFormatter", - "CNSaveRequest", - "CNSocialProfile", - "ContactsDefines", - "block2", -] diff --git a/framework-crates/objc2-core-audio-types/Cargo.toml b/framework-crates/objc2-core-audio-types/Cargo.toml index 8c01272de..ca67effc1 100644 --- a/framework-crates/objc2-core-audio-types/Cargo.toml +++ b/framework-crates/objc2-core-audio-types/Cargo.toml @@ -21,7 +21,6 @@ objc2 = { path = "../../crates/objc2", version = "0.5.2", default-features = fal [package.metadata.docs.rs] default-target = "aarch64-apple-darwin" -features = ["all"] rustc-args = ["--cfg", "docsrs"] # Fix cross-crate link to objc2::topics targets = [ "aarch64-apple-darwin", @@ -34,7 +33,13 @@ targets = [ ] [features] -default = ["std"] +default = [ + "std", + "AudioSessionTypes", + "CoreAudioBaseTypes", + "bitflags", + "objc2", +] std = ["alloc"] alloc = [] bitflags = ["dep:bitflags"] @@ -42,9 +47,3 @@ objc2 = ["dep:objc2"] AudioSessionTypes = [] CoreAudioBaseTypes = ["bitflags"] -all = [ - "AudioSessionTypes", - "CoreAudioBaseTypes", - "bitflags", - "objc2", -] diff --git a/framework-crates/objc2-core-audio/Cargo.toml b/framework-crates/objc2-core-audio/Cargo.toml index 4fd7e7363..f2cef3bfb 100644 --- a/framework-crates/objc2-core-audio/Cargo.toml +++ b/framework-crates/objc2-core-audio/Cargo.toml @@ -31,7 +31,6 @@ objc2-foundation = { path = "../objc2-foundation", version = "0.2.2", default-fe [package.metadata.docs.rs] default-target = "aarch64-apple-darwin" -features = ["all"] rustc-args = ["--cfg", "docsrs"] # Fix cross-crate link to objc2::topics targets = [ "aarch64-apple-darwin", @@ -44,7 +43,18 @@ targets = [ ] [features] -default = ["std"] +default = [ + "std", + "AudioHardware", + "AudioHardwareDeprecated", + "AudioServerPlugIn", + "HostTime", + "block2", + "libc", + "objc2", + "objc2-core-audio-types", + "objc2-foundation", +] std = ["alloc"] alloc = [] block2 = ["dep:block2"] @@ -57,14 +67,3 @@ AudioHardware = ["objc2-core-foundation/CFDictionary"] AudioHardwareDeprecated = ["objc2-core-foundation/CFRunLoop"] AudioServerPlugIn = ["objc2-core-foundation/CFBase"] HostTime = [] -all = [ - "AudioHardware", - "AudioHardwareDeprecated", - "AudioServerPlugIn", - "HostTime", - "block2", - "libc", - "objc2", - "objc2-core-audio-types", - "objc2-foundation", -] diff --git a/framework-crates/objc2-core-bluetooth/Cargo.toml b/framework-crates/objc2-core-bluetooth/Cargo.toml index 578e9980c..9d1dff8f4 100644 --- a/framework-crates/objc2-core-bluetooth/Cargo.toml +++ b/framework-crates/objc2-core-bluetooth/Cargo.toml @@ -27,7 +27,6 @@ objc2-foundation = { path = "../objc2-foundation", version = "0.2.2", default-fe [package.metadata.docs.rs] default-target = "aarch64-apple-darwin" -features = ["all"] rustc-args = ["--cfg", "docsrs"] # Fix cross-crate link to objc2::topics targets = [ "aarch64-apple-darwin", @@ -40,7 +39,29 @@ targets = [ ] [features] -default = ["std"] +default = [ + "std", + "CBATTRequest", + "CBAdvertisementData", + "CBAttribute", + "CBCentral", + "CBCentralManager", + "CBCentralManagerConstants", + "CBCharacteristic", + "CBDefines", + "CBDescriptor", + "CBError", + "CBL2CAPChannel", + "CBManager", + "CBPeer", + "CBPeripheral", + "CBPeripheralManager", + "CBPeripheralManagerConstants", + "CBService", + "CBUUID", + "bitflags", + "objc2-core-foundation", +] std = ["alloc"] alloc = [] bitflags = ["dep:bitflags"] @@ -97,25 +118,3 @@ CBUUID = [ "objc2-foundation/NSString", "objc2-foundation/NSUUID", ] -all = [ - "CBATTRequest", - "CBAdvertisementData", - "CBAttribute", - "CBCentral", - "CBCentralManager", - "CBCentralManagerConstants", - "CBCharacteristic", - "CBDefines", - "CBDescriptor", - "CBError", - "CBL2CAPChannel", - "CBManager", - "CBPeer", - "CBPeripheral", - "CBPeripheralManager", - "CBPeripheralManagerConstants", - "CBService", - "CBUUID", - "bitflags", - "objc2-core-foundation", -] diff --git a/framework-crates/objc2-core-data/Cargo.toml b/framework-crates/objc2-core-data/Cargo.toml index bc42d047b..473dcfaff 100644 --- a/framework-crates/objc2-core-data/Cargo.toml +++ b/framework-crates/objc2-core-data/Cargo.toml @@ -32,7 +32,6 @@ objc2-foundation = { path = "../objc2-foundation", version = "0.2.2", default-fe [package.metadata.docs.rs] default-target = "aarch64-apple-darwin" -features = ["all"] rustc-args = ["--cfg", "docsrs"] # Fix cross-crate link to objc2::topics targets = [ "aarch64-apple-darwin", @@ -45,7 +44,67 @@ targets = [ ] [features] -default = ["std"] +default = [ + "std", + "CloudKit", + "CoreDataDefines", + "CoreDataErrors", + "NSAtomicStore", + "NSAtomicStoreCacheNode", + "NSAttributeDescription", + "NSBatchDeleteRequest", + "NSBatchInsertRequest", + "NSBatchUpdateRequest", + "NSCompositeAttributeDescription", + "NSCoreDataCoreSpotlightDelegate", + "NSCustomMigrationStage", + "NSDerivedAttributeDescription", + "NSEntityDescription", + "NSEntityMapping", + "NSEntityMigrationPolicy", + "NSExpressionDescription", + "NSFetchIndexDescription", + "NSFetchIndexElementDescription", + "NSFetchRequest", + "NSFetchRequestExpression", + "NSFetchedPropertyDescription", + "NSFetchedResultsController", + "NSIncrementalStore", + "NSIncrementalStoreNode", + "NSLightweightMigrationStage", + "NSManagedObject", + "NSManagedObjectContext", + "NSManagedObjectID", + "NSManagedObjectModel", + "NSManagedObjectModelReference", + "NSMappingModel", + "NSMergePolicy", + "NSMigrationManager", + "NSMigrationStage", + "NSPersistentCloudKitContainer", + "NSPersistentCloudKitContainerEvent", + "NSPersistentCloudKitContainerEventRequest", + "NSPersistentCloudKitContainerOptions", + "NSPersistentContainer", + "NSPersistentHistoryChange", + "NSPersistentHistoryChangeRequest", + "NSPersistentHistoryToken", + "NSPersistentHistoryTransaction", + "NSPersistentStore", + "NSPersistentStoreCoordinator", + "NSPersistentStoreDescription", + "NSPersistentStoreRequest", + "NSPersistentStoreResult", + "NSPropertyDescription", + "NSPropertyMapping", + "NSQueryGenerationToken", + "NSRelationshipDescription", + "NSSaveChangesRequest", + "NSStagedMigrationManager", + "bitflags", + "block2", + "objc2-cloud-kit", +] std = ["alloc"] alloc = [] gnustep-1-7 = [] @@ -344,63 +403,3 @@ NSSaveChangesRequest = [ "objc2-foundation/NSSet", ] NSStagedMigrationManager = ["objc2-foundation/NSArray"] -all = [ - "CloudKit", - "CoreDataDefines", - "CoreDataErrors", - "NSAtomicStore", - "NSAtomicStoreCacheNode", - "NSAttributeDescription", - "NSBatchDeleteRequest", - "NSBatchInsertRequest", - "NSBatchUpdateRequest", - "NSCompositeAttributeDescription", - "NSCoreDataCoreSpotlightDelegate", - "NSCustomMigrationStage", - "NSDerivedAttributeDescription", - "NSEntityDescription", - "NSEntityMapping", - "NSEntityMigrationPolicy", - "NSExpressionDescription", - "NSFetchIndexDescription", - "NSFetchIndexElementDescription", - "NSFetchRequest", - "NSFetchRequestExpression", - "NSFetchedPropertyDescription", - "NSFetchedResultsController", - "NSIncrementalStore", - "NSIncrementalStoreNode", - "NSLightweightMigrationStage", - "NSManagedObject", - "NSManagedObjectContext", - "NSManagedObjectID", - "NSManagedObjectModel", - "NSManagedObjectModelReference", - "NSMappingModel", - "NSMergePolicy", - "NSMigrationManager", - "NSMigrationStage", - "NSPersistentCloudKitContainer", - "NSPersistentCloudKitContainerEvent", - "NSPersistentCloudKitContainerEventRequest", - "NSPersistentCloudKitContainerOptions", - "NSPersistentContainer", - "NSPersistentHistoryChange", - "NSPersistentHistoryChangeRequest", - "NSPersistentHistoryToken", - "NSPersistentHistoryTransaction", - "NSPersistentStore", - "NSPersistentStoreCoordinator", - "NSPersistentStoreDescription", - "NSPersistentStoreRequest", - "NSPersistentStoreResult", - "NSPropertyDescription", - "NSPropertyMapping", - "NSQueryGenerationToken", - "NSRelationshipDescription", - "NSSaveChangesRequest", - "NSStagedMigrationManager", - "bitflags", - "block2", - "objc2-cloud-kit", -] diff --git a/framework-crates/objc2-core-foundation/Cargo.toml b/framework-crates/objc2-core-foundation/Cargo.toml index c4748b369..d897211cc 100644 --- a/framework-crates/objc2-core-foundation/Cargo.toml +++ b/framework-crates/objc2-core-foundation/Cargo.toml @@ -23,7 +23,6 @@ objc2 = { path = "../../crates/objc2", version = "0.5.2", default-features = fal [package.metadata.docs.rs] default-target = "aarch64-apple-darwin" -features = ["all"] rustc-args = ["--cfg", "docsrs"] # Fix cross-crate link to objc2::topics targets = [ "aarch64-apple-darwin", @@ -38,7 +37,59 @@ targets = [ ] [features] -default = ["std"] +default = [ + "std", + "CFArray", + "CFAttributedString", + "CFAvailability", + "CFBag", + "CFBase", + "CFBinaryHeap", + "CFBitVector", + "CFBundle", + "CFByteOrder", + "CFCGTypes", + "CFCalendar", + "CFCharacterSet", + "CFData", + "CFDate", + "CFDateFormatter", + "CFDictionary", + "CFError", + "CFFileDescriptor", + "CFFileSecurity", + "CFLocale", + "CFMachPort", + "CFMessagePort", + "CFNotificationCenter", + "CFNumber", + "CFNumberFormatter", + "CFPlugIn", + "CFPlugInCOM", + "CFPreferences", + "CFPropertyList", + "CFRunLoop", + "CFSet", + "CFSocket", + "CFStream", + "CFString", + "CFStringEncodingExt", + "CFStringTokenizer", + "CFTimeZone", + "CFTree", + "CFURL", + "CFURLAccess", + "CFURLEnumerator", + "CFUUID", + "CFUserNotification", + "CFUtilities", + "CFXMLNode", + "CFXMLParser", + "bitflags", + "block2", + "libc", + "objc2", +] std = ["alloc"] alloc = [] unstable-coerce-pointee = [] @@ -93,55 +144,3 @@ CFUserNotification = [] CFUtilities = [] CFXMLNode = [] CFXMLParser = ["bitflags"] -all = [ - "CFArray", - "CFAttributedString", - "CFAvailability", - "CFBag", - "CFBase", - "CFBinaryHeap", - "CFBitVector", - "CFBundle", - "CFByteOrder", - "CFCGTypes", - "CFCalendar", - "CFCharacterSet", - "CFData", - "CFDate", - "CFDateFormatter", - "CFDictionary", - "CFError", - "CFFileDescriptor", - "CFFileSecurity", - "CFLocale", - "CFMachPort", - "CFMessagePort", - "CFNotificationCenter", - "CFNumber", - "CFNumberFormatter", - "CFPlugIn", - "CFPlugInCOM", - "CFPreferences", - "CFPropertyList", - "CFRunLoop", - "CFSet", - "CFSocket", - "CFStream", - "CFString", - "CFStringEncodingExt", - "CFStringTokenizer", - "CFTimeZone", - "CFTree", - "CFURL", - "CFURLAccess", - "CFURLEnumerator", - "CFUUID", - "CFUserNotification", - "CFUtilities", - "CFXMLNode", - "CFXMLParser", - "bitflags", - "block2", - "libc", - "objc2", -] diff --git a/framework-crates/objc2-core-graphics/Cargo.toml b/framework-crates/objc2-core-graphics/Cargo.toml index 04a774957..91e2ad042 100644 --- a/framework-crates/objc2-core-graphics/Cargo.toml +++ b/framework-crates/objc2-core-graphics/Cargo.toml @@ -28,7 +28,6 @@ objc2-metal = { path = "../objc2-metal", version = "0.2.2", default-features = f [package.metadata.docs.rs] default-target = "aarch64-apple-darwin" -features = ["all"] rustc-args = ["--cfg", "docsrs"] # Fix cross-crate link to objc2::topics targets = [ "aarch64-apple-darwin", @@ -39,9 +38,65 @@ targets = [ "aarch64-apple-ios-macabi", "aarch64-apple-visionos", ] +features = ["objc2-io-surface"] [features] -default = ["std"] +default = [ + "std", + "CGAffineTransform", + "CGBase", + "CGBitmapContext", + "CGColor", + "CGColorConversionInfo", + "CGColorSpace", + "CGContext", + "CGConvertColorDataWithFormat", + "CGDataConsumer", + "CGDataProvider", + "CGDirectDisplay", + "CGDirectDisplayMetal", + "CGDirectPalette", + "CGDisplayConfiguration", + "CGDisplayFade", + "CGDisplayStream", + "CGEXRToneMappingGamma", + "CGError", + "CGEvent", + "CGEventSource", + "CGEventTypes", + "CGFont", + "CGFunction", + "CGGeometry", + "CGGradient", + "CGITUToneMapping", + "CGImage", + "CGLayer", + "CGPDFArray", + "CGPDFContentStream", + "CGPDFContext", + "CGPDFDictionary", + "CGPDFDocument", + "CGPDFObject", + "CGPDFOperatorTable", + "CGPDFPage", + "CGPDFScanner", + "CGPDFStream", + "CGPDFString", + "CGPSConverter", + "CGPath", + "CGPattern", + "CGRemoteOperation", + "CGSession", + "CGShading", + "CGToneMapping", + "CGWindow", + "CGWindowLevel", + "bitflags", + "block2", + "libc", + "objc2", + "objc2-metal", +] std = ["alloc"] alloc = [] bitflags = ["dep:bitflags"] @@ -217,59 +272,3 @@ CGWindow = [ "objc2-core-foundation/CFCGTypes", ] CGWindowLevel = [] -all = [ - "CGAffineTransform", - "CGBase", - "CGBitmapContext", - "CGColor", - "CGColorConversionInfo", - "CGColorSpace", - "CGContext", - "CGConvertColorDataWithFormat", - "CGDataConsumer", - "CGDataProvider", - "CGDirectDisplay", - "CGDirectDisplayMetal", - "CGDirectPalette", - "CGDisplayConfiguration", - "CGDisplayFade", - "CGDisplayStream", - "CGEXRToneMappingGamma", - "CGError", - "CGEvent", - "CGEventSource", - "CGEventTypes", - "CGFont", - "CGFunction", - "CGGeometry", - "CGGradient", - "CGITUToneMapping", - "CGImage", - "CGLayer", - "CGPDFArray", - "CGPDFContentStream", - "CGPDFContext", - "CGPDFDictionary", - "CGPDFDocument", - "CGPDFObject", - "CGPDFOperatorTable", - "CGPDFPage", - "CGPDFScanner", - "CGPDFStream", - "CGPDFString", - "CGPSConverter", - "CGPath", - "CGPattern", - "CGRemoteOperation", - "CGSession", - "CGShading", - "CGToneMapping", - "CGWindow", - "CGWindowLevel", - "bitflags", - "block2", - "libc", - "objc2", - "objc2-io-surface", - "objc2-metal", -] diff --git a/framework-crates/objc2-core-image/Cargo.toml b/framework-crates/objc2-core-image/Cargo.toml index 55eb9195b..5fc88819c 100644 --- a/framework-crates/objc2-core-image/Cargo.toml +++ b/framework-crates/objc2-core-image/Cargo.toml @@ -55,7 +55,6 @@ objc2-metal = { path = "../objc2-metal", version = "0.2.2", default-features = f [package.metadata.docs.rs] default-target = "aarch64-apple-darwin" -features = ["all"] rustc-args = ["--cfg", "docsrs"] # Fix cross-crate link to objc2::topics targets = [ "aarch64-apple-darwin", @@ -65,9 +64,44 @@ targets = [ "aarch64-apple-ios-macabi", "aarch64-apple-visionos", ] +features = [ + "objc2-core-ml", + "objc2-io-surface", +] [features] -default = ["std"] +default = [ + "std", + "CIBarcodeDescriptor", + "CIColor", + "CIContext", + "CIDetector", + "CIFeature", + "CIFilter", + "CIFilterBuiltins", + "CIFilterConstructor", + "CIFilterGenerator", + "CIFilterShape", + "CIImage", + "CIImageAccumulator", + "CIImageProcessor", + "CIImageProvider", + "CIKernel", + "CIKernelMetalLib", + "CIPlugIn", + "CIPlugInInterface", + "CIRAWFilter", + "CIRAWFilter_Deprecated", + "CIRenderDestination", + "CISampler", + "CIVector", + "CoreImageDefines", + "block2", + "objc2-core-foundation", + "objc2-core-graphics", + "objc2-core-video", + "objc2-metal", +] std = ["alloc"] alloc = [] gnustep-1-7 = ["objc2/gnustep-1-7", "block2?/gnustep-1-7", "objc2-foundation/gnustep-1-7"] @@ -188,36 +222,3 @@ CIVector = [ "objc2-foundation/NSString", ] CoreImageDefines = [] -all = [ - "CIBarcodeDescriptor", - "CIColor", - "CIContext", - "CIDetector", - "CIFeature", - "CIFilter", - "CIFilterBuiltins", - "CIFilterConstructor", - "CIFilterGenerator", - "CIFilterShape", - "CIImage", - "CIImageAccumulator", - "CIImageProcessor", - "CIImageProvider", - "CIKernel", - "CIKernelMetalLib", - "CIPlugIn", - "CIPlugInInterface", - "CIRAWFilter", - "CIRAWFilter_Deprecated", - "CIRenderDestination", - "CISampler", - "CIVector", - "CoreImageDefines", - "block2", - "objc2-core-foundation", - "objc2-core-graphics", - "objc2-core-ml", - "objc2-core-video", - "objc2-io-surface", - "objc2-metal", -] diff --git a/framework-crates/objc2-core-location/Cargo.toml b/framework-crates/objc2-core-location/Cargo.toml index 3fb66bcd4..0daff8944 100644 --- a/framework-crates/objc2-core-location/Cargo.toml +++ b/framework-crates/objc2-core-location/Cargo.toml @@ -25,7 +25,6 @@ objc2-contacts = { path = "../objc2-contacts", version = "0.2.2", default-featur [package.metadata.docs.rs] default-target = "aarch64-apple-darwin" -features = ["all"] rustc-args = ["--cfg", "docsrs"] # Fix cross-crate link to objc2::topics targets = [ "aarch64-apple-darwin", @@ -38,7 +37,38 @@ targets = [ ] [features] -default = ["std"] +default = [ + "std", + "CLAvailability", + "CLBackgroundActivitySession", + "CLBeaconIdentityCondition", + "CLBeaconIdentityConstraint", + "CLBeaconRegion", + "CLCircularGeographicCondition", + "CLCircularRegion", + "CLCondition", + "CLError", + "CLErrorDomain", + "CLGeocoder", + "CLHeading", + "CLLocation", + "CLLocationManager", + "CLLocationManagerDelegate", + "CLLocationManager_CLVisitExtensions", + "CLLocationPushServiceError", + "CLLocationPushServiceExtension", + "CLLocationUpdater", + "CLMonitor", + "CLMonitorConfiguration", + "CLMonitoringEvent", + "CLMonitoringRecord", + "CLPlacemark", + "CLRegion", + "CLServiceSession", + "CLVisit", + "block2", + "objc2-contacts", +] std = ["alloc"] alloc = [] block2 = ["dep:block2"] @@ -135,34 +165,3 @@ CLVisit = [ "objc2-foundation/NSDate", "objc2-foundation/NSObject", ] -all = [ - "CLAvailability", - "CLBackgroundActivitySession", - "CLBeaconIdentityCondition", - "CLBeaconIdentityConstraint", - "CLBeaconRegion", - "CLCircularGeographicCondition", - "CLCircularRegion", - "CLCondition", - "CLError", - "CLErrorDomain", - "CLGeocoder", - "CLHeading", - "CLLocation", - "CLLocationManager", - "CLLocationManagerDelegate", - "CLLocationManager_CLVisitExtensions", - "CLLocationPushServiceError", - "CLLocationPushServiceExtension", - "CLLocationUpdater", - "CLMonitor", - "CLMonitorConfiguration", - "CLMonitoringEvent", - "CLMonitoringRecord", - "CLPlacemark", - "CLRegion", - "CLServiceSession", - "CLVisit", - "block2", - "objc2-contacts", -] diff --git a/framework-crates/objc2-core-media/Cargo.toml b/framework-crates/objc2-core-media/Cargo.toml index 1c689845e..bc276ff62 100644 --- a/framework-crates/objc2-core-media/Cargo.toml +++ b/framework-crates/objc2-core-media/Cargo.toml @@ -33,7 +33,6 @@ objc2-core-video = { path = "../objc2-core-video", version = "0.2.2", default-fe [package.metadata.docs.rs] default-target = "aarch64-apple-darwin" -features = ["all"] rustc-args = ["--cfg", "docsrs"] # Fix cross-crate link to objc2::topics targets = [ "aarch64-apple-darwin", @@ -46,7 +45,34 @@ targets = [ ] [features] -default = ["std"] +default = [ + "std", + "CMAttachment", + "CMAudioClock", + "CMAudioDeviceClock", + "CMBase", + "CMBlockBuffer", + "CMBufferQueue", + "CMFormatDescription", + "CMFormatDescriptionBridge", + "CMMemoryPool", + "CMMetadata", + "CMSampleBuffer", + "CMSimpleQueue", + "CMSync", + "CMTag", + "CMTagCollection", + "CMTaggedBufferGroup", + "CMTextMarkup", + "CMTime", + "CMTimeRange", + "bitflags", + "block2", + "objc2", + "objc2-core-audio", + "objc2-core-audio-types", + "objc2-core-video", +] std = ["alloc"] alloc = [] bitflags = ["dep:bitflags"] @@ -117,30 +143,3 @@ CMTimeRange = [ "objc2-core-foundation/CFBase", "objc2-core-foundation/CFDictionary", ] -all = [ - "CMAttachment", - "CMAudioClock", - "CMAudioDeviceClock", - "CMBase", - "CMBlockBuffer", - "CMBufferQueue", - "CMFormatDescription", - "CMFormatDescriptionBridge", - "CMMemoryPool", - "CMMetadata", - "CMSampleBuffer", - "CMSimpleQueue", - "CMSync", - "CMTag", - "CMTagCollection", - "CMTaggedBufferGroup", - "CMTextMarkup", - "CMTime", - "CMTimeRange", - "bitflags", - "block2", - "objc2", - "objc2-core-audio", - "objc2-core-audio-types", - "objc2-core-video", -] diff --git a/framework-crates/objc2-core-midi/Cargo.toml b/framework-crates/objc2-core-midi/Cargo.toml index 29a21eeb8..b6a05da10 100644 --- a/framework-crates/objc2-core-midi/Cargo.toml +++ b/framework-crates/objc2-core-midi/Cargo.toml @@ -43,7 +43,6 @@ objc2-foundation = { path = "../objc2-foundation", version = "0.2.2", default-fe [package.metadata.docs.rs] default-target = "aarch64-apple-darwin" -features = ["all"] rustc-args = ["--cfg", "docsrs"] # Fix cross-crate link to objc2::topics targets = [ "aarch64-apple-darwin", @@ -56,7 +55,31 @@ targets = [ ] [features] -default = ["std"] +default = [ + "std", + "MIDIBluetoothConnection", + "MIDICIDevice", + "MIDICIDeviceManager", + "MIDICapabilityInquiry", + "MIDIDriver", + "MIDIMessages", + "MIDINetworkSession", + "MIDIServices", + "MIDISetup", + "MIDIThruConnection", + "MIDIUMPCI", + "MIDIUMPCIProfile", + "MIDIUMPEndpoint", + "MIDIUMPEndpointManager", + "MIDIUMPFunctionBlock", + "MIDIUMPMutableEndpoint", + "MIDIUMPMutableFunctionBlock", + "bitflags", + "block2", + "objc2", + "objc2-core-foundation", + "objc2-foundation", +] std = ["alloc"] alloc = [] bitflags = ["dep:bitflags"] @@ -82,27 +105,3 @@ MIDIUMPEndpointManager = [] MIDIUMPFunctionBlock = [] MIDIUMPMutableEndpoint = [] MIDIUMPMutableFunctionBlock = [] -all = [ - "MIDIBluetoothConnection", - "MIDICIDevice", - "MIDICIDeviceManager", - "MIDICapabilityInquiry", - "MIDIDriver", - "MIDIMessages", - "MIDINetworkSession", - "MIDIServices", - "MIDISetup", - "MIDIThruConnection", - "MIDIUMPCI", - "MIDIUMPCIProfile", - "MIDIUMPEndpoint", - "MIDIUMPEndpointManager", - "MIDIUMPFunctionBlock", - "MIDIUMPMutableEndpoint", - "MIDIUMPMutableFunctionBlock", - "bitflags", - "block2", - "objc2", - "objc2-core-foundation", - "objc2-foundation", -] diff --git a/framework-crates/objc2-core-ml/Cargo.toml b/framework-crates/objc2-core-ml/Cargo.toml index b674c9e60..5fea11a5a 100644 --- a/framework-crates/objc2-core-ml/Cargo.toml +++ b/framework-crates/objc2-core-ml/Cargo.toml @@ -42,7 +42,6 @@ objc2-metal = { path = "../objc2-metal", version = "0.2.2", default-features = f [package.metadata.docs.rs] default-target = "aarch64-apple-darwin" -features = ["all"] rustc-args = ["--cfg", "docsrs"] # Fix cross-crate link to objc2::topics targets = [ "aarch64-apple-darwin", @@ -55,7 +54,85 @@ targets = [ ] [features] -default = ["std"] +default = [ + "std", + "MLAllComputeDevices", + "MLArrayBatchProvider", + "MLBatchProvider", + "MLCPUComputeDevice", + "MLComputeDeviceProtocol", + "MLComputePlan", + "MLComputePlanCost", + "MLComputePlanDeviceUsage", + "MLCustomLayer", + "MLCustomModel", + "MLDictionaryConstraint", + "MLDictionaryFeatureProvider", + "MLExport", + "MLFeatureDescription", + "MLFeatureProvider", + "MLFeatureType", + "MLFeatureValue", + "MLFeatureValue_MLImageConversion", + "MLGPUComputeDevice", + "MLImageConstraint", + "MLImageSize", + "MLImageSizeConstraint", + "MLImageSizeConstraintType", + "MLKey", + "MLMetricKey", + "MLModel", + "MLModelAsset", + "MLModelCollection", + "MLModelCollectionEntry", + "MLModelConfiguration", + "MLModelDescription", + "MLModelError", + "MLModelMetadataKeys", + "MLModelStructure", + "MLModelStructureNeuralNetwork", + "MLModelStructureNeuralNetworkLayer", + "MLModelStructurePipeline", + "MLModelStructureProgram", + "MLModelStructureProgramArgument", + "MLModelStructureProgramBinding", + "MLModelStructureProgramBlock", + "MLModelStructureProgramFunction", + "MLModelStructureProgramNamedValueType", + "MLModelStructureProgramOperation", + "MLModelStructureProgramValue", + "MLModelStructureProgramValueType", + "MLModel_MLComputeDevice", + "MLModel_MLModelCompilation", + "MLModel_MLState", + "MLMultiArray", + "MLMultiArrayConstraint", + "MLMultiArrayShapeConstraint", + "MLMultiArrayShapeConstraintType", + "MLNeuralEngineComputeDevice", + "MLNumericConstraint", + "MLOptimizationHints", + "MLParameterDescription", + "MLParameterKey", + "MLPredictionOptions", + "MLReshapeFrequencyHint", + "MLSequence", + "MLSequenceConstraint", + "MLSpecializationStrategy", + "MLState", + "MLStateConstraint", + "MLTask", + "MLUpdateContext", + "MLUpdateProgressEvent", + "MLUpdateProgressHandlers", + "MLUpdateTask", + "MLWritable", + "bitflags", + "block2", + "objc2-core-graphics", + "objc2-core-video", + "objc2-metal", +] std = ["alloc"] alloc = [] bitflags = ["dep:bitflags"] @@ -279,81 +356,3 @@ MLWritable = [ "objc2-foundation/NSError", "objc2-foundation/NSURL", ] -all = [ - "MLAllComputeDevices", - "MLArrayBatchProvider", - "MLBatchProvider", - "MLCPUComputeDevice", - "MLComputeDeviceProtocol", - "MLComputePlan", - "MLComputePlanCost", - "MLComputePlanDeviceUsage", - "MLCustomLayer", - "MLCustomModel", - "MLDictionaryConstraint", - "MLDictionaryFeatureProvider", - "MLExport", - "MLFeatureDescription", - "MLFeatureProvider", - "MLFeatureType", - "MLFeatureValue", - "MLFeatureValue_MLImageConversion", - "MLGPUComputeDevice", - "MLImageConstraint", - "MLImageSize", - "MLImageSizeConstraint", - "MLImageSizeConstraintType", - "MLKey", - "MLMetricKey", - "MLModel", - "MLModelAsset", - "MLModelCollection", - "MLModelCollectionEntry", - "MLModelConfiguration", - "MLModelDescription", - "MLModelError", - "MLModelMetadataKeys", - "MLModelStructure", - "MLModelStructureNeuralNetwork", - "MLModelStructureNeuralNetworkLayer", - "MLModelStructurePipeline", - "MLModelStructureProgram", - "MLModelStructureProgramArgument", - "MLModelStructureProgramBinding", - "MLModelStructureProgramBlock", - "MLModelStructureProgramFunction", - "MLModelStructureProgramNamedValueType", - "MLModelStructureProgramOperation", - "MLModelStructureProgramValue", - "MLModelStructureProgramValueType", - "MLModel_MLComputeDevice", - "MLModel_MLModelCompilation", - "MLModel_MLState", - "MLMultiArray", - "MLMultiArrayConstraint", - "MLMultiArrayShapeConstraint", - "MLMultiArrayShapeConstraintType", - "MLNeuralEngineComputeDevice", - "MLNumericConstraint", - "MLOptimizationHints", - "MLParameterDescription", - "MLParameterKey", - "MLPredictionOptions", - "MLReshapeFrequencyHint", - "MLSequence", - "MLSequenceConstraint", - "MLSpecializationStrategy", - "MLState", - "MLStateConstraint", - "MLTask", - "MLUpdateContext", - "MLUpdateProgressEvent", - "MLUpdateProgressHandlers", - "MLUpdateTask", - "MLWritable", - "bitflags", - "block2", - "objc2-core-graphics", - "objc2-core-video", - "objc2-metal", -] diff --git a/framework-crates/objc2-core-motion/Cargo.toml b/framework-crates/objc2-core-motion/Cargo.toml index d5686c80a..fd5413b74 100644 --- a/framework-crates/objc2-core-motion/Cargo.toml +++ b/framework-crates/objc2-core-motion/Cargo.toml @@ -24,7 +24,6 @@ objc2-foundation = { path = "../objc2-foundation", version = "0.2.2", default-fe [package.metadata.docs.rs] default-target = "aarch64-apple-darwin" -features = ["all"] rustc-args = ["--cfg", "docsrs"] # Fix cross-crate link to objc2::topics targets = [ "aarch64-apple-darwin", @@ -36,7 +35,46 @@ targets = [ ] [features] -default = ["std"] +default = [ + "std", + "CMAbsoluteAltitude", + "CMAccelerometer", + "CMAltimeter", + "CMAltitude", + "CMAmbientPressure", + "CMAttitude", + "CMAuthorization", + "CMAvailability", + "CMBatchedSensorManager", + "CMDeviceMotion", + "CMError", + "CMErrorDomain", + "CMFallDetectionEvent", + "CMFallDetectionManager", + "CMGyro", + "CMHeadphoneActivityManager", + "CMHeadphoneMotionManager", + "CMHeadphoneMotionManagerDelegate", + "CMHighFrequencyHeartRateData", + "CMLogItem", + "CMMagnetometer", + "CMMotionActivity", + "CMMotionActivityManager", + "CMMotionManager", + "CMMovementDisorderManager", + "CMOdometer", + "CMPedometer", + "CMRecordedAccelerometerData", + "CMRecordedPressureData", + "CMRotationRateData", + "CMSensorRecorder", + "CMStepCounter", + "CMWaterSubmersionData", + "CMWaterSubmersionManager", + "bitflags", + "block2", + "objc2-core-location", +] std = ["alloc"] alloc = [] bitflags = ["dep:bitflags"] @@ -157,42 +195,3 @@ CMWaterSubmersionManager = [ "objc2-foundation/NSMeasurement", "objc2-foundation/NSUnit", ] -all = [ - "CMAbsoluteAltitude", - "CMAccelerometer", - "CMAltimeter", - "CMAltitude", - "CMAmbientPressure", - "CMAttitude", - "CMAuthorization", - "CMAvailability", - "CMBatchedSensorManager", - "CMDeviceMotion", - "CMError", - "CMErrorDomain", - "CMFallDetectionEvent", - "CMFallDetectionManager", - "CMGyro", - "CMHeadphoneActivityManager", - "CMHeadphoneMotionManager", - "CMHeadphoneMotionManagerDelegate", - "CMHighFrequencyHeartRateData", - "CMLogItem", - "CMMagnetometer", - "CMMotionActivity", - "CMMotionActivityManager", - "CMMotionManager", - "CMMovementDisorderManager", - "CMOdometer", - "CMPedometer", - "CMRecordedAccelerometerData", - "CMRecordedPressureData", - "CMRotationRateData", - "CMSensorRecorder", - "CMStepCounter", - "CMWaterSubmersionData", - "CMWaterSubmersionManager", - "bitflags", - "block2", - "objc2-core-location", -] diff --git a/framework-crates/objc2-core-text/Cargo.toml b/framework-crates/objc2-core-text/Cargo.toml index 84786e06a..c737ea1f4 100644 --- a/framework-crates/objc2-core-text/Cargo.toml +++ b/framework-crates/objc2-core-text/Cargo.toml @@ -30,7 +30,6 @@ objc2-core-graphics = { path = "../objc2-core-graphics", version = "0.2.2", defa [package.metadata.docs.rs] default-target = "aarch64-apple-darwin" -features = ["all"] rustc-args = ["--cfg", "docsrs"] # Fix cross-crate link to objc2::topics targets = [ "aarch64-apple-darwin", @@ -43,7 +42,34 @@ targets = [ ] [features] -default = ["std"] +default = [ + "std", + "CTDefines", + "CTFont", + "CTFontCollection", + "CTFontDescriptor", + "CTFontManager", + "CTFontManagerErrors", + "CTFontTraits", + "CTFrame", + "CTFramesetter", + "CTGlyphInfo", + "CTLine", + "CTParagraphStyle", + "CTRubyAnnotation", + "CTRun", + "CTRunDelegate", + "CTStringAttributes", + "CTTextTab", + "CTTypesetter", + "SFNTLayoutTypes", + "SFNTTypes", + "bitflags", + "block2", + "libc", + "objc2", + "objc2-core-graphics", +] std = ["alloc"] alloc = [] bitflags = ["dep:bitflags"] @@ -144,30 +170,3 @@ CTTypesetter = [ ] SFNTLayoutTypes = [] SFNTTypes = [] -all = [ - "CTDefines", - "CTFont", - "CTFontCollection", - "CTFontDescriptor", - "CTFontManager", - "CTFontManagerErrors", - "CTFontTraits", - "CTFrame", - "CTFramesetter", - "CTGlyphInfo", - "CTLine", - "CTParagraphStyle", - "CTRubyAnnotation", - "CTRun", - "CTRunDelegate", - "CTStringAttributes", - "CTTextTab", - "CTTypesetter", - "SFNTLayoutTypes", - "SFNTTypes", - "bitflags", - "block2", - "libc", - "objc2", - "objc2-core-graphics", -] diff --git a/framework-crates/objc2-core-video/Cargo.toml b/framework-crates/objc2-core-video/Cargo.toml index ec171f3dc..45af25b77 100644 --- a/framework-crates/objc2-core-video/Cargo.toml +++ b/framework-crates/objc2-core-video/Cargo.toml @@ -38,7 +38,6 @@ objc2-metal = { path = "../objc2-metal", version = "0.2.2", default-features = f [package.metadata.docs.rs] default-target = "aarch64-apple-darwin" -features = ["all"] rustc-args = ["--cfg", "docsrs"] # Fix cross-crate link to objc2::topics targets = [ "aarch64-apple-darwin", @@ -49,9 +48,35 @@ targets = [ "aarch64-apple-ios-macabi", "aarch64-apple-visionos", ] +features = ["objc2-io-surface"] [features] -default = ["std"] +default = [ + "std", + "CVBase", + "CVBuffer", + "CVDisplayLink", + "CVHostTime", + "CVImageBuffer", + "CVMetalBuffer", + "CVMetalBufferCache", + "CVMetalTexture", + "CVMetalTextureCache", + "CVOpenGLBuffer", + "CVOpenGLBufferPool", + "CVOpenGLTexture", + "CVOpenGLTextureCache", + "CVPixelBuffer", + "CVPixelBufferIOSurface", + "CVPixelBufferPool", + "CVPixelFormatDescription", + "CVReturn", + "bitflags", + "block2", + "objc2", + "objc2-core-graphics", + "objc2-metal", +] std = ["alloc"] alloc = [] bitflags = ["dep:bitflags"] @@ -117,29 +142,3 @@ CVPixelFormatDescription = [ "objc2-core-foundation/CFDictionary", ] CVReturn = [] -all = [ - "CVBase", - "CVBuffer", - "CVDisplayLink", - "CVHostTime", - "CVImageBuffer", - "CVMetalBuffer", - "CVMetalBufferCache", - "CVMetalTexture", - "CVMetalTextureCache", - "CVOpenGLBuffer", - "CVOpenGLBufferPool", - "CVOpenGLTexture", - "CVOpenGLTextureCache", - "CVPixelBuffer", - "CVPixelBufferIOSurface", - "CVPixelBufferPool", - "CVPixelFormatDescription", - "CVReturn", - "bitflags", - "block2", - "objc2", - "objc2-core-graphics", - "objc2-io-surface", - "objc2-metal", -] diff --git a/framework-crates/objc2-core-wlan/Cargo.toml b/framework-crates/objc2-core-wlan/Cargo.toml index 484e81029..bd1f9138a 100644 --- a/framework-crates/objc2-core-wlan/Cargo.toml +++ b/framework-crates/objc2-core-wlan/Cargo.toml @@ -32,7 +32,6 @@ objc2-security = { path = "../objc2-security", version = "0.2.2", default-featur [package.metadata.docs.rs] default-target = "aarch64-apple-darwin" -features = ["all"] rustc-args = ["--cfg", "docsrs"] # Fix cross-crate link to objc2::topics targets = [ "aarch64-apple-darwin", @@ -41,7 +40,21 @@ targets = [ ] [features] -default = ["std"] +default = [ + "std", + "CWChannel", + "CWConfiguration", + "CWInterface", + "CWNetwork", + "CWNetworkProfile", + "CWWiFiClient", + "CoreWLANConstants", + "CoreWLANTypes", + "CoreWLANUtil", + "bitflags", + "objc2-core-foundation", + "objc2-security", +] std = ["alloc"] alloc = [] bitflags = ["dep:bitflags"] @@ -81,17 +94,3 @@ CoreWLANUtil = [ "objc2-foundation/NSSet", "objc2-foundation/NSString", ] -all = [ - "CWChannel", - "CWConfiguration", - "CWInterface", - "CWNetwork", - "CWNetworkProfile", - "CWWiFiClient", - "CoreWLANConstants", - "CoreWLANTypes", - "CoreWLANUtil", - "bitflags", - "objc2-core-foundation", - "objc2-security", -] diff --git a/framework-crates/objc2-data-detection/Cargo.toml b/framework-crates/objc2-data-detection/Cargo.toml index 00d0576ad..74a6df31c 100644 --- a/framework-crates/objc2-data-detection/Cargo.toml +++ b/framework-crates/objc2-data-detection/Cargo.toml @@ -21,7 +21,6 @@ objc2-foundation = { path = "../objc2-foundation", version = "0.2.2", default-fe [package.metadata.docs.rs] default-target = "aarch64-apple-darwin" -features = ["all"] rustc-args = ["--cfg", "docsrs"] # Fix cross-crate link to objc2::topics targets = [ "aarch64-apple-darwin", @@ -34,7 +33,11 @@ targets = [ ] [features] -default = ["std"] +default = [ + "std", + "DDMatch", + "DataDetectionBase", +] std = ["alloc"] alloc = [] @@ -45,7 +48,3 @@ DDMatch = [ "objc2-foundation/NSURL", ] DataDetectionBase = [] -all = [ - "DDMatch", - "DataDetectionBase", -] diff --git a/framework-crates/objc2-device-check/Cargo.toml b/framework-crates/objc2-device-check/Cargo.toml index b85d5eae6..75dd51707 100644 --- a/framework-crates/objc2-device-check/Cargo.toml +++ b/framework-crates/objc2-device-check/Cargo.toml @@ -22,7 +22,6 @@ objc2-foundation = { path = "../objc2-foundation", version = "0.2.2", default-fe [package.metadata.docs.rs] default-target = "aarch64-apple-darwin" -features = ["all"] rustc-args = ["--cfg", "docsrs"] # Fix cross-crate link to objc2::topics targets = [ "aarch64-apple-darwin", @@ -35,7 +34,13 @@ targets = [ ] [features] -default = ["std"] +default = [ + "std", + "DCAppAttestService", + "DCDevice", + "DCError", + "block2", +] std = ["alloc"] alloc = [] block2 = ["dep:block2"] @@ -53,9 +58,3 @@ DCError = [ "objc2-foundation/NSError", "objc2-foundation/NSString", ] -all = [ - "DCAppAttestService", - "DCDevice", - "DCError", - "block2", -] diff --git a/framework-crates/objc2-disk-arbitration/Cargo.toml b/framework-crates/objc2-disk-arbitration/Cargo.toml index 4b7483138..24335f511 100644 --- a/framework-crates/objc2-disk-arbitration/Cargo.toml +++ b/framework-crates/objc2-disk-arbitration/Cargo.toml @@ -26,7 +26,6 @@ objc2-core-foundation = { path = "../objc2-core-foundation", version = "0.2.2", [package.metadata.docs.rs] default-target = "aarch64-apple-darwin" -features = ["all"] rustc-args = ["--cfg", "docsrs"] # Fix cross-crate link to objc2::topics targets = [ "aarch64-apple-darwin", @@ -35,7 +34,13 @@ targets = [ ] [features] -default = ["std"] +default = [ + "std", + "DADisk", + "DADissenter", + "DASession", + "libc", +] std = ["alloc"] alloc = [] libc = ["dep:libc"] @@ -50,9 +55,3 @@ DASession = [ "objc2-core-foundation/CFBase", "objc2-core-foundation/CFRunLoop", ] -all = [ - "DADisk", - "DADissenter", - "DASession", - "libc", -] diff --git a/framework-crates/objc2-event-kit-ui/Cargo.toml b/framework-crates/objc2-event-kit-ui/Cargo.toml index 8f1e6c629..be8ea6cc2 100644 --- a/framework-crates/objc2-event-kit-ui/Cargo.toml +++ b/framework-crates/objc2-event-kit-ui/Cargo.toml @@ -37,7 +37,6 @@ objc2-ui-kit = { path = "../objc2-ui-kit", version = "0.2.2", default-features = [package.metadata.docs.rs] default-target = "aarch64-apple-ios" -features = ["all"] rustc-args = ["--cfg", "docsrs"] # Fix cross-crate link to objc2::topics targets = [ "aarch64-apple-ios", @@ -47,7 +46,16 @@ targets = [ ] [features] -default = ["std"] +default = [ + "std", + "EKCalendarChooser", + "EKEventEditViewController", + "EKEventViewController", + "EventKitUIBundle", + "EventKitUIDefines", + "objc2-event-kit", + "objc2-ui-kit", +] std = ["alloc"] alloc = [] objc2-event-kit = ["dep:objc2-event-kit"] @@ -74,12 +82,3 @@ EKEventViewController = [ ] EventKitUIBundle = ["objc2-foundation/NSBundle"] EventKitUIDefines = [] -all = [ - "EKCalendarChooser", - "EKEventEditViewController", - "EKEventViewController", - "EventKitUIBundle", - "EventKitUIDefines", - "objc2-event-kit", - "objc2-ui-kit", -] diff --git a/framework-crates/objc2-event-kit/Cargo.toml b/framework-crates/objc2-event-kit/Cargo.toml index b58fbc09b..3319257eb 100644 --- a/framework-crates/objc2-event-kit/Cargo.toml +++ b/framework-crates/objc2-event-kit/Cargo.toml @@ -32,7 +32,6 @@ objc2-app-kit = { path = "../objc2-app-kit", version = "0.2.2", default-features [package.metadata.docs.rs] default-target = "aarch64-apple-darwin" -features = ["all"] rustc-args = ["--cfg", "docsrs"] # Fix cross-crate link to objc2::topics targets = [ "aarch64-apple-darwin", @@ -44,7 +43,33 @@ targets = [ ] [features] -default = ["std"] +default = [ + "std", + "EKAlarm", + "EKCalendar", + "EKCalendarItem", + "EKError", + "EKEvent", + "EKEventStore", + "EKObject", + "EKParticipant", + "EKRecurrenceDayOfWeek", + "EKRecurrenceEnd", + "EKRecurrenceRule", + "EKReminder", + "EKSource", + "EKStructuredLocation", + "EKTypes", + "EKVirtualConferenceDescriptor", + "EKVirtualConferenceProvider", + "EventKitDefines", + "bitflags", + "block2", + "objc2-app-kit", + "objc2-core-graphics", + "objc2-core-location", + "objc2-map-kit", +] std = ["alloc"] alloc = [] bitflags = ["dep:bitflags"] @@ -124,29 +149,3 @@ EKVirtualConferenceProvider = [ "objc2-foundation/NSString", ] EventKitDefines = [] -all = [ - "EKAlarm", - "EKCalendar", - "EKCalendarItem", - "EKError", - "EKEvent", - "EKEventStore", - "EKObject", - "EKParticipant", - "EKRecurrenceDayOfWeek", - "EKRecurrenceEnd", - "EKRecurrenceRule", - "EKReminder", - "EKSource", - "EKStructuredLocation", - "EKTypes", - "EKVirtualConferenceDescriptor", - "EKVirtualConferenceProvider", - "EventKitDefines", - "bitflags", - "block2", - "objc2-app-kit", - "objc2-core-graphics", - "objc2-core-location", - "objc2-map-kit", -] diff --git a/framework-crates/objc2-exception-handling/Cargo.toml b/framework-crates/objc2-exception-handling/Cargo.toml index 08d6d4e00..7999b227b 100644 --- a/framework-crates/objc2-exception-handling/Cargo.toml +++ b/framework-crates/objc2-exception-handling/Cargo.toml @@ -21,7 +21,6 @@ objc2-foundation = { path = "../objc2-foundation", version = "0.2.2", default-fe [package.metadata.docs.rs] default-target = "aarch64-apple-darwin" -features = ["all"] rustc-args = ["--cfg", "docsrs"] # Fix cross-crate link to objc2::topics targets = [ "aarch64-apple-darwin", @@ -30,7 +29,11 @@ targets = [ ] [features] -default = ["std"] +default = [ + "std", + "ExceptionHandlingDefines", + "NSExceptionHandler", +] std = ["alloc"] alloc = [] @@ -39,7 +42,3 @@ NSExceptionHandler = [ "objc2-foundation/NSException", "objc2-foundation/NSString", ] -all = [ - "ExceptionHandlingDefines", - "NSExceptionHandler", -] diff --git a/framework-crates/objc2-extension-kit/Cargo.toml b/framework-crates/objc2-extension-kit/Cargo.toml index 799eba87a..9876db887 100644 --- a/framework-crates/objc2-extension-kit/Cargo.toml +++ b/framework-crates/objc2-extension-kit/Cargo.toml @@ -32,7 +32,6 @@ objc2-app-kit = { path = "../objc2-app-kit", version = "0.2.2", default-features [package.metadata.docs.rs] default-target = "aarch64-apple-darwin" -features = ["all"] rustc-args = ["--cfg", "docsrs"] # Fix cross-crate link to objc2::topics targets = [ "aarch64-apple-darwin", @@ -45,7 +44,12 @@ targets = [ ] [features] -default = ["std"] +default = [ + "std", + "EXAppExtensionBrowserViewController", + "EXHostViewController", + "objc2-app-kit", +] std = ["alloc"] alloc = [] objc2-app-kit = ["dep:objc2-app-kit"] @@ -62,8 +66,3 @@ EXHostViewController = [ "objc2-foundation/NSObject", "objc2-foundation/NSXPCConnection", ] -all = [ - "EXAppExtensionBrowserViewController", - "EXHostViewController", - "objc2-app-kit", -] diff --git a/framework-crates/objc2-external-accessory/Cargo.toml b/framework-crates/objc2-external-accessory/Cargo.toml index e460916ec..d27d9d8de 100644 --- a/framework-crates/objc2-external-accessory/Cargo.toml +++ b/framework-crates/objc2-external-accessory/Cargo.toml @@ -23,7 +23,6 @@ objc2-foundation = { path = "../objc2-foundation", version = "0.2.2", default-fe [package.metadata.docs.rs] default-target = "aarch64-apple-darwin" -features = ["all"] rustc-args = ["--cfg", "docsrs"] # Fix cross-crate link to objc2::topics targets = [ "aarch64-apple-darwin", @@ -35,7 +34,17 @@ targets = [ ] [features] -default = ["std"] +default = [ + "std", + "EAAccessory", + "EAAccessoryManager", + "EASession", + "EAWiFiUnconfiguredAccessory", + "EAWiFiUnconfiguredAccessoryBrowser", + "ExternalAccessoryDefines", + "bitflags", + "block2", +] std = ["alloc"] alloc = [] bitflags = ["dep:bitflags"] @@ -64,13 +73,3 @@ EAWiFiUnconfiguredAccessoryBrowser = [ "objc2-foundation/NSSet", ] ExternalAccessoryDefines = [] -all = [ - "EAAccessory", - "EAAccessoryManager", - "EASession", - "EAWiFiUnconfiguredAccessory", - "EAWiFiUnconfiguredAccessoryBrowser", - "ExternalAccessoryDefines", - "bitflags", - "block2", -] diff --git a/framework-crates/objc2-file-provider-ui/Cargo.toml b/framework-crates/objc2-file-provider-ui/Cargo.toml index 96dd5e43b..93e80f51e 100644 --- a/framework-crates/objc2-file-provider-ui/Cargo.toml +++ b/framework-crates/objc2-file-provider-ui/Cargo.toml @@ -33,7 +33,6 @@ objc2-app-kit = { path = "../objc2-app-kit", version = "0.2.2", default-features [package.metadata.docs.rs] default-target = "aarch64-apple-darwin" -features = ["all"] rustc-args = ["--cfg", "docsrs"] # Fix cross-crate link to objc2::topics targets = [ "aarch64-apple-darwin", @@ -44,7 +43,14 @@ targets = [ ] [features] -default = ["std"] +default = [ + "std", + "FPUIActionExtensionContext", + "FPUIActionExtensionViewController", + "FPUIBase", + "block2", + "objc2-app-kit", +] std = ["alloc"] alloc = [] block2 = ["dep:block2"] @@ -68,10 +74,3 @@ FPUIActionExtensionViewController = [ "objc2-foundation/NSString", ] FPUIBase = [] -all = [ - "FPUIActionExtensionContext", - "FPUIActionExtensionViewController", - "FPUIBase", - "block2", - "objc2-app-kit", -] diff --git a/framework-crates/objc2-file-provider/Cargo.toml b/framework-crates/objc2-file-provider/Cargo.toml index bf5a58d3d..edb6987ec 100644 --- a/framework-crates/objc2-file-provider/Cargo.toml +++ b/framework-crates/objc2-file-provider/Cargo.toml @@ -28,7 +28,6 @@ objc2-uniform-type-identifiers = { path = "../objc2-uniform-type-identifiers", v [package.metadata.docs.rs] default-target = "aarch64-apple-darwin" -features = ["all"] rustc-args = ["--cfg", "docsrs"] # Fix cross-crate link to objc2::topics targets = [ "aarch64-apple-darwin", @@ -36,9 +35,30 @@ targets = [ "aarch64-apple-ios", "aarch64-apple-visionos", ] +features = ["objc2-uniform-type-identifiers"] [features] -default = ["std"] +default = [ + "std", + "Extension", + "NSFileProviderActions", + "NSFileProviderDefines", + "NSFileProviderDomain", + "NSFileProviderEnumerating", + "NSFileProviderError", + "NSFileProviderItem", + "NSFileProviderItemDecoration", + "NSFileProviderKnownFolders", + "NSFileProviderModifyItemOptions", + "NSFileProviderReplicatedExtension", + "NSFileProviderRequest", + "NSFileProviderService", + "NSFileProviderTesting", + "NSFileProviderThumbnailing", + "bitflags", + "block2", + "objc2-core-foundation", +] std = ["alloc"] alloc = [] bitflags = ["dep:bitflags"] @@ -140,24 +160,3 @@ NSFileProviderThumbnailing = [ "objc2-foundation/NSProgress", "objc2-foundation/NSString", ] -all = [ - "Extension", - "NSFileProviderActions", - "NSFileProviderDefines", - "NSFileProviderDomain", - "NSFileProviderEnumerating", - "NSFileProviderError", - "NSFileProviderItem", - "NSFileProviderItemDecoration", - "NSFileProviderKnownFolders", - "NSFileProviderModifyItemOptions", - "NSFileProviderReplicatedExtension", - "NSFileProviderRequest", - "NSFileProviderService", - "NSFileProviderTesting", - "NSFileProviderThumbnailing", - "bitflags", - "block2", - "objc2-core-foundation", - "objc2-uniform-type-identifiers", -] diff --git a/framework-crates/objc2-finder-sync/Cargo.toml b/framework-crates/objc2-finder-sync/Cargo.toml index bf8f694f7..d6533c009 100644 --- a/framework-crates/objc2-finder-sync/Cargo.toml +++ b/framework-crates/objc2-finder-sync/Cargo.toml @@ -40,7 +40,6 @@ objc2-foundation = { path = "../objc2-foundation", version = "0.2.2", default-fe [package.metadata.docs.rs] default-target = "aarch64-apple-darwin" -features = ["all"] rustc-args = ["--cfg", "docsrs"] # Fix cross-crate link to objc2::topics targets = [ "aarch64-apple-darwin", @@ -48,13 +47,12 @@ targets = [ ] [features] -default = ["std"] +default = [ + "std", + "block2", + "objc2-app-kit", +] std = ["alloc"] alloc = [] block2 = ["dep:block2"] objc2-app-kit = ["dep:objc2-app-kit"] - -all = [ - "block2", - "objc2-app-kit", -] diff --git a/framework-crates/objc2-foundation/Cargo.toml b/framework-crates/objc2-foundation/Cargo.toml index bd2ca77f3..0846e4322 100644 --- a/framework-crates/objc2-foundation/Cargo.toml +++ b/framework-crates/objc2-foundation/Cargo.toml @@ -28,7 +28,6 @@ objc2-core-foundation = { path = "../objc2-core-foundation", version = "0.2.2", [package.metadata.docs.rs] default-target = "aarch64-apple-darwin" -features = ["all"] rustc-args = ["--cfg", "docsrs"] # Fix cross-crate link to objc2::topics targets = [ "aarch64-apple-darwin", @@ -43,7 +42,183 @@ targets = [ ] [features] -default = ["std"] +default = [ + "std", + "FoundationErrors", + "FoundationLegacySwiftCompatibility", + "NSAffineTransform", + "NSAppleEventDescriptor", + "NSAppleEventManager", + "NSAppleScript", + "NSArchiver", + "NSArray", + "NSAttributedString", + "NSAutoreleasePool", + "NSBackgroundActivityScheduler", + "NSBundle", + "NSByteCountFormatter", + "NSByteOrder", + "NSCache", + "NSCalendar", + "NSCalendarDate", + "NSCharacterSet", + "NSClassDescription", + "NSCoder", + "NSComparisonPredicate", + "NSCompoundPredicate", + "NSConnection", + "NSData", + "NSDate", + "NSDateComponentsFormatter", + "NSDateFormatter", + "NSDateInterval", + "NSDateIntervalFormatter", + "NSDebug", + "NSDecimal", + "NSDecimalNumber", + "NSDictionary", + "NSDistantObject", + "NSDistributedLock", + "NSDistributedNotificationCenter", + "NSEnergyFormatter", + "NSEnumerator", + "NSError", + "NSException", + "NSExpression", + "NSExtensionContext", + "NSExtensionItem", + "NSExtensionRequestHandling", + "NSFileCoordinator", + "NSFileHandle", + "NSFileManager", + "NSFilePresenter", + "NSFileVersion", + "NSFileWrapper", + "NSFormatter", + "NSGarbageCollector", + "NSGeometry", + "NSHFSFileTypes", + "NSHTTPCookie", + "NSHTTPCookieStorage", + "NSHashTable", + "NSHost", + "NSISO8601DateFormatter", + "NSIndexPath", + "NSIndexSet", + "NSInflectionRule", + "NSInvocation", + "NSItemProvider", + "NSJSONSerialization", + "NSKeyValueCoding", + "NSKeyValueObserving", + "NSKeyValueSharedObservers", + "NSKeyedArchiver", + "NSLengthFormatter", + "NSLinguisticTagger", + "NSListFormatter", + "NSLocale", + "NSLocalizedNumberFormatRule", + "NSLock", + "NSMapTable", + "NSMassFormatter", + "NSMeasurement", + "NSMeasurementFormatter", + "NSMetadata", + "NSMetadataAttributes", + "NSMethodSignature", + "NSMorphology", + "NSNetServices", + "NSNotification", + "NSNotificationQueue", + "NSNull", + "NSNumberFormatter", + "NSObjCRuntime", + "NSObject", + "NSObjectScripting", + "NSOperation", + "NSOrderedCollectionChange", + "NSOrderedCollectionDifference", + "NSOrderedSet", + "NSOrthography", + "NSPathUtilities", + "NSPersonNameComponents", + "NSPersonNameComponentsFormatter", + "NSPointerArray", + "NSPointerFunctions", + "NSPort", + "NSPortCoder", + "NSPortMessage", + "NSPortNameServer", + "NSPredicate", + "NSProcessInfo", + "NSProgress", + "NSPropertyList", + "NSProtocolChecker", + "NSProxy", + "NSRange", + "NSRegularExpression", + "NSRelativeDateTimeFormatter", + "NSRunLoop", + "NSScanner", + "NSScriptClassDescription", + "NSScriptCoercionHandler", + "NSScriptCommand", + "NSScriptCommandDescription", + "NSScriptExecutionContext", + "NSScriptKeyValueCoding", + "NSScriptObjectSpecifiers", + "NSScriptStandardSuiteCommands", + "NSScriptSuiteRegistry", + "NSScriptWhoseTests", + "NSSet", + "NSSortDescriptor", + "NSSpellServer", + "NSStream", + "NSString", + "NSTask", + "NSTermOfAddress", + "NSTextCheckingResult", + "NSThread", + "NSTimeZone", + "NSTimer", + "NSURL", + "NSURLAuthenticationChallenge", + "NSURLCache", + "NSURLConnection", + "NSURLCredential", + "NSURLCredentialStorage", + "NSURLDownload", + "NSURLError", + "NSURLHandle", + "NSURLProtectionSpace", + "NSURLProtocol", + "NSURLRequest", + "NSURLResponse", + "NSURLSession", + "NSUUID", + "NSUbiquitousKeyValueStore", + "NSUndoManager", + "NSUnit", + "NSUserActivity", + "NSUserDefaults", + "NSUserNotification", + "NSUserScriptTask", + "NSValue", + "NSValueTransformer", + "NSXMLDTD", + "NSXMLDTDNode", + "NSXMLDocument", + "NSXMLElement", + "NSXMLNode", + "NSXMLNodeOptions", + "NSXMLParser", + "NSXPCConnection", + "NSZone", + "bitflags", + "block2", + "libc", + "objc2-core-foundation", +] std = ["alloc"] alloc = [] gnustep-1-7 = ["objc2/gnustep-1-7", "block2?/gnustep-1-7"] @@ -228,182 +403,6 @@ NSXMLNodeOptions = ["bitflags"] NSXMLParser = [] NSXPCConnection = ["bitflags"] NSZone = [] -all = [ - "FoundationErrors", - "FoundationLegacySwiftCompatibility", - "NSAffineTransform", - "NSAppleEventDescriptor", - "NSAppleEventManager", - "NSAppleScript", - "NSArchiver", - "NSArray", - "NSAttributedString", - "NSAutoreleasePool", - "NSBackgroundActivityScheduler", - "NSBundle", - "NSByteCountFormatter", - "NSByteOrder", - "NSCache", - "NSCalendar", - "NSCalendarDate", - "NSCharacterSet", - "NSClassDescription", - "NSCoder", - "NSComparisonPredicate", - "NSCompoundPredicate", - "NSConnection", - "NSData", - "NSDate", - "NSDateComponentsFormatter", - "NSDateFormatter", - "NSDateInterval", - "NSDateIntervalFormatter", - "NSDebug", - "NSDecimal", - "NSDecimalNumber", - "NSDictionary", - "NSDistantObject", - "NSDistributedLock", - "NSDistributedNotificationCenter", - "NSEnergyFormatter", - "NSEnumerator", - "NSError", - "NSException", - "NSExpression", - "NSExtensionContext", - "NSExtensionItem", - "NSExtensionRequestHandling", - "NSFileCoordinator", - "NSFileHandle", - "NSFileManager", - "NSFilePresenter", - "NSFileVersion", - "NSFileWrapper", - "NSFormatter", - "NSGarbageCollector", - "NSGeometry", - "NSHFSFileTypes", - "NSHTTPCookie", - "NSHTTPCookieStorage", - "NSHashTable", - "NSHost", - "NSISO8601DateFormatter", - "NSIndexPath", - "NSIndexSet", - "NSInflectionRule", - "NSInvocation", - "NSItemProvider", - "NSJSONSerialization", - "NSKeyValueCoding", - "NSKeyValueObserving", - "NSKeyValueSharedObservers", - "NSKeyedArchiver", - "NSLengthFormatter", - "NSLinguisticTagger", - "NSListFormatter", - "NSLocale", - "NSLocalizedNumberFormatRule", - "NSLock", - "NSMapTable", - "NSMassFormatter", - "NSMeasurement", - "NSMeasurementFormatter", - "NSMetadata", - "NSMetadataAttributes", - "NSMethodSignature", - "NSMorphology", - "NSNetServices", - "NSNotification", - "NSNotificationQueue", - "NSNull", - "NSNumberFormatter", - "NSObjCRuntime", - "NSObject", - "NSObjectScripting", - "NSOperation", - "NSOrderedCollectionChange", - "NSOrderedCollectionDifference", - "NSOrderedSet", - "NSOrthography", - "NSPathUtilities", - "NSPersonNameComponents", - "NSPersonNameComponentsFormatter", - "NSPointerArray", - "NSPointerFunctions", - "NSPort", - "NSPortCoder", - "NSPortMessage", - "NSPortNameServer", - "NSPredicate", - "NSProcessInfo", - "NSProgress", - "NSPropertyList", - "NSProtocolChecker", - "NSProxy", - "NSRange", - "NSRegularExpression", - "NSRelativeDateTimeFormatter", - "NSRunLoop", - "NSScanner", - "NSScriptClassDescription", - "NSScriptCoercionHandler", - "NSScriptCommand", - "NSScriptCommandDescription", - "NSScriptExecutionContext", - "NSScriptKeyValueCoding", - "NSScriptObjectSpecifiers", - "NSScriptStandardSuiteCommands", - "NSScriptSuiteRegistry", - "NSScriptWhoseTests", - "NSSet", - "NSSortDescriptor", - "NSSpellServer", - "NSStream", - "NSString", - "NSTask", - "NSTermOfAddress", - "NSTextCheckingResult", - "NSThread", - "NSTimeZone", - "NSTimer", - "NSURL", - "NSURLAuthenticationChallenge", - "NSURLCache", - "NSURLConnection", - "NSURLCredential", - "NSURLCredentialStorage", - "NSURLDownload", - "NSURLError", - "NSURLHandle", - "NSURLProtectionSpace", - "NSURLProtocol", - "NSURLRequest", - "NSURLResponse", - "NSURLSession", - "NSUUID", - "NSUbiquitousKeyValueStore", - "NSUndoManager", - "NSUnit", - "NSUserActivity", - "NSUserDefaults", - "NSUserNotification", - "NSUserScriptTask", - "NSValue", - "NSValueTransformer", - "NSXMLDTD", - "NSXMLDTDNode", - "NSXMLDocument", - "NSXMLElement", - "NSXMLNode", - "NSXMLNodeOptions", - "NSXMLParser", - "NSXPCConnection", - "NSZone", - "bitflags", - "block2", - "libc", - "objc2-core-foundation", -] [dev-dependencies] static_assertions = "1.1.0" diff --git a/framework-crates/objc2-foundation/src/tests/auto_traits.rs b/framework-crates/objc2-foundation/src/tests/auto_traits.rs index 254e65494..0452b3aa2 100644 --- a/framework-crates/objc2-foundation/src/tests/auto_traits.rs +++ b/framework-crates/objc2-foundation/src/tests/auto_traits.rs @@ -1,12 +1,11 @@ -#![cfg(feature = "all")] // TODO: More precise +#![allow(dead_code, unused_imports)] use core::panic::{RefUnwindSafe, UnwindSafe}; use static_assertions::assert_not_impl_any; -use crate::*; use objc2::define_class; use objc2::rc::Retained; -use objc2::runtime::AnyObject; +use objc2::runtime::{AnyObject, NSObject}; // We expect most Foundation types to be UnwindSafe and RefUnwindSafe, // since they follow Rust's usual mutability rules (&T = immutable). @@ -45,49 +44,83 @@ fn test_generic_auto_traits() { // assert_unwindsafe::>>(); // TODO: Unpin? - assert_not_impl_any!(NSArray: Unpin); - assert_not_impl_any!(NSMutableArray: Unpin); - assert_not_impl_any!(NSDictionary: Unpin); + #[cfg(feature = "NSArray")] + assert_not_impl_any!(crate::NSArray: Unpin); + #[cfg(feature = "NSArray")] + assert_not_impl_any!(crate::NSMutableArray: Unpin); + #[cfg(feature = "NSDictionary")] + assert_not_impl_any!(crate::NSDictionary: Unpin); // Collections are not Send + Sync, since they are interior mutable, i.e. // mutable from `&self`. - assert_not_impl_any!(NSArray: Send, Sync); - assert_not_impl_any!(NSMutableArray: Send, Sync); - assert_not_impl_any!(NSDictionary: Send, Sync); + #[cfg(feature = "NSArray")] + assert_not_impl_any!(crate::NSArray: Send, Sync); + #[cfg(feature = "NSArray")] + assert_not_impl_any!(crate::NSMutableArray: Send, Sync); + #[cfg(feature = "NSDictionary")] + assert_not_impl_any!(crate::NSDictionary: Send, Sync); // TODO: Make these UnwindSafe? - assert_not_impl_any!(NSDictionary: UnwindSafe, RefUnwindSafe); - assert_not_impl_any!(NSSet: UnwindSafe, RefUnwindSafe); - assert_not_impl_any!(Retained>: UnwindSafe, RefUnwindSafe); - assert_not_impl_any!(NSMutableArray: UnwindSafe, RefUnwindSafe); - assert_not_impl_any!(NSMutableDictionary: UnwindSafe, RefUnwindSafe); - assert_not_impl_any!(NSMutableSet: UnwindSafe, RefUnwindSafe); + #[cfg(feature = "NSProcessInfo")] + { + use crate::NSProcessInfo; + + #[cfg(feature = "NSDictionary")] + assert_not_impl_any!(crate::NSDictionary: UnwindSafe, RefUnwindSafe); + #[cfg(feature = "NSSet")] + assert_not_impl_any!(crate::NSSet: UnwindSafe, RefUnwindSafe); + #[cfg(feature = "NSSet")] + assert_not_impl_any!(Retained>: UnwindSafe, RefUnwindSafe); + #[cfg(feature = "NSArray")] + assert_not_impl_any!(crate::NSMutableArray: UnwindSafe, RefUnwindSafe); + #[cfg(feature = "NSDictionary")] + assert_not_impl_any!(crate::NSMutableDictionary: UnwindSafe, RefUnwindSafe); + #[cfg(feature = "NSSet")] + assert_not_impl_any!(crate::NSMutableSet: UnwindSafe, RefUnwindSafe); + } } #[test] fn send_sync_unwindsafe() { - assert_unwindsafe::(); - assert_auto_traits::(); - assert_unwindsafe::(); + #[cfg(feature = "NSAttributedString")] + assert_unwindsafe::(); + #[cfg(feature = "NSObjCRuntime")] + assert_auto_traits::(); + #[cfg(feature = "NSData")] + assert_unwindsafe::(); // TODO: Figure out if Send + Sync is safe? - // assert_auto_traits::>(); - // assert_auto_traits::>>(); - assert_auto_traits::(); - assert_auto_traits::(); - assert_auto_traits::(); - assert_auto_traits::(); - assert_auto_traits::(); - assert_unwindsafe::(); - assert_unwindsafe::(); - assert_unwindsafe::(); - assert_auto_traits::(); - // assert_auto_traits::(); // Intentional - assert_auto_traits::(); - assert_auto_traits::(); - assert_unwindsafe::(); - assert_unwindsafe::(); // Intentional - assert_auto_traits::(); - assert_auto_traits::(); - // assert_auto_traits::(); // Intentional - assert_unwindsafe::(); // Intentional + // assert_auto_traits::>(); + // assert_auto_traits::>>(); + #[cfg(feature = "NSError")] + assert_auto_traits::(); + #[cfg(feature = "NSException")] + assert_auto_traits::(); + #[cfg(all(feature = "NSGeometry", feature = "objc2-core-foundation"))] + assert_auto_traits::(); + #[cfg(all(feature = "NSGeometry", feature = "objc2-core-foundation"))] + assert_auto_traits::(); + #[cfg(all(feature = "NSGeometry", feature = "objc2-core-foundation"))] + assert_auto_traits::(); + #[cfg(feature = "NSAttributedString")] + assert_unwindsafe::(); + #[cfg(feature = "NSData")] + assert_unwindsafe::(); + #[cfg(feature = "NSString")] + assert_unwindsafe::(); + #[cfg(feature = "NSValue")] + assert_auto_traits::(); + // assert_auto_traits::(); // Intentional + #[cfg(feature = "NSProcessInfo")] + assert_auto_traits::(); + #[cfg(feature = "NSRange")] + assert_auto_traits::(); + #[cfg(feature = "NSString")] + assert_unwindsafe::(); + #[cfg(feature = "NSThread")] + assert_auto_traits::(); + #[cfg(feature = "NSUUID")] + assert_auto_traits::(); + // assert_auto_traits::(); // Intentional + #[cfg(feature = "NSZone")] + assert_unwindsafe::(); // Intentional } diff --git a/framework-crates/objc2-game-controller/Cargo.toml b/framework-crates/objc2-game-controller/Cargo.toml index dd8ae381f..2c160905f 100644 --- a/framework-crates/objc2-game-controller/Cargo.toml +++ b/framework-crates/objc2-game-controller/Cargo.toml @@ -37,7 +37,6 @@ objc2-app-kit = { path = "../objc2-app-kit", version = "0.2.2", default-features [package.metadata.docs.rs] default-target = "aarch64-apple-darwin" -features = ["all"] rustc-args = ["--cfg", "docsrs"] # Fix cross-crate link to objc2::topics targets = [ "aarch64-apple-darwin", @@ -49,7 +48,71 @@ targets = [ ] [features] -default = ["std"] +default = [ + "std", + "GCAxis2DInput", + "GCAxisElement", + "GCAxisInput", + "GCButtonElement", + "GCColor", + "GCController", + "GCControllerAxisInput", + "GCControllerButtonInput", + "GCControllerDirectionPad", + "GCControllerElement", + "GCControllerInput", + "GCControllerTouchpad", + "GCDevice", + "GCDeviceBattery", + "GCDeviceCursor", + "GCDeviceHaptics", + "GCDeviceLight", + "GCDevicePhysicalInput", + "GCDevicePhysicalInputState", + "GCDevicePhysicalInputStateDiff", + "GCDirectionPadElement", + "GCDirectionalGamepad", + "GCDualSenseAdaptiveTrigger", + "GCDualSenseGamepad", + "GCDualShockGamepad", + "GCEventViewController", + "GCExtendedGamepad", + "GCExtendedGamepadSnapshot", + "GCExtern", + "GCGamepad", + "GCGamepadSnapshot", + "GCGearShifterElement", + "GCInputNames", + "GCKeyCodes", + "GCKeyNames", + "GCKeyboard", + "GCKeyboardInput", + "GCLinearInput", + "GCMicroGamepad", + "GCMicroGamepadSnapshot", + "GCMotion", + "GCMouse", + "GCMouseInput", + "GCPhysicalInputElement", + "GCPhysicalInputProfile", + "GCPhysicalInputSource", + "GCPressedStateInput", + "GCProductCategories", + "GCRacingWheel", + "GCRacingWheelInput", + "GCRelativeInput", + "GCSteeringWheelElement", + "GCSwitchElement", + "GCSwitchPositionInput", + "GCSyntheticDeviceKeys", + "GCTouchedStateInput", + "GCTypes", + "GCXboxGamepad", + "bitflags", + "block2", + "objc2-app-kit", + "objc2-core-foundation", +] std = ["alloc"] alloc = [] bitflags = ["dep:bitflags"] @@ -176,67 +239,3 @@ GCTypes = [ "objc2-foundation/NSValue", ] GCXboxGamepad = [] -all = [ - "GCAxis2DInput", - "GCAxisElement", - "GCAxisInput", - "GCButtonElement", - "GCColor", - "GCController", - "GCControllerAxisInput", - "GCControllerButtonInput", - "GCControllerDirectionPad", - "GCControllerElement", - "GCControllerInput", - "GCControllerTouchpad", - "GCDevice", - "GCDeviceBattery", - "GCDeviceCursor", - "GCDeviceHaptics", - "GCDeviceLight", - "GCDevicePhysicalInput", - "GCDevicePhysicalInputState", - "GCDevicePhysicalInputStateDiff", - "GCDirectionPadElement", - "GCDirectionalGamepad", - "GCDualSenseAdaptiveTrigger", - "GCDualSenseGamepad", - "GCDualShockGamepad", - "GCEventViewController", - "GCExtendedGamepad", - "GCExtendedGamepadSnapshot", - "GCExtern", - "GCGamepad", - "GCGamepadSnapshot", - "GCGearShifterElement", - "GCInputNames", - "GCKeyCodes", - "GCKeyNames", - "GCKeyboard", - "GCKeyboardInput", - "GCLinearInput", - "GCMicroGamepad", - "GCMicroGamepadSnapshot", - "GCMotion", - "GCMouse", - "GCMouseInput", - "GCPhysicalInputElement", - "GCPhysicalInputProfile", - "GCPhysicalInputSource", - "GCPressedStateInput", - "GCProductCategories", - "GCRacingWheel", - "GCRacingWheelInput", - "GCRelativeInput", - "GCSteeringWheelElement", - "GCSwitchElement", - "GCSwitchPositionInput", - "GCSyntheticDeviceKeys", - "GCTouchedStateInput", - "GCTypes", - "GCXboxGamepad", - "bitflags", - "block2", - "objc2-app-kit", - "objc2-core-foundation", -] diff --git a/framework-crates/objc2-game-kit/Cargo.toml b/framework-crates/objc2-game-kit/Cargo.toml index 27f39e4b7..349bd4735 100644 --- a/framework-crates/objc2-game-kit/Cargo.toml +++ b/framework-crates/objc2-game-kit/Cargo.toml @@ -34,7 +34,6 @@ objc2-app-kit = { path = "../objc2-app-kit", version = "0.2.2", default-features [package.metadata.docs.rs] default-target = "aarch64-apple-darwin" -features = ["all"] rustc-args = ["--cfg", "docsrs"] # Fix cross-crate link to objc2::topics targets = [ "aarch64-apple-darwin", @@ -47,7 +46,53 @@ targets = [ ] [features] -default = ["std"] +default = [ + "std", + "GKAccessPoint", + "GKAchievement", + "GKAchievementDescription", + "GKAchievementViewController", + "GKBasePlayer", + "GKChallenge", + "GKChallengeEventHandler", + "GKChallengesViewController", + "GKCloudPlayer", + "GKDefines", + "GKDialogController", + "GKError", + "GKEventListener", + "GKFriendRequestComposeViewController", + "GKGameCenterViewController", + "GKGameSession", + "GKGameSessionError", + "GKGameSessionEventListener", + "GKGameSessionSharingViewController", + "GKLeaderboard", + "GKLeaderboardEntry", + "GKLeaderboardScore", + "GKLeaderboardSet", + "GKLeaderboardViewController", + "GKLocalPlayer", + "GKMatch", + "GKMatchmaker", + "GKMatchmakerViewController", + "GKNotificationBanner", + "GKPeerPickerController", + "GKPlayer", + "GKPublicConstants", + "GKPublicProtocols", + "GKSavedGame", + "GKSavedGameListener", + "GKScore", + "GKSession", + "GKSessionError", + "GKTurnBasedMatch", + "GKTurnBasedMatchmakerViewController", + "GKVoiceChat", + "GKVoiceChatService", + "block2", + "objc2-app-kit", +] std = ["alloc"] alloc = [] block2 = ["dep:block2"] @@ -246,49 +291,3 @@ GKVoiceChatService = [ "objc2-foundation/NSData", "objc2-foundation/NSString", ] -all = [ - "GKAccessPoint", - "GKAchievement", - "GKAchievementDescription", - "GKAchievementViewController", - "GKBasePlayer", - "GKChallenge", - "GKChallengeEventHandler", - "GKChallengesViewController", - "GKCloudPlayer", - "GKDefines", - "GKDialogController", - "GKError", - "GKEventListener", - "GKFriendRequestComposeViewController", - "GKGameCenterViewController", - "GKGameSession", - "GKGameSessionError", - "GKGameSessionEventListener", - "GKGameSessionSharingViewController", - "GKLeaderboard", - "GKLeaderboardEntry", - "GKLeaderboardScore", - "GKLeaderboardSet", - "GKLeaderboardViewController", - "GKLocalPlayer", - "GKMatch", - "GKMatchmaker", - "GKMatchmakerViewController", - "GKNotificationBanner", - "GKPeerPickerController", - "GKPlayer", - "GKPublicConstants", - "GKPublicProtocols", - "GKSavedGame", - "GKSavedGameListener", - "GKScore", - "GKSession", - "GKSessionError", - "GKTurnBasedMatch", - "GKTurnBasedMatchmakerViewController", - "GKVoiceChat", - "GKVoiceChatService", - "block2", - "objc2-app-kit", -] diff --git a/framework-crates/objc2-health-kit/Cargo.toml b/framework-crates/objc2-health-kit/Cargo.toml index 8235fdfb0..27f4c3b5d 100644 --- a/framework-crates/objc2-health-kit/Cargo.toml +++ b/framework-crates/objc2-health-kit/Cargo.toml @@ -25,7 +25,6 @@ objc2-uniform-type-identifiers = { path = "../objc2-uniform-type-identifiers", v [package.metadata.docs.rs] default-target = "aarch64-apple-darwin" -features = ["all"] rustc-args = ["--cfg", "docsrs"] # Fix cross-crate link to objc2::topics targets = [ "aarch64-apple-darwin", @@ -35,9 +34,101 @@ targets = [ "aarch64-apple-ios-macabi", "aarch64-apple-visionos", ] +features = ["objc2-uniform-type-identifiers"] [features] -default = ["std"] +default = [ + "std", + "HKActivitySummary", + "HKActivitySummaryQuery", + "HKAnchoredObjectQuery", + "HKAppleSleepingBreathingDisturbancesClassification", + "HKAppleWalkingSteadinessClassification", + "HKAttachment", + "HKAttachmentStore", + "HKAudiogramSample", + "HKAudiogramSensitivityPoint", + "HKAudiogramSensitivityPointClampingRange", + "HKAudiogramSensitivityTest", + "HKCDADocumentSample", + "HKCategorySample", + "HKCategoryValues", + "HKCharacteristicObjects", + "HKCharacteristicValues", + "HKClinicalRecord", + "HKClinicalType", + "HKContactsLensSpecification", + "HKContactsPrescription", + "HKCorrelation", + "HKCorrelationQuery", + "HKCumulativeQuantitySample", + "HKCumulativeQuantitySeriesSample", + "HKDefines", + "HKDeletedObject", + "HKDevice", + "HKDiscreteQuantitySample", + "HKDocumentQuery", + "HKDocumentSample", + "HKElectrocardiogram", + "HKElectrocardiogramQuery", + "HKFHIRRelease", + "HKFHIRResource", + "HKFHIRVersion", + "HKGAD7Assessment", + "HKGlassesLensSpecification", + "HKGlassesPrescription", + "HKHealthStore", + "HKHeartbeatSeriesBuilder", + "HKHeartbeatSeriesQuery", + "HKHeartbeatSeriesSample", + "HKLensSpecification", + "HKLiveWorkoutBuilder", + "HKLiveWorkoutDataSource", + "HKMetadata", + "HKObject", + "HKObjectType", + "HKObserverQuery", + "HKPHQ9Assessment", + "HKQuantity", + "HKQuantityAggregationStyle", + "HKQuantitySample", + "HKQuantitySeriesSampleBuilder", + "HKQuantitySeriesSampleQuery", + "HKQuery", + "HKQueryAnchor", + "HKQueryDescriptor", + "HKSample", + "HKSampleQuery", + "HKScoredAssessment", + "HKSeriesBuilder", + "HKSeriesSample", + "HKSource", + "HKSourceQuery", + "HKSourceRevision", + "HKStateOfMind", + "HKStatistics", + "HKStatisticsCollectionQuery", + "HKStatisticsQuery", + "HKTypeIdentifiers", + "HKUnit", + "HKVerifiableClinicalRecord", + "HKVerifiableClinicalRecordQuery", + "HKVerifiableClinicalRecordSubject", + "HKVisionPrescription", + "HKVisionPrism", + "HKWorkout", + "HKWorkoutActivity", + "HKWorkoutBuilder", + "HKWorkoutConfiguration", + "HKWorkoutEffortRelationshipQuery", + "HKWorkoutRoute", + "HKWorkoutRouteBuilder", + "HKWorkoutRouteQuery", + "HKWorkoutSession", + "bitflags", + "block2", + "objc2-core-location", +] std = ["alloc"] alloc = [] bitflags = ["dep:bitflags"] @@ -460,95 +551,3 @@ HKWorkoutSession = [ "objc2-foundation/NSObject", "objc2-foundation/NSString", ] -all = [ - "HKActivitySummary", - "HKActivitySummaryQuery", - "HKAnchoredObjectQuery", - "HKAppleSleepingBreathingDisturbancesClassification", - "HKAppleWalkingSteadinessClassification", - "HKAttachment", - "HKAttachmentStore", - "HKAudiogramSample", - "HKAudiogramSensitivityPoint", - "HKAudiogramSensitivityPointClampingRange", - "HKAudiogramSensitivityTest", - "HKCDADocumentSample", - "HKCategorySample", - "HKCategoryValues", - "HKCharacteristicObjects", - "HKCharacteristicValues", - "HKClinicalRecord", - "HKClinicalType", - "HKContactsLensSpecification", - "HKContactsPrescription", - "HKCorrelation", - "HKCorrelationQuery", - "HKCumulativeQuantitySample", - "HKCumulativeQuantitySeriesSample", - "HKDefines", - "HKDeletedObject", - "HKDevice", - "HKDiscreteQuantitySample", - "HKDocumentQuery", - "HKDocumentSample", - "HKElectrocardiogram", - "HKElectrocardiogramQuery", - "HKFHIRRelease", - "HKFHIRResource", - "HKFHIRVersion", - "HKGAD7Assessment", - "HKGlassesLensSpecification", - "HKGlassesPrescription", - "HKHealthStore", - "HKHeartbeatSeriesBuilder", - "HKHeartbeatSeriesQuery", - "HKHeartbeatSeriesSample", - "HKLensSpecification", - "HKLiveWorkoutBuilder", - "HKLiveWorkoutDataSource", - "HKMetadata", - "HKObject", - "HKObjectType", - "HKObserverQuery", - "HKPHQ9Assessment", - "HKQuantity", - "HKQuantityAggregationStyle", - "HKQuantitySample", - "HKQuantitySeriesSampleBuilder", - "HKQuantitySeriesSampleQuery", - "HKQuery", - "HKQueryAnchor", - "HKQueryDescriptor", - "HKSample", - "HKSampleQuery", - "HKScoredAssessment", - "HKSeriesBuilder", - "HKSeriesSample", - "HKSource", - "HKSourceQuery", - "HKSourceRevision", - "HKStateOfMind", - "HKStatistics", - "HKStatisticsCollectionQuery", - "HKStatisticsQuery", - "HKTypeIdentifiers", - "HKUnit", - "HKVerifiableClinicalRecord", - "HKVerifiableClinicalRecordQuery", - "HKVerifiableClinicalRecordSubject", - "HKVisionPrescription", - "HKVisionPrism", - "HKWorkout", - "HKWorkoutActivity", - "HKWorkoutBuilder", - "HKWorkoutConfiguration", - "HKWorkoutEffortRelationshipQuery", - "HKWorkoutRoute", - "HKWorkoutRouteBuilder", - "HKWorkoutRouteQuery", - "HKWorkoutSession", - "bitflags", - "block2", - "objc2-core-location", - "objc2-uniform-type-identifiers", -] diff --git a/framework-crates/objc2-home-kit/Cargo.toml b/framework-crates/objc2-home-kit/Cargo.toml index fc4c791b4..a524d5802 100644 --- a/framework-crates/objc2-home-kit/Cargo.toml +++ b/framework-crates/objc2-home-kit/Cargo.toml @@ -39,7 +39,6 @@ objc2-quartz-core = { path = "../objc2-quartz-core", version = "0.2.2", default- [package.metadata.docs.rs] default-target = "aarch64-apple-ios" -features = ["all"] rustc-args = ["--cfg", "docsrs"] # Fix cross-crate link to objc2::topics targets = [ "aarch64-apple-ios", @@ -51,7 +50,73 @@ targets = [ ] [features] -default = ["std"] +default = [ + "std", + "HMAccessControl", + "HMAccessory", + "HMAccessoryBrowser", + "HMAccessoryCategory", + "HMAccessoryCategoryTypes", + "HMAccessoryProfile", + "HMAccessorySetupManager", + "HMAccessorySetupPayload", + "HMAccessorySetupRequest", + "HMAccessorySetupResult", + "HMAccessory_Camera", + "HMAction", + "HMActionSet", + "HMAddAccessoryRequest", + "HMCalendarEvent", + "HMCameraAudioControl", + "HMCameraControl", + "HMCameraDefines", + "HMCameraProfile", + "HMCameraSettingsControl", + "HMCameraSnapshot", + "HMCameraSnapshotControl", + "HMCameraSource", + "HMCameraStream", + "HMCameraStreamControl", + "HMCameraView", + "HMCharacteristic", + "HMCharacteristicDefines", + "HMCharacteristicEvent", + "HMCharacteristicMetadata", + "HMCharacteristicThresholdRangeEvent", + "HMCharacteristicTypes", + "HMCharacteristicWriteAction", + "HMDefines", + "HMDurationEvent", + "HMError", + "HMEvent", + "HMEventTrigger", + "HMEventTriggerActivationState", + "HMHome", + "HMHomeAccessControl", + "HMHomeManager", + "HMLocationEvent", + "HMNetworkConfigurationProfile", + "HMNumberRange", + "HMPresenceEvent", + "HMPresenceEventDefines", + "HMRoom", + "HMService", + "HMServiceGroup", + "HMServiceTypes", + "HMSignificantEvents", + "HMSignificantTimeEvent", + "HMTimeEvent", + "HMTimerTrigger", + "HMTrigger", + "HMUser", + "HMZone", + "bitflags", + "block2", + "objc2-core-foundation", + "objc2-core-location", + "objc2-quartz-core", + "objc2-ui-kit", +] std = ["alloc"] alloc = [] bitflags = ["dep:bitflags"] @@ -231,69 +296,3 @@ HMZone = [ "objc2-foundation/NSString", "objc2-foundation/NSUUID", ] -all = [ - "HMAccessControl", - "HMAccessory", - "HMAccessoryBrowser", - "HMAccessoryCategory", - "HMAccessoryCategoryTypes", - "HMAccessoryProfile", - "HMAccessorySetupManager", - "HMAccessorySetupPayload", - "HMAccessorySetupRequest", - "HMAccessorySetupResult", - "HMAccessory_Camera", - "HMAction", - "HMActionSet", - "HMAddAccessoryRequest", - "HMCalendarEvent", - "HMCameraAudioControl", - "HMCameraControl", - "HMCameraDefines", - "HMCameraProfile", - "HMCameraSettingsControl", - "HMCameraSnapshot", - "HMCameraSnapshotControl", - "HMCameraSource", - "HMCameraStream", - "HMCameraStreamControl", - "HMCameraView", - "HMCharacteristic", - "HMCharacteristicDefines", - "HMCharacteristicEvent", - "HMCharacteristicMetadata", - "HMCharacteristicThresholdRangeEvent", - "HMCharacteristicTypes", - "HMCharacteristicWriteAction", - "HMDefines", - "HMDurationEvent", - "HMError", - "HMEvent", - "HMEventTrigger", - "HMEventTriggerActivationState", - "HMHome", - "HMHomeAccessControl", - "HMHomeManager", - "HMLocationEvent", - "HMNetworkConfigurationProfile", - "HMNumberRange", - "HMPresenceEvent", - "HMPresenceEventDefines", - "HMRoom", - "HMService", - "HMServiceGroup", - "HMServiceTypes", - "HMSignificantEvents", - "HMSignificantTimeEvent", - "HMTimeEvent", - "HMTimerTrigger", - "HMTrigger", - "HMUser", - "HMZone", - "bitflags", - "block2", - "objc2-core-foundation", - "objc2-core-location", - "objc2-quartz-core", - "objc2-ui-kit", -] diff --git a/framework-crates/objc2-identity-lookup/Cargo.toml b/framework-crates/objc2-identity-lookup/Cargo.toml index b132dfa72..3c0547dac 100644 --- a/framework-crates/objc2-identity-lookup/Cargo.toml +++ b/framework-crates/objc2-identity-lookup/Cargo.toml @@ -22,7 +22,6 @@ objc2-foundation = { path = "../objc2-foundation", version = "0.2.2", default-fe [package.metadata.docs.rs] default-target = "aarch64-apple-darwin" -features = ["all"] rustc-args = ["--cfg", "docsrs"] # Fix cross-crate link to objc2::topics targets = [ "aarch64-apple-darwin", @@ -33,7 +32,30 @@ targets = [ ] [features] -default = ["std"] +default = [ + "std", + "ILBase", + "ILCallClassificationRequest", + "ILCallCommunication", + "ILClassificationActions", + "ILClassificationRequest", + "ILClassificationResponse", + "ILCommunication", + "ILMessageClassificationRequest", + "ILMessageCommunication", + "ILMessageFilterAction", + "ILMessageFilterCapabilitiesQueryHandling", + "ILMessageFilterCapabilitiesQueryRequest", + "ILMessageFilterCapabilitiesQueryResponse", + "ILMessageFilterError", + "ILMessageFilterExtension", + "ILMessageFilterExtensionContext", + "ILMessageFilterQueryHandling", + "ILMessageFilterQueryRequest", + "ILMessageFilterQueryResponse", + "ILNetworkResponse", + "block2", +] std = ["alloc"] alloc = [] block2 = ["dep:block2"] @@ -92,26 +114,3 @@ ILNetworkResponse = [ "objc2-foundation/NSObject", "objc2-foundation/NSURLResponse", ] -all = [ - "ILBase", - "ILCallClassificationRequest", - "ILCallCommunication", - "ILClassificationActions", - "ILClassificationRequest", - "ILClassificationResponse", - "ILCommunication", - "ILMessageClassificationRequest", - "ILMessageCommunication", - "ILMessageFilterAction", - "ILMessageFilterCapabilitiesQueryHandling", - "ILMessageFilterCapabilitiesQueryRequest", - "ILMessageFilterCapabilitiesQueryResponse", - "ILMessageFilterError", - "ILMessageFilterExtension", - "ILMessageFilterExtensionContext", - "ILMessageFilterQueryHandling", - "ILMessageFilterQueryRequest", - "ILMessageFilterQueryResponse", - "ILNetworkResponse", - "block2", -] diff --git a/framework-crates/objc2-input-method-kit/Cargo.toml b/framework-crates/objc2-input-method-kit/Cargo.toml index 2d34f521e..95c083ace 100644 --- a/framework-crates/objc2-input-method-kit/Cargo.toml +++ b/framework-crates/objc2-input-method-kit/Cargo.toml @@ -26,7 +26,6 @@ objc2-foundation = { path = "../objc2-foundation", version = "0.2.2", default-fe [package.metadata.docs.rs] default-target = "aarch64-apple-darwin" -features = ["all"] rustc-args = ["--cfg", "docsrs"] # Fix cross-crate link to objc2::topics targets = [ "aarch64-apple-darwin", @@ -34,7 +33,13 @@ targets = [ ] [features] -default = ["std"] +default = [ + "std", + "IMKCandidates", + "IMKInputController", + "IMKServer", + "objc2-app-kit", +] std = ["alloc"] alloc = [] objc2-app-kit = ["dep:objc2-app-kit"] @@ -61,9 +66,3 @@ IMKServer = [ "objc2-foundation/NSBundle", "objc2-foundation/NSString", ] -all = [ - "IMKCandidates", - "IMKInputController", - "IMKServer", - "objc2-app-kit", -] diff --git a/framework-crates/objc2-io-surface/Cargo.toml b/framework-crates/objc2-io-surface/Cargo.toml index bd59320c7..466ec5861 100644 --- a/framework-crates/objc2-io-surface/Cargo.toml +++ b/framework-crates/objc2-io-surface/Cargo.toml @@ -32,7 +32,6 @@ objc2-foundation = { path = "../objc2-foundation", version = "0.2.2", default-fe [package.metadata.docs.rs] default-target = "aarch64-apple-darwin" -features = ["all"] rustc-args = ["--cfg", "docsrs"] # Fix cross-crate link to objc2::topics targets = [ "aarch64-apple-darwin", @@ -44,7 +43,20 @@ targets = [ ] [features] -default = ["std"] +default = [ + "std", + "IOSurface", + "IOSurfaceAPI", + "IOSurfaceBase", + "IOSurfaceRef", + "IOSurfaceTypes", + "ObjC", + "bitflags", + "libc", + "objc2", + "objc2-core-foundation", + "objc2-foundation", +] std = ["alloc"] alloc = [] bitflags = ["dep:bitflags"] @@ -59,16 +71,3 @@ IOSurfaceBase = [] IOSurfaceRef = ["bitflags"] IOSurfaceTypes = ["bitflags"] ObjC = [] -all = [ - "IOSurface", - "IOSurfaceAPI", - "IOSurfaceBase", - "IOSurfaceRef", - "IOSurfaceTypes", - "ObjC", - "bitflags", - "libc", - "objc2", - "objc2-core-foundation", - "objc2-foundation", -] diff --git a/framework-crates/objc2-io-surface/translation-config.toml b/framework-crates/objc2-io-surface/translation-config.toml index 4ca094bb7..388442446 100644 --- a/framework-crates/objc2-io-surface/translation-config.toml +++ b/framework-crates/objc2-io-surface/translation-config.toml @@ -4,6 +4,10 @@ required-crates = [] custom-lib-rs = true macos = "10.6" maccatalyst = "13.0" +# NOTE: IOSurface.tbd in the iOS SDK does contain some $ld$previous$ +# directives, but they only work when using Swift's auto-linking, not when +# telling the linker to link the framework directly via the commandline (as +# Rust does). ios = "11.0" tvos = "11.0" visionos = "1.0" diff --git a/framework-crates/objc2-link-presentation/Cargo.toml b/framework-crates/objc2-link-presentation/Cargo.toml index 835c43a46..3fba7b04c 100644 --- a/framework-crates/objc2-link-presentation/Cargo.toml +++ b/framework-crates/objc2-link-presentation/Cargo.toml @@ -33,7 +33,6 @@ objc2-app-kit = { path = "../objc2-app-kit", version = "0.2.2", default-features [package.metadata.docs.rs] default-target = "aarch64-apple-darwin" -features = ["all"] rustc-args = ["--cfg", "docsrs"] # Fix cross-crate link to objc2::topics targets = [ "aarch64-apple-darwin", @@ -45,7 +44,16 @@ targets = [ ] [features] -default = ["std"] +default = [ + "std", + "LPError", + "LPFoundation", + "LPLinkMetadata", + "LPLinkView", + "LPMetadataProvider", + "block2", + "objc2-app-kit", +] std = ["alloc"] alloc = [] block2 = ["dep:block2"] @@ -75,12 +83,3 @@ LPMetadataProvider = [ "objc2-foundation/NSURL", "objc2-foundation/NSURLRequest", ] -all = [ - "LPError", - "LPFoundation", - "LPLinkMetadata", - "LPLinkView", - "LPMetadataProvider", - "block2", - "objc2-app-kit", -] diff --git a/framework-crates/objc2-local-authentication-embedded-ui/Cargo.toml b/framework-crates/objc2-local-authentication-embedded-ui/Cargo.toml index 887efa314..4932161a2 100644 --- a/framework-crates/objc2-local-authentication-embedded-ui/Cargo.toml +++ b/framework-crates/objc2-local-authentication-embedded-ui/Cargo.toml @@ -36,7 +36,6 @@ objc2-app-kit = { path = "../objc2-app-kit", version = "0.2.2", default-features [package.metadata.docs.rs] default-target = "aarch64-apple-darwin" -features = ["all"] rustc-args = ["--cfg", "docsrs"] # Fix cross-crate link to objc2::topics targets = [ "aarch64-apple-darwin", @@ -47,7 +46,14 @@ targets = [ ] [features] -default = ["std"] +default = [ + "std", + "LAAuthenticationView", + "LAPresentationContext", + "LARight_UI", + "block2", + "objc2-app-kit", +] std = ["alloc"] alloc = [] block2 = ["dep:block2"] @@ -66,10 +72,3 @@ LARight_UI = [ "objc2-foundation/NSString", "objc2-local-authentication/LARight", ] -all = [ - "LAAuthenticationView", - "LAPresentationContext", - "LARight_UI", - "block2", - "objc2-app-kit", -] diff --git a/framework-crates/objc2-local-authentication/Cargo.toml b/framework-crates/objc2-local-authentication/Cargo.toml index 10b989afd..d2227eede 100644 --- a/framework-crates/objc2-local-authentication/Cargo.toml +++ b/framework-crates/objc2-local-authentication/Cargo.toml @@ -27,7 +27,6 @@ objc2-security = { path = "../objc2-security", version = "0.2.2", default-featur [package.metadata.docs.rs] default-target = "aarch64-apple-darwin" -features = ["all"] rustc-args = ["--cfg", "docsrs"] # Fix cross-crate link to objc2::topics targets = [ "aarch64-apple-darwin", @@ -39,7 +38,31 @@ targets = [ ] [features] -default = ["std"] +default = [ + "std", + "LABase", + "LABiometryType", + "LACompanionType", + "LAContext", + "LADomainState", + "LAEnvironment", + "LAEnvironmentMechanism", + "LAEnvironmentMechanismBiometry", + "LAEnvironmentMechanismCompanion", + "LAEnvironmentMechanismUserPassword", + "LAEnvironmentState", + "LAError", + "LAPersistedRight", + "LAPrivateKey", + "LAPublicDefines", + "LAPublicKey", + "LARequirement", + "LARight", + "LARightStore", + "LASecret", + "block2", + "objc2-security", +] std = ["alloc"] alloc = [] block2 = ["dep:block2"] @@ -95,27 +118,3 @@ LASecret = [ "objc2-foundation/NSData", "objc2-foundation/NSError", ] -all = [ - "LABase", - "LABiometryType", - "LACompanionType", - "LAContext", - "LADomainState", - "LAEnvironment", - "LAEnvironmentMechanism", - "LAEnvironmentMechanismBiometry", - "LAEnvironmentMechanismCompanion", - "LAEnvironmentMechanismUserPassword", - "LAEnvironmentState", - "LAError", - "LAPersistedRight", - "LAPrivateKey", - "LAPublicDefines", - "LAPublicKey", - "LARequirement", - "LARight", - "LARightStore", - "LASecret", - "block2", - "objc2-security", -] diff --git a/framework-crates/objc2-mail-kit/Cargo.toml b/framework-crates/objc2-mail-kit/Cargo.toml index ab8fb167c..224059ca0 100644 --- a/framework-crates/objc2-mail-kit/Cargo.toml +++ b/framework-crates/objc2-mail-kit/Cargo.toml @@ -30,7 +30,6 @@ objc2-foundation = { path = "../objc2-foundation", version = "0.2.2", default-fe [package.metadata.docs.rs] default-target = "aarch64-apple-darwin" -features = ["all"] rustc-args = ["--cfg", "docsrs"] # Fix cross-crate link to objc2::topics targets = [ "aarch64-apple-darwin", @@ -38,7 +37,33 @@ targets = [ ] [features] -default = ["std"] +default = [ + "std", + "MEAddressAnnotation", + "MEComposeContext", + "MEComposeSession", + "MEContentBlocker", + "MEDecodedMessage", + "MEDecodedMessageBanner", + "MEEmailAddress", + "MEEncodedOutgoingMessage", + "MEExtension", + "MEExtensionManager", + "MEExtensionViewController", + "MEMessage", + "MEMessageAction", + "MEMessageActionDecision", + "MEMessageActionHandler", + "MEMessageDecoder", + "MEMessageEncoder", + "MEMessageEncodingResult", + "MEMessageSecurityHandler", + "MEMessageSecurityInformation", + "MEMessageSigner", + "MEOutgoingMessageEncodingStatus", + "block2", + "objc2-app-kit", +] std = ["alloc"] alloc = [] block2 = ["dep:block2"] @@ -130,29 +155,3 @@ MEOutgoingMessageEncodingStatus = [ "objc2-foundation/NSError", "objc2-foundation/NSObject", ] -all = [ - "MEAddressAnnotation", - "MEComposeContext", - "MEComposeSession", - "MEContentBlocker", - "MEDecodedMessage", - "MEDecodedMessageBanner", - "MEEmailAddress", - "MEEncodedOutgoingMessage", - "MEExtension", - "MEExtensionManager", - "MEExtensionViewController", - "MEMessage", - "MEMessageAction", - "MEMessageActionDecision", - "MEMessageActionHandler", - "MEMessageDecoder", - "MEMessageEncoder", - "MEMessageEncodingResult", - "MEMessageSecurityHandler", - "MEMessageSecurityInformation", - "MEMessageSigner", - "MEOutgoingMessageEncodingStatus", - "block2", - "objc2-app-kit", -] diff --git a/framework-crates/objc2-map-kit/Cargo.toml b/framework-crates/objc2-map-kit/Cargo.toml index 0783aca24..b70a179ac 100644 --- a/framework-crates/objc2-map-kit/Cargo.toml +++ b/framework-crates/objc2-map-kit/Cargo.toml @@ -57,7 +57,6 @@ objc2-contacts = { path = "../objc2-contacts", version = "0.2.2", default-featur [package.metadata.docs.rs] default-target = "aarch64-apple-darwin" -features = ["all"] rustc-args = ["--cfg", "docsrs"] # Fix cross-crate link to objc2::topics targets = [ "aarch64-apple-darwin", @@ -70,7 +69,88 @@ targets = [ ] [features] -default = ["std"] +default = [ + "std", + "MKAddressFilter", + "MKAnnotation", + "MKAnnotationView", + "MKCircle", + "MKCircleRenderer", + "MKClusterAnnotation", + "MKCompassButton", + "MKDirections", + "MKDirectionsRequest", + "MKDirectionsResponse", + "MKDirectionsTypes", + "MKDistanceFormatter", + "MKFoundation", + "MKGeoJSONSerialization", + "MKGeodesicPolyline", + "MKGeometry", + "MKGradientPolylineRenderer", + "MKHybridMapConfiguration", + "MKImageryMapConfiguration", + "MKLocalPointsOfInterestRequest", + "MKLocalSearch", + "MKLocalSearchCompleter", + "MKLocalSearchRequest", + "MKLocalSearchResponse", + "MKLookAroundScene", + "MKLookAroundSceneRequest", + "MKLookAroundSnapshot", + "MKLookAroundSnapshotOptions", + "MKLookAroundSnapshotter", + "MKLookAroundViewController", + "MKMapCamera", + "MKMapCameraBoundary", + "MKMapCameraZoomRange", + "MKMapConfiguration", + "MKMapItem", + "MKMapItemAnnotation", + "MKMapItemDetailViewController", + "MKMapItemIdentifier", + "MKMapItemRequest", + "MKMapSnapshot", + "MKMapSnapshotOptions", + "MKMapSnapshotter", + "MKMapView", + "MKMarkerAnnotationView", + "MKMultiPoint", + "MKMultiPolygon", + "MKMultiPolygonRenderer", + "MKMultiPolyline", + "MKMultiPolylineRenderer", + "MKOverlay", + "MKOverlayPathRenderer", + "MKOverlayRenderer", + "MKPinAnnotationView", + "MKPitchControl", + "MKPlacemark", + "MKPointAnnotation", + "MKPointOfInterestCategory", + "MKPointOfInterestFilter", + "MKPolygon", + "MKPolygonRenderer", + "MKPolyline", + "MKPolylineRenderer", + "MKSelectionAccessory", + "MKShape", + "MKStandardMapConfiguration", + "MKTileOverlay", + "MKTileOverlayRenderer", + "MKTypes", + "MKUserLocation", + "MKUserLocationView", + "MKZoomControl", + "NSUserActivity_MKMapItem", + "bitflags", + "block2", + "objc2-app-kit", + "objc2-contacts", + "objc2-core-foundation", + "objc2-core-graphics", + "objc2-core-location", +] std = ["alloc"] alloc = [] bitflags = ["dep:bitflags"] @@ -288,84 +368,3 @@ MKZoomControl = [ "objc2-foundation/objc2-core-foundation", ] NSUserActivity_MKMapItem = ["objc2-foundation/NSUserActivity"] -all = [ - "MKAddressFilter", - "MKAnnotation", - "MKAnnotationView", - "MKCircle", - "MKCircleRenderer", - "MKClusterAnnotation", - "MKCompassButton", - "MKDirections", - "MKDirectionsRequest", - "MKDirectionsResponse", - "MKDirectionsTypes", - "MKDistanceFormatter", - "MKFoundation", - "MKGeoJSONSerialization", - "MKGeodesicPolyline", - "MKGeometry", - "MKGradientPolylineRenderer", - "MKHybridMapConfiguration", - "MKImageryMapConfiguration", - "MKLocalPointsOfInterestRequest", - "MKLocalSearch", - "MKLocalSearchCompleter", - "MKLocalSearchRequest", - "MKLocalSearchResponse", - "MKLookAroundScene", - "MKLookAroundSceneRequest", - "MKLookAroundSnapshot", - "MKLookAroundSnapshotOptions", - "MKLookAroundSnapshotter", - "MKLookAroundViewController", - "MKMapCamera", - "MKMapCameraBoundary", - "MKMapCameraZoomRange", - "MKMapConfiguration", - "MKMapItem", - "MKMapItemAnnotation", - "MKMapItemDetailViewController", - "MKMapItemIdentifier", - "MKMapItemRequest", - "MKMapSnapshot", - "MKMapSnapshotOptions", - "MKMapSnapshotter", - "MKMapView", - "MKMarkerAnnotationView", - "MKMultiPoint", - "MKMultiPolygon", - "MKMultiPolygonRenderer", - "MKMultiPolyline", - "MKMultiPolylineRenderer", - "MKOverlay", - "MKOverlayPathRenderer", - "MKOverlayRenderer", - "MKPinAnnotationView", - "MKPitchControl", - "MKPlacemark", - "MKPointAnnotation", - "MKPointOfInterestCategory", - "MKPointOfInterestFilter", - "MKPolygon", - "MKPolygonRenderer", - "MKPolyline", - "MKPolylineRenderer", - "MKSelectionAccessory", - "MKShape", - "MKStandardMapConfiguration", - "MKTileOverlay", - "MKTileOverlayRenderer", - "MKTypes", - "MKUserLocation", - "MKUserLocationView", - "MKZoomControl", - "NSUserActivity_MKMapItem", - "bitflags", - "block2", - "objc2-app-kit", - "objc2-contacts", - "objc2-core-foundation", - "objc2-core-graphics", - "objc2-core-location", -] diff --git a/framework-crates/objc2-media-player/Cargo.toml b/framework-crates/objc2-media-player/Cargo.toml index e0a82098d..cd2fa446d 100644 --- a/framework-crates/objc2-media-player/Cargo.toml +++ b/framework-crates/objc2-media-player/Cargo.toml @@ -40,7 +40,6 @@ objc2-app-kit = { path = "../objc2-app-kit", version = "0.2.2", default-features [package.metadata.docs.rs] default-target = "aarch64-apple-darwin" -features = ["all"] rustc-args = ["--cfg", "docsrs"] # Fix cross-crate link to objc2::topics targets = [ "aarch64-apple-darwin", @@ -51,9 +50,50 @@ targets = [ "aarch64-apple-ios-macabi", "aarch64-apple-visionos", ] +features = ["objc2-core-media"] [features] -default = ["std"] +default = [ + "std", + "AVFoundation_MPNowPlayingInfoLanguageOptionAdditions", + "AVPlayerItem_MediaPlayerAdditions", + "MPContentItem", + "MPError", + "MPMediaEntity", + "MPMediaItem", + "MPMediaItemCollection", + "MPMediaLibrary", + "MPMediaPickerController", + "MPMediaPlayback", + "MPMediaPlaylist", + "MPMediaQuery", + "MPMediaQuerySection", + "MPMoviePlayerController", + "MPMoviePlayerViewController", + "MPMusicPlayerApplicationController", + "MPMusicPlayerController", + "MPMusicPlayerQueueDescriptor", + "MPNowPlayingInfoCenter", + "MPNowPlayingInfoLanguageOption", + "MPNowPlayingSession", + "MPPlayableContentDataSource", + "MPPlayableContentDelegate", + "MPPlayableContentManager", + "MPPlayableContentManagerContext", + "MPRemoteCommand", + "MPRemoteCommandCenter", + "MPRemoteCommandEvent", + "MPRemoteControlTypes", + "MPVolumeSettings", + "MPVolumeView", + "MediaPlayerDefines", + "NSUserActivity_MediaPlayerAdditions", + "bitflags", + "block2", + "objc2-app-kit", + "objc2-av-foundation", + "objc2-core-foundation", +] std = ["alloc"] alloc = [] bitflags = ["dep:bitflags"] @@ -178,44 +218,3 @@ NSUserActivity_MediaPlayerAdditions = [ "objc2-foundation/NSString", "objc2-foundation/NSUserActivity", ] -all = [ - "AVFoundation_MPNowPlayingInfoLanguageOptionAdditions", - "AVPlayerItem_MediaPlayerAdditions", - "MPContentItem", - "MPError", - "MPMediaEntity", - "MPMediaItem", - "MPMediaItemCollection", - "MPMediaLibrary", - "MPMediaPickerController", - "MPMediaPlayback", - "MPMediaPlaylist", - "MPMediaQuery", - "MPMediaQuerySection", - "MPMoviePlayerController", - "MPMoviePlayerViewController", - "MPMusicPlayerApplicationController", - "MPMusicPlayerController", - "MPMusicPlayerQueueDescriptor", - "MPNowPlayingInfoCenter", - "MPNowPlayingInfoLanguageOption", - "MPNowPlayingSession", - "MPPlayableContentDataSource", - "MPPlayableContentDelegate", - "MPPlayableContentManager", - "MPPlayableContentManagerContext", - "MPRemoteCommand", - "MPRemoteCommandCenter", - "MPRemoteCommandEvent", - "MPRemoteControlTypes", - "MPVolumeSettings", - "MPVolumeView", - "MediaPlayerDefines", - "NSUserActivity_MediaPlayerAdditions", - "bitflags", - "block2", - "objc2-app-kit", - "objc2-av-foundation", - "objc2-core-foundation", - "objc2-core-media", -] diff --git a/framework-crates/objc2-message-ui/Cargo.toml b/framework-crates/objc2-message-ui/Cargo.toml index 45b29c311..32d977e9f 100644 --- a/framework-crates/objc2-message-ui/Cargo.toml +++ b/framework-crates/objc2-message-ui/Cargo.toml @@ -33,7 +33,6 @@ objc2-messages = { path = "../objc2-messages", version = "0.2.2", default-featur [package.metadata.docs.rs] default-target = "aarch64-apple-ios" -features = ["all"] rustc-args = ["--cfg", "docsrs"] # Fix cross-crate link to objc2::topics targets = [ "aarch64-apple-ios", @@ -41,9 +40,18 @@ targets = [ "aarch64-apple-ios-macabi", "aarch64-apple-visionos", ] +features = ["objc2-messages"] [features] -default = ["std"] +default = [ + "std", + "MFMailComposeControllerDeferredAction", + "MFMailComposeViewController", + "MFMessageComposeViewController", + "UPI", + "block2", + "objc2-ui-kit", +] std = ["alloc"] alloc = [] block2 = ["dep:block2"] @@ -72,12 +80,3 @@ MFMessageComposeViewController = [ "objc2-foundation/NSURL", ] UPI = [] -all = [ - "MFMailComposeControllerDeferredAction", - "MFMailComposeViewController", - "MFMessageComposeViewController", - "UPI", - "block2", - "objc2-messages", - "objc2-ui-kit", -] diff --git a/framework-crates/objc2-messages/Cargo.toml b/framework-crates/objc2-messages/Cargo.toml index 4ea63f439..ddb029d5a 100644 --- a/framework-crates/objc2-messages/Cargo.toml +++ b/framework-crates/objc2-messages/Cargo.toml @@ -39,7 +39,6 @@ objc2-ui-kit = { path = "../objc2-ui-kit", version = "0.2.2", default-features = [package.metadata.docs.rs] default-target = "aarch64-apple-ios" -features = ["all"] rustc-args = ["--cfg", "docsrs"] # Fix cross-crate link to objc2::topics targets = [ "aarch64-apple-ios", @@ -48,7 +47,27 @@ targets = [ ] [features] -default = ["std"] +default = [ + "std", + "MSConversation", + "MSMessage", + "MSMessageError", + "MSMessageLayout", + "MSMessageLiveLayout", + "MSMessageTemplateLayout", + "MSMessagesAppViewController", + "MSSession", + "MSSticker", + "MSStickerBrowserView", + "MSStickerBrowserViewController", + "MSStickerBrowserViewDataSource", + "MSStickerView", + "MessagesDefines", + "block2", + "objc2-core-foundation", + "objc2-quartz-core", + "objc2-ui-kit", +] std = ["alloc"] alloc = [] block2 = ["dep:block2"] @@ -107,23 +126,3 @@ MSStickerView = [ "objc2-foundation/NSObject", ] MessagesDefines = [] -all = [ - "MSConversation", - "MSMessage", - "MSMessageError", - "MSMessageLayout", - "MSMessageLiveLayout", - "MSMessageTemplateLayout", - "MSMessagesAppViewController", - "MSSession", - "MSSticker", - "MSStickerBrowserView", - "MSStickerBrowserViewController", - "MSStickerBrowserViewDataSource", - "MSStickerView", - "MessagesDefines", - "block2", - "objc2-core-foundation", - "objc2-quartz-core", - "objc2-ui-kit", -] diff --git a/framework-crates/objc2-metal-fx/Cargo.toml b/framework-crates/objc2-metal-fx/Cargo.toml index 8c191ebb8..0c24b6389 100644 --- a/framework-crates/objc2-metal-fx/Cargo.toml +++ b/framework-crates/objc2-metal-fx/Cargo.toml @@ -22,7 +22,6 @@ objc2-metal = { path = "../objc2-metal", version = "0.2.2", default-features = f [package.metadata.docs.rs] default-target = "aarch64-apple-darwin" -features = ["all"] rustc-args = ["--cfg", "docsrs"] # Fix cross-crate link to objc2::topics targets = [ "aarch64-apple-darwin", @@ -33,7 +32,12 @@ targets = [ ] [features] -default = ["std"] +default = [ + "std", + "MTLFXDefines", + "MTLFXSpatialScaler", + "MTLFXTemporalScaler", +] std = ["alloc"] alloc = [] @@ -58,8 +62,3 @@ MTLFXTemporalScaler = [ "objc2-metal/MTLResource", "objc2-metal/MTLTexture", ] -all = [ - "MTLFXDefines", - "MTLFXSpatialScaler", - "MTLFXTemporalScaler", -] diff --git a/framework-crates/objc2-metal-kit/Cargo.toml b/framework-crates/objc2-metal-kit/Cargo.toml index 71ad4b164..72a0cbb5c 100644 --- a/framework-crates/objc2-metal-kit/Cargo.toml +++ b/framework-crates/objc2-metal-kit/Cargo.toml @@ -57,7 +57,6 @@ objc2-app-kit = { path = "../objc2-app-kit", version = "0.2.2", default-features [package.metadata.docs.rs] default-target = "aarch64-apple-darwin" -features = ["all"] rustc-args = ["--cfg", "docsrs"] # Fix cross-crate link to objc2::topics targets = [ "aarch64-apple-darwin", @@ -69,7 +68,19 @@ targets = [ ] [features] -default = ["std"] +default = [ + "std", + "MTKDefines", + "MTKModel", + "MTKTextureLoader", + "MTKView", + "block2", + "objc2-app-kit", + "objc2-core-foundation", + "objc2-core-graphics", + "objc2-model-io", + "objc2-quartz-core", +] std = ["alloc"] alloc = [] block2 = ["dep:block2"] @@ -118,15 +129,3 @@ MTKView = [ "objc2-metal/MTLResource", "objc2-metal/MTLTexture", ] -all = [ - "MTKDefines", - "MTKModel", - "MTKTextureLoader", - "MTKView", - "block2", - "objc2-app-kit", - "objc2-core-foundation", - "objc2-core-graphics", - "objc2-model-io", - "objc2-quartz-core", -] diff --git a/framework-crates/objc2-metal-performance-shaders-graph/Cargo.toml b/framework-crates/objc2-metal-performance-shaders-graph/Cargo.toml index 0b41279c1..3c2f770ae 100644 --- a/framework-crates/objc2-metal-performance-shaders-graph/Cargo.toml +++ b/framework-crates/objc2-metal-performance-shaders-graph/Cargo.toml @@ -31,7 +31,6 @@ objc2-metal-performance-shaders = { path = "../objc2-metal-performance-shaders", [package.metadata.docs.rs] default-target = "aarch64-apple-darwin" -features = ["all"] rustc-args = ["--cfg", "docsrs"] # Fix cross-crate link to objc2::topics targets = [ "aarch64-apple-darwin", @@ -43,7 +42,53 @@ targets = [ ] [features] -default = ["std"] +default = [ + "std", + "MPSGraph", + "MPSGraphActivationOps", + "MPSGraphArithmeticOps", + "MPSGraphAutomaticDifferentiation", + "MPSGraphCallOps", + "MPSGraphControlFlowOps", + "MPSGraphConvolutionOps", + "MPSGraphConvolutionTransposeOps", + "MPSGraphCore", + "MPSGraphCumulativeOps", + "MPSGraphDepthwiseConvolutionOps", + "MPSGraphDevice", + "MPSGraphExecutable", + "MPSGraphFourierTransformOps", + "MPSGraphGatherOps", + "MPSGraphImToColOps", + "MPSGraphLinearAlgebraOps", + "MPSGraphLossOps", + "MPSGraphMatrixInverseOps", + "MPSGraphMatrixMultiplicationOps", + "MPSGraphMemoryOps", + "MPSGraphNonMaximumSuppressionOps", + "MPSGraphNonZeroOps", + "MPSGraphNormalizationOps", + "MPSGraphOneHotOps", + "MPSGraphOperation", + "MPSGraphOptimizerOps", + "MPSGraphPoolingOps", + "MPSGraphQuantizationOps", + "MPSGraphRNNOps", + "MPSGraphRandomOps", + "MPSGraphReductionOps", + "MPSGraphResizeOps", + "MPSGraphSampleGridOps", + "MPSGraphScatterNDOps", + "MPSGraphSortOps", + "MPSGraphSparseOps", + "MPSGraphStencilOps", + "MPSGraphTensor", + "MPSGraphTensorData", + "MPSGraphTensorShapeOps", + "MPSGraphTopKOps", + "block2", + "objc2-metal-performance-shaders", +] std = ["alloc"] alloc = [] block2 = ["dep:block2"] @@ -184,49 +229,3 @@ MPSGraphTopKOps = [ "objc2-foundation/NSArray", "objc2-foundation/NSString", ] -all = [ - "MPSGraph", - "MPSGraphActivationOps", - "MPSGraphArithmeticOps", - "MPSGraphAutomaticDifferentiation", - "MPSGraphCallOps", - "MPSGraphControlFlowOps", - "MPSGraphConvolutionOps", - "MPSGraphConvolutionTransposeOps", - "MPSGraphCore", - "MPSGraphCumulativeOps", - "MPSGraphDepthwiseConvolutionOps", - "MPSGraphDevice", - "MPSGraphExecutable", - "MPSGraphFourierTransformOps", - "MPSGraphGatherOps", - "MPSGraphImToColOps", - "MPSGraphLinearAlgebraOps", - "MPSGraphLossOps", - "MPSGraphMatrixInverseOps", - "MPSGraphMatrixMultiplicationOps", - "MPSGraphMemoryOps", - "MPSGraphNonMaximumSuppressionOps", - "MPSGraphNonZeroOps", - "MPSGraphNormalizationOps", - "MPSGraphOneHotOps", - "MPSGraphOperation", - "MPSGraphOptimizerOps", - "MPSGraphPoolingOps", - "MPSGraphQuantizationOps", - "MPSGraphRNNOps", - "MPSGraphRandomOps", - "MPSGraphReductionOps", - "MPSGraphResizeOps", - "MPSGraphSampleGridOps", - "MPSGraphScatterNDOps", - "MPSGraphSortOps", - "MPSGraphSparseOps", - "MPSGraphStencilOps", - "MPSGraphTensor", - "MPSGraphTensorData", - "MPSGraphTensorShapeOps", - "MPSGraphTopKOps", - "block2", - "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 3ffb983c0..2e5699f0f 100644 --- a/framework-crates/objc2-metal-performance-shaders/Cargo.toml +++ b/framework-crates/objc2-metal-performance-shaders/Cargo.toml @@ -35,7 +35,6 @@ objc2-metal = { path = "../objc2-metal", version = "0.2.2", default-features = f [package.metadata.docs.rs] default-target = "aarch64-apple-darwin" -features = ["all"] rustc-args = ["--cfg", "docsrs"] # Fix cross-crate link to objc2::topics targets = [ "aarch64-apple-darwin", @@ -47,7 +46,103 @@ targets = [ ] [features] -default = ["std"] +default = [ + "std", + "MPSAccelerationStructure", + "MPSAccelerationStructureGroup", + "MPSCNNBatchNormalization", + "MPSCNNConvolution", + "MPSCNNDropout", + "MPSCNNGroupNormalization", + "MPSCNNInstanceNormalization", + "MPSCNNKernel", + "MPSCNNLoss", + "MPSCNNMath", + "MPSCNNNeuron", + "MPSCNNNeuronType", + "MPSCNNNormalization", + "MPSCNNNormalizationWeights", + "MPSCNNPooling", + "MPSCNNSoftMax", + "MPSCNNTypes", + "MPSCNNUpsampling", + "MPSCommandBuffer", + "MPSCore", + "MPSCoreTypes", + "MPSFunctionConstantIndices", + "MPSImage", + "MPSImageConversion", + "MPSImageConvolution", + "MPSImageCopy", + "MPSImageDistanceTransform", + "MPSImageEDLines", + "MPSImageGuidedFilter", + "MPSImageHistogram", + "MPSImageIntegral", + "MPSImageKernel", + "MPSImageKeypoint", + "MPSImageMath", + "MPSImageMedian", + "MPSImageMorphology", + "MPSImageReduce", + "MPSImageResampling", + "MPSImageStatistics", + "MPSImageThreshold", + "MPSImageTranspose", + "MPSImageTypes", + "MPSInstanceAccelerationStructure", + "MPSKernel", + "MPSKernelTypes", + "MPSKeyedUnarchiver", + "MPSMatrix", + "MPSMatrixBatchNormalization", + "MPSMatrixCombination", + "MPSMatrixDecomposition", + "MPSMatrixFindTopK", + "MPSMatrixFullyConnected", + "MPSMatrixLayer", + "MPSMatrixMultiplication", + "MPSMatrixNeuron", + "MPSMatrixRandom", + "MPSMatrixSoftMax", + "MPSMatrixSolve", + "MPSMatrixSum", + "MPSMatrixTypes", + "MPSNDArray", + "MPSNDArrayGather", + "MPSNDArrayGradientState", + "MPSNDArrayIdentity", + "MPSNDArrayKernel", + "MPSNDArrayMatrixMultiplication", + "MPSNDArrayQuantization", + "MPSNDArrayQuantizedMatrixMultiplication", + "MPSNDArrayStridedSlice", + "MPSNDArrayTypes", + "MPSNNGradientState", + "MPSNNGraph", + "MPSNNGraphNodes", + "MPSNNGridSample", + "MPSNNOptimizers", + "MPSNNReduce", + "MPSNNReshape", + "MPSNNResize", + "MPSNNSlice", + "MPSNeuralNetwork", + "MPSNeuralNetworkTypes", + "MPSPolygonAccelerationStructure", + "MPSPolygonBuffer", + "MPSQuadrilateralAccelerationStructure", + "MPSRNNLayer", + "MPSRayIntersector", + "MPSRayIntersectorTypes", + "MPSSVGF", + "MPSState", + "MPSTemporalAA", + "MPSTriangleAccelerationStructure", + "block2", + "objc2-core-foundation", + "objc2-core-graphics", +] std = ["alloc"] alloc = [] block2 = ["dep:block2"] @@ -685,99 +780,3 @@ MPSTriangleAccelerationStructure = [ "objc2-foundation/NSObject", "objc2-metal/MTLDevice", ] -all = [ - "MPSAccelerationStructure", - "MPSAccelerationStructureGroup", - "MPSCNNBatchNormalization", - "MPSCNNConvolution", - "MPSCNNDropout", - "MPSCNNGroupNormalization", - "MPSCNNInstanceNormalization", - "MPSCNNKernel", - "MPSCNNLoss", - "MPSCNNMath", - "MPSCNNNeuron", - "MPSCNNNeuronType", - "MPSCNNNormalization", - "MPSCNNNormalizationWeights", - "MPSCNNPooling", - "MPSCNNSoftMax", - "MPSCNNTypes", - "MPSCNNUpsampling", - "MPSCommandBuffer", - "MPSCore", - "MPSCoreTypes", - "MPSFunctionConstantIndices", - "MPSImage", - "MPSImageConversion", - "MPSImageConvolution", - "MPSImageCopy", - "MPSImageDistanceTransform", - "MPSImageEDLines", - "MPSImageGuidedFilter", - "MPSImageHistogram", - "MPSImageIntegral", - "MPSImageKernel", - "MPSImageKeypoint", - "MPSImageMath", - "MPSImageMedian", - "MPSImageMorphology", - "MPSImageReduce", - "MPSImageResampling", - "MPSImageStatistics", - "MPSImageThreshold", - "MPSImageTranspose", - "MPSImageTypes", - "MPSInstanceAccelerationStructure", - "MPSKernel", - "MPSKernelTypes", - "MPSKeyedUnarchiver", - "MPSMatrix", - "MPSMatrixBatchNormalization", - "MPSMatrixCombination", - "MPSMatrixDecomposition", - "MPSMatrixFindTopK", - "MPSMatrixFullyConnected", - "MPSMatrixLayer", - "MPSMatrixMultiplication", - "MPSMatrixNeuron", - "MPSMatrixRandom", - "MPSMatrixSoftMax", - "MPSMatrixSolve", - "MPSMatrixSum", - "MPSMatrixTypes", - "MPSNDArray", - "MPSNDArrayGather", - "MPSNDArrayGradientState", - "MPSNDArrayIdentity", - "MPSNDArrayKernel", - "MPSNDArrayMatrixMultiplication", - "MPSNDArrayQuantization", - "MPSNDArrayQuantizedMatrixMultiplication", - "MPSNDArrayStridedSlice", - "MPSNDArrayTypes", - "MPSNNGradientState", - "MPSNNGraph", - "MPSNNGraphNodes", - "MPSNNGridSample", - "MPSNNOptimizers", - "MPSNNReduce", - "MPSNNReshape", - "MPSNNResize", - "MPSNNSlice", - "MPSNeuralNetwork", - "MPSNeuralNetworkTypes", - "MPSPolygonAccelerationStructure", - "MPSPolygonBuffer", - "MPSQuadrilateralAccelerationStructure", - "MPSRNNLayer", - "MPSRayIntersector", - "MPSRayIntersectorTypes", - "MPSSVGF", - "MPSState", - "MPSTemporalAA", - "MPSTriangleAccelerationStructure", - "block2", - "objc2-core-foundation", - "objc2-core-graphics", -] diff --git a/framework-crates/objc2-metal/Cargo.toml b/framework-crates/objc2-metal/Cargo.toml index a15d06378..ab7021104 100644 --- a/framework-crates/objc2-metal/Cargo.toml +++ b/framework-crates/objc2-metal/Cargo.toml @@ -31,7 +31,6 @@ objc2-io-surface = { path = "../objc2-io-surface", version = "0.2.2", default-fe [package.metadata.docs.rs] default-target = "aarch64-apple-darwin" -features = ["all"] rustc-args = ["--cfg", "docsrs"] # Fix cross-crate link to objc2::topics targets = [ "aarch64-apple-darwin", @@ -41,9 +40,74 @@ targets = [ "aarch64-apple-ios-macabi", "aarch64-apple-visionos", ] +features = ["objc2-io-surface"] [features] -default = ["std"] +default = [ + "std", + "MTLAccelerationStructure", + "MTLAccelerationStructureCommandEncoder", + "MTLAccelerationStructureTypes", + "MTLAllocation", + "MTLArgument", + "MTLArgumentEncoder", + "MTLBinaryArchive", + "MTLBlitCommandEncoder", + "MTLBlitPass", + "MTLBuffer", + "MTLCaptureManager", + "MTLCaptureScope", + "MTLCommandBuffer", + "MTLCommandEncoder", + "MTLCommandQueue", + "MTLComputeCommandEncoder", + "MTLComputePass", + "MTLComputePipeline", + "MTLCounters", + "MTLDefines", + "MTLDepthStencil", + "MTLDevice", + "MTLDeviceCertification", + "MTLDrawable", + "MTLDynamicLibrary", + "MTLEvent", + "MTLFence", + "MTLFunctionConstantValues", + "MTLFunctionDescriptor", + "MTLFunctionHandle", + "MTLFunctionLog", + "MTLFunctionStitching", + "MTLHeap", + "MTLIOCommandBuffer", + "MTLIOCommandQueue", + "MTLIOCompressor", + "MTLIndirectCommandBuffer", + "MTLIndirectCommandEncoder", + "MTLIntersectionFunctionTable", + "MTLLibrary", + "MTLLinkedFunctions", + "MTLLogState", + "MTLParallelRenderCommandEncoder", + "MTLPipeline", + "MTLPixelFormat", + "MTLRasterizationRate", + "MTLRenderCommandEncoder", + "MTLRenderPass", + "MTLRenderPipeline", + "MTLResidencySet", + "MTLResource", + "MTLResourceStateCommandEncoder", + "MTLResourceStatePass", + "MTLSampler", + "MTLStageInputOutputDescriptor", + "MTLTexture", + "MTLTypes", + "MTLVertexDescriptor", + "MTLVisibleFunctionTable", + "bitflags", + "block2", + "objc2-core-foundation", +] std = ["alloc"] alloc = [] unstable-private = [ @@ -276,71 +340,6 @@ MTLVisibleFunctionTable = [ "objc2-foundation/NSObject", "objc2-foundation/NSRange", ] -all = [ - "MTLAccelerationStructure", - "MTLAccelerationStructureCommandEncoder", - "MTLAccelerationStructureTypes", - "MTLAllocation", - "MTLArgument", - "MTLArgumentEncoder", - "MTLBinaryArchive", - "MTLBlitCommandEncoder", - "MTLBlitPass", - "MTLBuffer", - "MTLCaptureManager", - "MTLCaptureScope", - "MTLCommandBuffer", - "MTLCommandEncoder", - "MTLCommandQueue", - "MTLComputeCommandEncoder", - "MTLComputePass", - "MTLComputePipeline", - "MTLCounters", - "MTLDefines", - "MTLDepthStencil", - "MTLDevice", - "MTLDeviceCertification", - "MTLDrawable", - "MTLDynamicLibrary", - "MTLEvent", - "MTLFence", - "MTLFunctionConstantValues", - "MTLFunctionDescriptor", - "MTLFunctionHandle", - "MTLFunctionLog", - "MTLFunctionStitching", - "MTLHeap", - "MTLIOCommandBuffer", - "MTLIOCommandQueue", - "MTLIOCompressor", - "MTLIndirectCommandBuffer", - "MTLIndirectCommandEncoder", - "MTLIntersectionFunctionTable", - "MTLLibrary", - "MTLLinkedFunctions", - "MTLLogState", - "MTLParallelRenderCommandEncoder", - "MTLPipeline", - "MTLPixelFormat", - "MTLRasterizationRate", - "MTLRenderCommandEncoder", - "MTLRenderPass", - "MTLRenderPipeline", - "MTLResidencySet", - "MTLResource", - "MTLResourceStateCommandEncoder", - "MTLResourceStatePass", - "MTLSampler", - "MTLStageInputOutputDescriptor", - "MTLTexture", - "MTLTypes", - "MTLVertexDescriptor", - "MTLVisibleFunctionTable", - "bitflags", - "block2", - "objc2-core-foundation", - "objc2-io-surface", -] [[example]] name = "triangle" diff --git a/framework-crates/objc2-metric-kit/Cargo.toml b/framework-crates/objc2-metric-kit/Cargo.toml index 509f0ac77..ccd4a7533 100644 --- a/framework-crates/objc2-metric-kit/Cargo.toml +++ b/framework-crates/objc2-metric-kit/Cargo.toml @@ -22,7 +22,6 @@ objc2-foundation = { path = "../objc2-foundation", version = "0.2.2", default-fe [package.metadata.docs.rs] default-target = "aarch64-apple-darwin" -features = ["all"] rustc-args = ["--cfg", "docsrs"] # Fix cross-crate link to objc2::topics targets = [ "aarch64-apple-darwin", @@ -33,7 +32,44 @@ targets = [ ] [features] -default = ["std"] +default = [ + "std", + "MXAnimationMetric", + "MXAppExitMetric", + "MXAppLaunchDiagnostic", + "MXAppLaunchMetric", + "MXAppResponsivenessMetric", + "MXAppRunTimeMetric", + "MXAverage", + "MXCPUExceptionDiagnostic", + "MXCPUMetric", + "MXCallStackTree", + "MXCellularConditionMetric", + "MXCrashDiagnostic", + "MXCrashDiagnosticObjectiveCExceptionReason", + "MXDiagnostic", + "MXDiagnosticPayload", + "MXDiskIOMetric", + "MXDiskWriteExceptionDiagnostic", + "MXDisplayMetric", + "MXError", + "MXGPUMetric", + "MXHangDiagnostic", + "MXHistogram", + "MXLocationActivityMetric", + "MXMemoryMetric", + "MXMetaData", + "MXMetric", + "MXMetricManager", + "MXMetricPayload", + "MXNetworkTransferMetric", + "MXSignpost", + "MXSignpostMetric", + "MXSignpostRecord", + "MXSignpost_Private", + "MXUnit", + "libc", +] std = ["alloc"] alloc = [] libc = ["dep:libc"] @@ -200,40 +236,3 @@ MXUnit = [ "objc2-foundation/NSString", "objc2-foundation/NSUnit", ] -all = [ - "MXAnimationMetric", - "MXAppExitMetric", - "MXAppLaunchDiagnostic", - "MXAppLaunchMetric", - "MXAppResponsivenessMetric", - "MXAppRunTimeMetric", - "MXAverage", - "MXCPUExceptionDiagnostic", - "MXCPUMetric", - "MXCallStackTree", - "MXCellularConditionMetric", - "MXCrashDiagnostic", - "MXCrashDiagnosticObjectiveCExceptionReason", - "MXDiagnostic", - "MXDiagnosticPayload", - "MXDiskIOMetric", - "MXDiskWriteExceptionDiagnostic", - "MXDisplayMetric", - "MXError", - "MXGPUMetric", - "MXHangDiagnostic", - "MXHistogram", - "MXLocationActivityMetric", - "MXMemoryMetric", - "MXMetaData", - "MXMetric", - "MXMetricManager", - "MXMetricPayload", - "MXNetworkTransferMetric", - "MXSignpost", - "MXSignpostMetric", - "MXSignpostRecord", - "MXSignpost_Private", - "MXUnit", - "libc", -] diff --git a/framework-crates/objc2-ml-compute/Cargo.toml b/framework-crates/objc2-ml-compute/Cargo.toml index 52227c082..d272613a2 100644 --- a/framework-crates/objc2-ml-compute/Cargo.toml +++ b/framework-crates/objc2-ml-compute/Cargo.toml @@ -24,7 +24,6 @@ objc2-metal = { path = "../objc2-metal", version = "0.2.2", default-features = f [package.metadata.docs.rs] default-target = "aarch64-apple-darwin" -features = ["all"] rustc-args = ["--cfg", "docsrs"] # Fix cross-crate link to objc2::topics targets = [ "aarch64-apple-darwin", @@ -35,7 +34,70 @@ targets = [ ] [features] -default = ["std"] +default = [ + "std", + "MLCActivationDescriptor", + "MLCActivationLayer", + "MLCAdamOptimizer", + "MLCAdamWOptimizer", + "MLCArithmeticLayer", + "MLCBatchNormalizationLayer", + "MLCComparisonLayer", + "MLCConcatenationLayer", + "MLCConvolutionDescriptor", + "MLCConvolutionLayer", + "MLCDefines", + "MLCDevice", + "MLCDropoutLayer", + "MLCEmbeddingDescriptor", + "MLCEmbeddingLayer", + "MLCFullyConnectedLayer", + "MLCGatherLayer", + "MLCGramMatrixLayer", + "MLCGraph", + "MLCGroupNormalizationLayer", + "MLCInferenceGraph", + "MLCInstanceNormalizationLayer", + "MLCLSTMDescriptor", + "MLCLSTMLayer", + "MLCLayer", + "MLCLayerNormalizationLayer", + "MLCLossDescriptor", + "MLCLossLayer", + "MLCMatMulDescriptor", + "MLCMatMulLayer", + "MLCMultiheadAttentionDescriptor", + "MLCMultiheadAttentionLayer", + "MLCOptimizer", + "MLCOptimizerDescriptor", + "MLCPaddingLayer", + "MLCPlatform", + "MLCPoolingDescriptor", + "MLCPoolingLayer", + "MLCRMSPropOptimizer", + "MLCReductionLayer", + "MLCReshapeLayer", + "MLCSGDOptimizer", + "MLCScatterLayer", + "MLCSelectionLayer", + "MLCSliceLayer", + "MLCSoftmaxLayer", + "MLCSplitLayer", + "MLCTensor", + "MLCTensorData", + "MLCTensorDescriptor", + "MLCTensorOptimizerDeviceData", + "MLCTensorParameter", + "MLCTrainingGraph", + "MLCTransposeLayer", + "MLCTypes", + "MLCUpsampleLayer", + "MLCYOLOLossDescriptor", + "MLCYOLOLossLayer", + "bitflags", + "block2", + "objc2-metal", +] std = ["alloc"] alloc = [] bitflags = ["dep:bitflags"] @@ -175,66 +237,3 @@ MLCYOLOLossDescriptor = [ "objc2-foundation/NSObject", ] MLCYOLOLossLayer = [] -all = [ - "MLCActivationDescriptor", - "MLCActivationLayer", - "MLCAdamOptimizer", - "MLCAdamWOptimizer", - "MLCArithmeticLayer", - "MLCBatchNormalizationLayer", - "MLCComparisonLayer", - "MLCConcatenationLayer", - "MLCConvolutionDescriptor", - "MLCConvolutionLayer", - "MLCDefines", - "MLCDevice", - "MLCDropoutLayer", - "MLCEmbeddingDescriptor", - "MLCEmbeddingLayer", - "MLCFullyConnectedLayer", - "MLCGatherLayer", - "MLCGramMatrixLayer", - "MLCGraph", - "MLCGroupNormalizationLayer", - "MLCInferenceGraph", - "MLCInstanceNormalizationLayer", - "MLCLSTMDescriptor", - "MLCLSTMLayer", - "MLCLayer", - "MLCLayerNormalizationLayer", - "MLCLossDescriptor", - "MLCLossLayer", - "MLCMatMulDescriptor", - "MLCMatMulLayer", - "MLCMultiheadAttentionDescriptor", - "MLCMultiheadAttentionLayer", - "MLCOptimizer", - "MLCOptimizerDescriptor", - "MLCPaddingLayer", - "MLCPlatform", - "MLCPoolingDescriptor", - "MLCPoolingLayer", - "MLCRMSPropOptimizer", - "MLCReductionLayer", - "MLCReshapeLayer", - "MLCSGDOptimizer", - "MLCScatterLayer", - "MLCSelectionLayer", - "MLCSliceLayer", - "MLCSoftmaxLayer", - "MLCSplitLayer", - "MLCTensor", - "MLCTensorData", - "MLCTensorDescriptor", - "MLCTensorOptimizerDeviceData", - "MLCTensorParameter", - "MLCTrainingGraph", - "MLCTransposeLayer", - "MLCTypes", - "MLCUpsampleLayer", - "MLCYOLOLossDescriptor", - "MLCYOLOLossLayer", - "bitflags", - "block2", - "objc2-metal", -] diff --git a/framework-crates/objc2-model-io/Cargo.toml b/framework-crates/objc2-model-io/Cargo.toml index 039780c6e..9ecf6f1be 100644 --- a/framework-crates/objc2-model-io/Cargo.toml +++ b/framework-crates/objc2-model-io/Cargo.toml @@ -31,7 +31,6 @@ objc2-foundation = { path = "../objc2-foundation", version = "0.2.2", default-fe [package.metadata.docs.rs] default-target = "aarch64-apple-darwin" -features = ["all"] rustc-args = ["--cfg", "docsrs"] # Fix cross-crate link to objc2::topics targets = [ "aarch64-apple-darwin", @@ -43,7 +42,32 @@ targets = [ ] [features] -default = ["std"] +default = [ + "std", + "MDLAnimatedValueTypes", + "MDLAnimation", + "MDLAsset", + "MDLAssetResolver", + "MDLCamera", + "MDLLight", + "MDLMaterial", + "MDLMesh", + "MDLMeshBuffer", + "MDLObject", + "MDLSubmesh", + "MDLTexture", + "MDLTransform", + "MDLTransformStack", + "MDLTypes", + "MDLUtility", + "MDLValueTypes", + "MDLVertexDescriptor", + "MDLVoxelArray", + "ModelIOExports", + "block2", + "objc2-core-foundation", + "objc2-core-graphics", +] std = ["alloc"] alloc = [] block2 = ["dep:block2"] @@ -145,28 +169,3 @@ MDLVertexDescriptor = [ ] MDLVoxelArray = ["objc2-foundation/NSData"] ModelIOExports = [] -all = [ - "MDLAnimatedValueTypes", - "MDLAnimation", - "MDLAsset", - "MDLAssetResolver", - "MDLCamera", - "MDLLight", - "MDLMaterial", - "MDLMesh", - "MDLMeshBuffer", - "MDLObject", - "MDLSubmesh", - "MDLTexture", - "MDLTransform", - "MDLTransformStack", - "MDLTypes", - "MDLUtility", - "MDLValueTypes", - "MDLVertexDescriptor", - "MDLVoxelArray", - "ModelIOExports", - "block2", - "objc2-core-foundation", - "objc2-core-graphics", -] diff --git a/framework-crates/objc2-multipeer-connectivity/Cargo.toml b/framework-crates/objc2-multipeer-connectivity/Cargo.toml index 44fa1b891..e79a79eb1 100644 --- a/framework-crates/objc2-multipeer-connectivity/Cargo.toml +++ b/framework-crates/objc2-multipeer-connectivity/Cargo.toml @@ -32,7 +32,6 @@ objc2-app-kit = { path = "../objc2-app-kit", version = "0.2.2", default-features [package.metadata.docs.rs] default-target = "aarch64-apple-darwin" -features = ["all"] rustc-args = ["--cfg", "docsrs"] # Fix cross-crate link to objc2::topics targets = [ "aarch64-apple-darwin", @@ -44,7 +43,19 @@ targets = [ ] [features] -default = ["std"] +default = [ + "std", + "MCAdvertiserAssistant", + "MCBrowserViewController", + "MCError", + "MCNearbyServiceAdvertiser", + "MCNearbyServiceBrowser", + "MCPeerID", + "MCSession", + "MultipeerConnectivity", + "block2", + "objc2-app-kit", +] std = ["alloc"] alloc = [] block2 = ["dep:block2"] @@ -89,15 +100,3 @@ MCSession = [ "objc2-foundation/NSURL", ] MultipeerConnectivity = [] -all = [ - "MCAdvertiserAssistant", - "MCBrowserViewController", - "MCError", - "MCNearbyServiceAdvertiser", - "MCNearbyServiceBrowser", - "MCPeerID", - "MCSession", - "MultipeerConnectivity", - "block2", - "objc2-app-kit", -] diff --git a/framework-crates/objc2-natural-language/Cargo.toml b/framework-crates/objc2-natural-language/Cargo.toml index 9b282a332..cb3eb647c 100644 --- a/framework-crates/objc2-natural-language/Cargo.toml +++ b/framework-crates/objc2-natural-language/Cargo.toml @@ -24,7 +24,6 @@ objc2-foundation = { path = "../objc2-foundation", version = "0.2.2", default-fe [package.metadata.docs.rs] default-target = "aarch64-apple-darwin" -features = ["all"] rustc-args = ["--cfg", "docsrs"] # Fix cross-crate link to objc2::topics targets = [ "aarch64-apple-darwin", @@ -37,7 +36,22 @@ targets = [ ] [features] -default = ["std"] +default = [ + "std", + "NLContextualEmbedding", + "NLEmbedding", + "NLGazetteer", + "NLLanguage", + "NLLanguageRecognizer", + "NLModel", + "NLScript", + "NLTagScheme", + "NLTagger", + "NLTokenizer", + "bitflags", + "block2", + "objc2-core-ml", +] std = ["alloc"] alloc = [] bitflags = ["dep:bitflags"] @@ -105,18 +119,3 @@ NLTokenizer = [ "objc2-foundation/NSString", "objc2-foundation/NSValue", ] -all = [ - "NLContextualEmbedding", - "NLEmbedding", - "NLGazetteer", - "NLLanguage", - "NLLanguageRecognizer", - "NLModel", - "NLScript", - "NLTagScheme", - "NLTagger", - "NLTokenizer", - "bitflags", - "block2", - "objc2-core-ml", -] diff --git a/framework-crates/objc2-nearby-interaction/Cargo.toml b/framework-crates/objc2-nearby-interaction/Cargo.toml index 520aab55b..8c0f55ab9 100644 --- a/framework-crates/objc2-nearby-interaction/Cargo.toml +++ b/framework-crates/objc2-nearby-interaction/Cargo.toml @@ -27,7 +27,6 @@ objc2-ar-kit = { path = "../objc2-ar-kit", version = "0.2.2", default-features = [package.metadata.docs.rs] default-target = "aarch64-apple-darwin" -features = ["all"] rustc-args = ["--cfg", "docsrs"] # Fix cross-crate link to objc2::topics targets = [ "aarch64-apple-darwin", @@ -38,7 +37,17 @@ targets = [ ] [features] -default = ["std"] +default = [ + "std", + "NIAlgorithmConvergenceStatusReason", + "NIConfiguration", + "NIDeviceCapability", + "NIError", + "NIExport", + "NINearbyObject", + "NISession", + "objc2-ar-kit", +] std = ["alloc"] alloc = [] objc2-ar-kit = ["dep:objc2-ar-kit"] @@ -64,13 +73,3 @@ NISession = [ "objc2-foundation/NSObject", "objc2-foundation/NSString", ] -all = [ - "NIAlgorithmConvergenceStatusReason", - "NIConfiguration", - "NIDeviceCapability", - "NIError", - "NIExport", - "NINearbyObject", - "NISession", - "objc2-ar-kit", -] diff --git a/framework-crates/objc2-network-extension/Cargo.toml b/framework-crates/objc2-network-extension/Cargo.toml index f00a6acfc..3637e2d17 100644 --- a/framework-crates/objc2-network-extension/Cargo.toml +++ b/framework-crates/objc2-network-extension/Cargo.toml @@ -44,7 +44,6 @@ objc2-security = { path = "../objc2-security", version = "0.2.2", default-featur [package.metadata.docs.rs] default-target = "aarch64-apple-darwin" -features = ["all"] rustc-args = ["--cfg", "docsrs"] # Fix cross-crate link to objc2::topics targets = [ "aarch64-apple-darwin", @@ -57,15 +56,14 @@ targets = [ ] [features] -default = ["std"] +default = [ + "std", + "block2", + "libc", + "objc2-security", +] std = ["alloc"] alloc = [] block2 = ["dep:block2"] libc = ["dep:libc"] objc2-security = ["dep:objc2-security"] - -all = [ - "block2", - "libc", - "objc2-security", -] diff --git a/framework-crates/objc2-open-directory/Cargo.toml b/framework-crates/objc2-open-directory/Cargo.toml index 9750b2144..40f935c1e 100644 --- a/framework-crates/objc2-open-directory/Cargo.toml +++ b/framework-crates/objc2-open-directory/Cargo.toml @@ -33,7 +33,6 @@ objc2-foundation = { path = "../objc2-foundation", version = "0.2.2", default-fe [package.metadata.docs.rs] default-target = "aarch64-apple-darwin" -features = ["all"] rustc-args = ["--cfg", "docsrs"] # Fix cross-crate link to objc2::topics targets = [ "aarch64-apple-darwin", @@ -42,7 +41,26 @@ targets = [ ] [features] -default = ["std"] +default = [ + "std", + "CFODContext", + "CFODNode", + "CFODQuery", + "CFODRecord", + "CFODSession", + "CFOpenDirectory", + "CFOpenDirectoryConstants", + "ODAttributeMap", + "ODConfiguration", + "ODMappings", + "ODModuleEntry", + "ODNode", + "ODQuery", + "ODRecord", + "ODRecordMap", + "ODSession", + "objc2-core-foundation", +] std = ["alloc"] alloc = [] objc2-core-foundation = ["dep:objc2-core-foundation"] @@ -103,22 +121,3 @@ ODSession = [ "objc2-foundation/NSError", "objc2-foundation/NSString", ] -all = [ - "CFODContext", - "CFODNode", - "CFODQuery", - "CFODRecord", - "CFODSession", - "CFOpenDirectory", - "CFOpenDirectoryConstants", - "ODAttributeMap", - "ODConfiguration", - "ODMappings", - "ODModuleEntry", - "ODNode", - "ODQuery", - "ODRecord", - "ODRecordMap", - "ODSession", - "objc2-core-foundation", -] diff --git a/framework-crates/objc2-osa-kit/Cargo.toml b/framework-crates/objc2-osa-kit/Cargo.toml index 40fcdf812..d9d2fb2c4 100644 --- a/framework-crates/objc2-osa-kit/Cargo.toml +++ b/framework-crates/objc2-osa-kit/Cargo.toml @@ -23,7 +23,6 @@ objc2-foundation = { path = "../objc2-foundation", version = "0.2.2", default-fe [package.metadata.docs.rs] default-target = "aarch64-apple-darwin" -features = ["all"] rustc-args = ["--cfg", "docsrs"] # Fix cross-crate link to objc2::topics targets = [ "aarch64-apple-darwin", @@ -31,7 +30,15 @@ targets = [ ] [features] -default = ["std"] +default = [ + "std", + "OSALanguage", + "OSALanguageInstance", + "OSAScript", + "OSAScriptController", + "OSAScriptView", + "bitflags", +] std = ["alloc"] alloc = [] bitflags = ["dep:bitflags"] @@ -93,11 +100,3 @@ OSAScriptView = [ "objc2-foundation/NSString", "objc2-foundation/objc2-core-foundation", ] -all = [ - "OSALanguage", - "OSALanguageInstance", - "OSAScript", - "OSAScriptController", - "OSAScriptView", - "bitflags", -] diff --git a/framework-crates/objc2-photos-ui/Cargo.toml b/framework-crates/objc2-photos-ui/Cargo.toml index 1043dbf35..87ab8eb4d 100644 --- a/framework-crates/objc2-photos-ui/Cargo.toml +++ b/framework-crates/objc2-photos-ui/Cargo.toml @@ -65,7 +65,6 @@ objc2-photos = { path = "../objc2-photos", version = "0.2.2", default-features = [package.metadata.docs.rs] default-target = "aarch64-apple-darwin" -features = ["all"] rustc-args = ["--cfg", "docsrs"] # Fix cross-crate link to objc2::topics targets = [ "aarch64-apple-darwin", @@ -78,7 +77,25 @@ targets = [ ] [features] -default = ["std"] +default = [ + "std", + "PHContentEditingController", + "PHLivePhotoView", + "PHPicker", + "PHProjectExtensionContext", + "PHProjectExtensionController", + "PHProjectInfo", + "PHProjectTypeDescription", + "PHProjectTypeDescriptionDataSource", + "PhotosUITypes", + "bitflags", + "block2", + "objc2-app-kit", + "objc2-core-foundation", + "objc2-core-location", + "objc2-map-kit", + "objc2-photos", +] std = ["alloc"] alloc = [] bitflags = ["dep:bitflags"] @@ -134,21 +151,3 @@ PHProjectTypeDescriptionDataSource = [ "objc2-foundation/NSString", ] PhotosUITypes = ["objc2-foundation/NSString"] -all = [ - "PHContentEditingController", - "PHLivePhotoView", - "PHPicker", - "PHProjectExtensionContext", - "PHProjectExtensionController", - "PHProjectInfo", - "PHProjectTypeDescription", - "PHProjectTypeDescriptionDataSource", - "PhotosUITypes", - "bitflags", - "block2", - "objc2-app-kit", - "objc2-core-foundation", - "objc2-core-location", - "objc2-map-kit", - "objc2-photos", -] diff --git a/framework-crates/objc2-photos/Cargo.toml b/framework-crates/objc2-photos/Cargo.toml index da8ada5e7..9f251e8cf 100644 --- a/framework-crates/objc2-photos/Cargo.toml +++ b/framework-crates/objc2-photos/Cargo.toml @@ -43,7 +43,6 @@ objc2-app-kit = { path = "../objc2-app-kit", version = "0.2.2", default-features [package.metadata.docs.rs] default-target = "aarch64-apple-darwin" -features = ["all"] rustc-args = ["--cfg", "docsrs"] # Fix cross-crate link to objc2::topics targets = [ "aarch64-apple-darwin", @@ -53,9 +52,49 @@ targets = [ "aarch64-apple-ios-macabi", "aarch64-apple-visionos", ] +features = ["objc2-uniform-type-identifiers"] [features] -default = ["std"] +default = [ + "std", + "PHAdjustmentData", + "PHAsset", + "PHAssetChangeRequest", + "PHAssetCollectionChangeRequest", + "PHAssetCreationRequest", + "PHAssetResource", + "PHAssetResourceManager", + "PHChange", + "PHChangeRequest", + "PHCloudIdentifier", + "PHCollection", + "PHCollectionListChangeRequest", + "PHContentEditingInput", + "PHContentEditingOutput", + "PHError", + "PHFetchOptions", + "PHFetchResult", + "PHImageManager", + "PHLivePhoto", + "PHLivePhotoEditingContext", + "PHObject", + "PHPersistentChange", + "PHPersistentChangeFetchResult", + "PHPersistentChangeToken", + "PHPersistentObjectChangeDetails", + "PHPhotoLibrary", + "PHProject", + "PHProjectChangeRequest", + "PhotosTypes", + "bitflags", + "block2", + "objc2-app-kit", + "objc2-av-foundation", + "objc2-core-foundation", + "objc2-core-image", + "objc2-core-location", + "objc2-core-media", +] std = ["alloc"] alloc = [] bitflags = ["dep:bitflags"] @@ -203,43 +242,3 @@ PHProjectChangeRequest = [ "objc2-foundation/NSString", ] PhotosTypes = ["bitflags"] -all = [ - "PHAdjustmentData", - "PHAsset", - "PHAssetChangeRequest", - "PHAssetCollectionChangeRequest", - "PHAssetCreationRequest", - "PHAssetResource", - "PHAssetResourceManager", - "PHChange", - "PHChangeRequest", - "PHCloudIdentifier", - "PHCollection", - "PHCollectionListChangeRequest", - "PHContentEditingInput", - "PHContentEditingOutput", - "PHError", - "PHFetchOptions", - "PHFetchResult", - "PHImageManager", - "PHLivePhoto", - "PHLivePhotoEditingContext", - "PHObject", - "PHPersistentChange", - "PHPersistentChangeFetchResult", - "PHPersistentChangeToken", - "PHPersistentObjectChangeDetails", - "PHPhotoLibrary", - "PHProject", - "PHProjectChangeRequest", - "PhotosTypes", - "bitflags", - "block2", - "objc2-app-kit", - "objc2-av-foundation", - "objc2-core-foundation", - "objc2-core-image", - "objc2-core-location", - "objc2-core-media", - "objc2-uniform-type-identifiers", -] diff --git a/framework-crates/objc2-quartz-core/Cargo.toml b/framework-crates/objc2-quartz-core/Cargo.toml index b906dae53..e55f67ac0 100644 --- a/framework-crates/objc2-quartz-core/Cargo.toml +++ b/framework-crates/objc2-quartz-core/Cargo.toml @@ -49,7 +49,6 @@ objc2-metal = { path = "../objc2-metal", version = "0.2.2", default-features = f [package.metadata.docs.rs] default-target = "aarch64-apple-darwin" -features = ["all"] rustc-args = ["--cfg", "docsrs"] # Fix cross-crate link to objc2::topics targets = [ "aarch64-apple-darwin", @@ -61,7 +60,44 @@ targets = [ ] [features] -default = ["std"] +default = [ + "std", + "CAAnimation", + "CABase", + "CAConstraintLayoutManager", + "CADisplayLink", + "CAEDRMetadata", + "CAEmitterCell", + "CAEmitterLayer", + "CAFrameRateRange", + "CAGradientLayer", + "CALayer", + "CAMediaTiming", + "CAMediaTimingFunction", + "CAMetalDisplayLink", + "CAMetalLayer", + "CAOpenGLLayer", + "CARemoteLayerClient", + "CARemoteLayerServer", + "CARenderer", + "CAReplicatorLayer", + "CAScrollLayer", + "CAShapeLayer", + "CATextLayer", + "CATiledLayer", + "CATransaction", + "CATransform3D", + "CATransformLayer", + "CAValueFunction", + "CoreAnimation", + "bitflags", + "block2", + "libc", + "objc2-core-foundation", + "objc2-core-graphics", + "objc2-core-video", + "objc2-metal", +] std = ["alloc"] alloc = [] gnustep-1-7 = [] @@ -169,40 +205,3 @@ CAValueFunction = [ "objc2-foundation/NSString", ] CoreAnimation = [] -all = [ - "CAAnimation", - "CABase", - "CAConstraintLayoutManager", - "CADisplayLink", - "CAEDRMetadata", - "CAEmitterCell", - "CAEmitterLayer", - "CAFrameRateRange", - "CAGradientLayer", - "CALayer", - "CAMediaTiming", - "CAMediaTimingFunction", - "CAMetalDisplayLink", - "CAMetalLayer", - "CAOpenGLLayer", - "CARemoteLayerClient", - "CARemoteLayerServer", - "CARenderer", - "CAReplicatorLayer", - "CAScrollLayer", - "CAShapeLayer", - "CATextLayer", - "CATiledLayer", - "CATransaction", - "CATransform3D", - "CATransformLayer", - "CAValueFunction", - "CoreAnimation", - "bitflags", - "block2", - "libc", - "objc2-core-foundation", - "objc2-core-graphics", - "objc2-core-video", - "objc2-metal", -] diff --git a/framework-crates/objc2-scene-kit/Cargo.toml b/framework-crates/objc2-scene-kit/Cargo.toml index eab31f662..593e1ece0 100644 --- a/framework-crates/objc2-scene-kit/Cargo.toml +++ b/framework-crates/objc2-scene-kit/Cargo.toml @@ -89,7 +89,6 @@ objc2-quartz-core = { path = "../objc2-quartz-core", version = "0.2.2", default- [package.metadata.docs.rs] default-target = "aarch64-apple-darwin" -features = ["all"] rustc-args = ["--cfg", "docsrs"] # Fix cross-crate link to objc2::topics targets = [ "aarch64-apple-darwin", @@ -102,7 +101,59 @@ targets = [ ] [features] -default = ["std"] +default = [ + "std", + "ModelIO", + "SCNAction", + "SCNAnimation", + "SCNAudioSource", + "SCNBoundingVolume", + "SCNCAAnimationExtensions", + "SCNCamera", + "SCNCameraController", + "SCNConstraint", + "SCNGeometry", + "SCNHitTest", + "SCNJavascript", + "SCNLayer", + "SCNLevelOfDetail", + "SCNLight", + "SCNMaterial", + "SCNMaterialProperty", + "SCNMorpher", + "SCNNode", + "SCNParametricGeometry", + "SCNParticleSystem", + "SCNPhysicsBehavior", + "SCNPhysicsBody", + "SCNPhysicsContact", + "SCNPhysicsField", + "SCNPhysicsShape", + "SCNPhysicsWorld", + "SCNReferenceNode", + "SCNRenderer", + "SCNScene", + "SCNSceneRenderer", + "SCNSceneSource", + "SCNShadable", + "SCNSkinner", + "SCNTechnique", + "SCNTransaction", + "SCNView", + "SceneKitAvailability", + "SceneKitDeprecated", + "SceneKitTypes", + "bitflags", + "block2", + "objc2-app-kit", + "objc2-avf-audio", + "objc2-core-foundation", + "objc2-core-graphics", + "objc2-core-image", + "objc2-metal", + "objc2-model-io", + "objc2-quartz-core", +] std = ["alloc"] alloc = [] bitflags = ["dep:bitflags"] @@ -293,55 +344,3 @@ SceneKitTypes = [ "objc2-foundation/NSString", "objc2-foundation/NSValue", ] -all = [ - "ModelIO", - "SCNAction", - "SCNAnimation", - "SCNAudioSource", - "SCNBoundingVolume", - "SCNCAAnimationExtensions", - "SCNCamera", - "SCNCameraController", - "SCNConstraint", - "SCNGeometry", - "SCNHitTest", - "SCNJavascript", - "SCNLayer", - "SCNLevelOfDetail", - "SCNLight", - "SCNMaterial", - "SCNMaterialProperty", - "SCNMorpher", - "SCNNode", - "SCNParametricGeometry", - "SCNParticleSystem", - "SCNPhysicsBehavior", - "SCNPhysicsBody", - "SCNPhysicsContact", - "SCNPhysicsField", - "SCNPhysicsShape", - "SCNPhysicsWorld", - "SCNReferenceNode", - "SCNRenderer", - "SCNScene", - "SCNSceneRenderer", - "SCNSceneSource", - "SCNShadable", - "SCNSkinner", - "SCNTechnique", - "SCNTransaction", - "SCNView", - "SceneKitAvailability", - "SceneKitDeprecated", - "SceneKitTypes", - "bitflags", - "block2", - "objc2-app-kit", - "objc2-avf-audio", - "objc2-core-foundation", - "objc2-core-graphics", - "objc2-core-image", - "objc2-metal", - "objc2-model-io", - "objc2-quartz-core", -] diff --git a/framework-crates/objc2-screen-capture-kit/Cargo.toml b/framework-crates/objc2-screen-capture-kit/Cargo.toml index c26bd5dd2..1900bb716 100644 --- a/framework-crates/objc2-screen-capture-kit/Cargo.toml +++ b/framework-crates/objc2-screen-capture-kit/Cargo.toml @@ -46,7 +46,6 @@ objc2-foundation = { path = "../objc2-foundation", version = "0.2.2", default-fe [package.metadata.docs.rs] default-target = "aarch64-apple-darwin" -features = ["all"] rustc-args = ["--cfg", "docsrs"] # Fix cross-crate link to objc2::topics targets = [ "aarch64-apple-darwin", @@ -54,7 +53,22 @@ targets = [ ] [features] -default = ["std"] +default = [ + "std", + "SCContentSharingPicker", + "SCError", + "SCRecordingOutput", + "SCScreenshotManager", + "SCShareableContent", + "SCStream", + "bitflags", + "block2", + "libc", + "objc2-av-foundation", + "objc2-core-foundation", + "objc2-core-graphics", + "objc2-core-media", +] std = ["alloc"] alloc = [] bitflags = ["dep:bitflags"] @@ -89,18 +103,3 @@ SCStream = [ "objc2-foundation/NSError", "objc2-foundation/NSString", ] -all = [ - "SCContentSharingPicker", - "SCError", - "SCRecordingOutput", - "SCScreenshotManager", - "SCShareableContent", - "SCStream", - "bitflags", - "block2", - "libc", - "objc2-av-foundation", - "objc2-core-foundation", - "objc2-core-graphics", - "objc2-core-media", -] diff --git a/framework-crates/objc2-screen-saver/Cargo.toml b/framework-crates/objc2-screen-saver/Cargo.toml index 41f3c668c..100c4b3cd 100644 --- a/framework-crates/objc2-screen-saver/Cargo.toml +++ b/framework-crates/objc2-screen-saver/Cargo.toml @@ -32,7 +32,6 @@ objc2-foundation = { path = "../objc2-foundation", version = "0.2.2", default-fe [package.metadata.docs.rs] default-target = "aarch64-apple-darwin" -features = ["all"] rustc-args = ["--cfg", "docsrs"] # Fix cross-crate link to objc2::topics targets = [ "aarch64-apple-darwin", @@ -40,7 +39,12 @@ targets = [ ] [features] -default = ["std"] +default = [ + "std", + "ScreenSaverDefaults", + "ScreenSaverView", + "objc2-app-kit", +] std = ["alloc"] alloc = [] objc2-app-kit = ["dep:objc2-app-kit"] @@ -56,8 +60,3 @@ ScreenSaverView = [ "objc2-foundation/NSObject", "objc2-foundation/objc2-core-foundation", ] -all = [ - "ScreenSaverDefaults", - "ScreenSaverView", - "objc2-app-kit", -] diff --git a/framework-crates/objc2-security/Cargo.toml b/framework-crates/objc2-security/Cargo.toml index fa32b8494..27948e645 100644 --- a/framework-crates/objc2-security/Cargo.toml +++ b/framework-crates/objc2-security/Cargo.toml @@ -24,7 +24,6 @@ objc2-core-foundation = { path = "../objc2-core-foundation", version = "0.2.2", [package.metadata.docs.rs] default-target = "aarch64-apple-darwin" -features = ["all"] rustc-args = ["--cfg", "docsrs"] # Fix cross-crate link to objc2::topics targets = [ "aarch64-apple-darwin", @@ -37,7 +36,94 @@ targets = [ ] [features] -default = ["std"] +default = [ + "std", + "AuthSession", + "Authorization", + "AuthorizationDB", + "AuthorizationPlugin", + "AuthorizationTags", + "CMSDecoder", + "CMSEncoder", + "CSCommon", + "CipherSuite", + "CodeSigning", + "SecACL", + "SecAccess", + "SecAccessControl", + "SecAsn1Coder", + "SecAsn1Templates", + "SecAsn1Types", + "SecBase", + "SecCertificate", + "SecCertificateOIDs", + "SecCode", + "SecCodeHost", + "SecCustomTransform", + "SecDecodeTransform", + "SecDigestTransform", + "SecEncodeTransform", + "SecEncryptTransform", + "SecIdentity", + "SecIdentitySearch", + "SecImportExport", + "SecItem", + "SecKey", + "SecKeychain", + "SecKeychainItem", + "SecKeychainSearch", + "SecPolicy", + "SecPolicySearch", + "SecProtocolMetadata", + "SecProtocolObject", + "SecProtocolOptions", + "SecProtocolTypes", + "SecRandom", + "SecReadTransform", + "SecRequirement", + "SecSharedCredential", + "SecSignVerifyTransform", + "SecStaticCode", + "SecTask", + "SecTransform", + "SecTransformReadTransform", + "SecTrust", + "SecTrustSettings", + "SecTrustedApplication", + "SecureDownload", + "SecureTransport", + "bitflags", + "block2", + "certextensions", + "cssm", + "cssmaci", + "cssmapi", + "cssmapple", + "cssmcli", + "cssmconfig", + "cssmcspi", + "cssmdli", + "cssmerr", + "cssmkrapi", + "cssmkrspi", + "cssmspi", + "cssmtpi", + "cssmtype", + "eisl", + "emmspi", + "emmtype", + "libc", + "mds", + "mds_schema", + "objc2", + "oids", + "oidsalg", + "oidsattr", + "oidsbase", + "oidscert", + "oidscrl", + "x509defs", +] std = ["alloc"] alloc = [] bitflags = ["dep:bitflags"] @@ -249,93 +335,6 @@ SecureTransport = [ "objc2-core-foundation/CFBase", "objc2-core-foundation/CFData", ] -all = [ - "AuthSession", - "Authorization", - "AuthorizationDB", - "AuthorizationPlugin", - "AuthorizationTags", - "CMSDecoder", - "CMSEncoder", - "CSCommon", - "CipherSuite", - "CodeSigning", - "SecACL", - "SecAccess", - "SecAccessControl", - "SecAsn1Coder", - "SecAsn1Templates", - "SecAsn1Types", - "SecBase", - "SecCertificate", - "SecCertificateOIDs", - "SecCode", - "SecCodeHost", - "SecCustomTransform", - "SecDecodeTransform", - "SecDigestTransform", - "SecEncodeTransform", - "SecEncryptTransform", - "SecIdentity", - "SecIdentitySearch", - "SecImportExport", - "SecItem", - "SecKey", - "SecKeychain", - "SecKeychainItem", - "SecKeychainSearch", - "SecPolicy", - "SecPolicySearch", - "SecProtocolMetadata", - "SecProtocolObject", - "SecProtocolOptions", - "SecProtocolTypes", - "SecRandom", - "SecReadTransform", - "SecRequirement", - "SecSharedCredential", - "SecSignVerifyTransform", - "SecStaticCode", - "SecTask", - "SecTransform", - "SecTransformReadTransform", - "SecTrust", - "SecTrustSettings", - "SecTrustedApplication", - "SecureDownload", - "SecureTransport", - "bitflags", - "block2", - "certextensions", - "cssm", - "cssmaci", - "cssmapi", - "cssmapple", - "cssmcli", - "cssmconfig", - "cssmcspi", - "cssmdli", - "cssmerr", - "cssmkrapi", - "cssmkrspi", - "cssmspi", - "cssmtpi", - "cssmtype", - "eisl", - "emmspi", - "emmtype", - "libc", - "mds", - "mds_schema", - "objc2", - "oids", - "oidsalg", - "oidsattr", - "oidsbase", - "oidscert", - "oidscrl", - "x509defs", -] certextensions = [] cssm = [] cssmaci = [] diff --git a/framework-crates/objc2-sensitive-content-analysis/Cargo.toml b/framework-crates/objc2-sensitive-content-analysis/Cargo.toml index 9ba33ab4d..7c2f93704 100644 --- a/framework-crates/objc2-sensitive-content-analysis/Cargo.toml +++ b/framework-crates/objc2-sensitive-content-analysis/Cargo.toml @@ -26,7 +26,6 @@ objc2-foundation = { path = "../objc2-foundation", version = "0.2.2", default-fe [package.metadata.docs.rs] default-target = "aarch64-apple-darwin" -features = ["all"] rustc-args = ["--cfg", "docsrs"] # Fix cross-crate link to objc2::topics targets = [ "aarch64-apple-darwin", @@ -36,7 +35,13 @@ targets = [ ] [features] -default = ["std"] +default = [ + "std", + "SCSensitivityAnalysis", + "SCSensitivityAnalyzer", + "block2", + "objc2-core-graphics", +] std = ["alloc"] alloc = [] block2 = ["dep:block2"] @@ -48,9 +53,3 @@ SCSensitivityAnalyzer = [ "objc2-foundation/NSProgress", "objc2-foundation/NSURL", ] -all = [ - "SCSensitivityAnalysis", - "SCSensitivityAnalyzer", - "block2", - "objc2-core-graphics", -] diff --git a/framework-crates/objc2-service-management/Cargo.toml b/framework-crates/objc2-service-management/Cargo.toml index 446dc9f1e..73b8c18ad 100644 --- a/framework-crates/objc2-service-management/Cargo.toml +++ b/framework-crates/objc2-service-management/Cargo.toml @@ -22,7 +22,6 @@ objc2-foundation = { path = "../objc2-foundation", version = "0.2.2", default-fe [package.metadata.docs.rs] default-target = "aarch64-apple-darwin" -features = ["all"] rustc-args = ["--cfg", "docsrs"] # Fix cross-crate link to objc2::topics targets = [ "aarch64-apple-darwin", @@ -31,7 +30,13 @@ targets = [ ] [features] -default = ["std"] +default = [ + "std", + "SMAppService", + "SMErrors", + "SMLoginItem", + "block2", +] std = ["alloc"] alloc = [] block2 = ["dep:block2"] @@ -43,9 +48,3 @@ SMAppService = [ ] SMErrors = [] SMLoginItem = [] -all = [ - "SMAppService", - "SMErrors", - "SMLoginItem", - "block2", -] diff --git a/framework-crates/objc2-social/Cargo.toml b/framework-crates/objc2-social/Cargo.toml index 9b6c9b258..07fd3ad95 100644 --- a/framework-crates/objc2-social/Cargo.toml +++ b/framework-crates/objc2-social/Cargo.toml @@ -36,7 +36,6 @@ objc2-app-kit = { path = "../objc2-app-kit", version = "0.2.2", default-features [package.metadata.docs.rs] default-target = "aarch64-apple-darwin" -features = ["all"] rustc-args = ["--cfg", "docsrs"] # Fix cross-crate link to objc2::topics targets = [ "aarch64-apple-darwin", @@ -46,7 +45,16 @@ targets = [ ] [features] -default = ["std"] +default = [ + "std", + "SLComposeServiceViewController", + "SLRequest", + "SLServiceTypes", + "SocialDefines", + "block2", + "objc2-accounts", + "objc2-app-kit", +] std = ["alloc"] alloc = [] block2 = ["dep:block2"] @@ -71,12 +79,3 @@ SLRequest = [ ] SLServiceTypes = ["objc2-foundation/NSString"] SocialDefines = [] -all = [ - "SLComposeServiceViewController", - "SLRequest", - "SLServiceTypes", - "SocialDefines", - "block2", - "objc2-accounts", - "objc2-app-kit", -] diff --git a/framework-crates/objc2-sound-analysis/Cargo.toml b/framework-crates/objc2-sound-analysis/Cargo.toml index 138c2732e..167950037 100644 --- a/framework-crates/objc2-sound-analysis/Cargo.toml +++ b/framework-crates/objc2-sound-analysis/Cargo.toml @@ -33,7 +33,6 @@ objc2-foundation = { path = "../objc2-foundation", version = "0.2.2", default-fe [package.metadata.docs.rs] default-target = "aarch64-apple-darwin" -features = ["all"] rustc-args = ["--cfg", "docsrs"] # Fix cross-crate link to objc2::topics targets = [ "aarch64-apple-darwin", @@ -46,7 +45,22 @@ targets = [ ] [features] -default = ["std"] +default = [ + "std", + "SNAnalyzer", + "SNClassificationResult", + "SNClassifySoundRequest", + "SNDefines", + "SNError", + "SNRequest", + "SNResult", + "SNTimeDurationConstraint", + "SNTypes", + "block2", + "objc2-avf-audio", + "objc2-core-media", + "objc2-core-ml", +] std = ["alloc"] alloc = [] block2 = ["dep:block2"] @@ -76,18 +90,3 @@ SNTimeDurationConstraint = [ "objc2-foundation/NSValue", ] SNTypes = ["objc2-foundation/NSString"] -all = [ - "SNAnalyzer", - "SNClassificationResult", - "SNClassifySoundRequest", - "SNDefines", - "SNError", - "SNRequest", - "SNResult", - "SNTimeDurationConstraint", - "SNTypes", - "block2", - "objc2-avf-audio", - "objc2-core-media", - "objc2-core-ml", -] diff --git a/framework-crates/objc2-speech/Cargo.toml b/framework-crates/objc2-speech/Cargo.toml index 3e22b0248..00fa081c2 100644 --- a/framework-crates/objc2-speech/Cargo.toml +++ b/framework-crates/objc2-speech/Cargo.toml @@ -30,7 +30,6 @@ objc2-foundation = { path = "../objc2-foundation", version = "0.2.2", default-fe [package.metadata.docs.rs] default-target = "aarch64-apple-darwin" -features = ["all"] rustc-args = ["--cfg", "docsrs"] # Fix cross-crate link to objc2::topics targets = [ "aarch64-apple-darwin", @@ -41,7 +40,23 @@ targets = [ ] [features] -default = ["std"] +default = [ + "std", + "SFErrors", + "SFSpeechLanguageModel", + "SFSpeechRecognitionMetadata", + "SFSpeechRecognitionRequest", + "SFSpeechRecognitionResult", + "SFSpeechRecognitionTask", + "SFSpeechRecognitionTaskHint", + "SFSpeechRecognizer", + "SFTranscription", + "SFTranscriptionSegment", + "SFVoiceAnalytics", + "block2", + "objc2-avf-audio", + "objc2-core-media", +] std = ["alloc"] alloc = [] block2 = ["dep:block2"] @@ -101,19 +116,3 @@ SFVoiceAnalytics = [ "objc2-foundation/NSObject", "objc2-foundation/NSValue", ] -all = [ - "SFErrors", - "SFSpeechLanguageModel", - "SFSpeechRecognitionMetadata", - "SFSpeechRecognitionRequest", - "SFSpeechRecognitionResult", - "SFSpeechRecognitionTask", - "SFSpeechRecognitionTaskHint", - "SFSpeechRecognizer", - "SFTranscription", - "SFTranscriptionSegment", - "SFVoiceAnalytics", - "block2", - "objc2-avf-audio", - "objc2-core-media", -] diff --git a/framework-crates/objc2-sprite-kit/Cargo.toml b/framework-crates/objc2-sprite-kit/Cargo.toml index a60720c13..17c16ef57 100644 --- a/framework-crates/objc2-sprite-kit/Cargo.toml +++ b/framework-crates/objc2-sprite-kit/Cargo.toml @@ -63,7 +63,6 @@ objc2-metal = { path = "../objc2-metal", version = "0.2.2", default-features = f [package.metadata.docs.rs] default-target = "aarch64-apple-darwin" -features = ["all"] rustc-args = ["--cfg", "docsrs"] # Fix cross-crate link to objc2::topics targets = [ "aarch64-apple-darwin", @@ -76,7 +75,59 @@ targets = [ ] [features] -default = ["std"] +default = [ + "std", + "SK3DNode", + "SKAction", + "SKAttribute", + "SKAudioNode", + "SKCameraNode", + "SKConstraint", + "SKCropNode", + "SKEffectNode", + "SKEmitterNode", + "SKFieldNode", + "SKKeyframeSequence", + "SKLabelNode", + "SKLightNode", + "SKMutableTexture", + "SKNode", + "SKNode_NSAccessibility", + "SKPhysicsBody", + "SKPhysicsContact", + "SKPhysicsJoint", + "SKPhysicsWorld", + "SKReachConstraints", + "SKReferenceNode", + "SKRegion", + "SKRenderer", + "SKScene", + "SKShader", + "SKShapeNode", + "SKSpriteNode", + "SKTexture", + "SKTextureAtlas", + "SKTileDefinition", + "SKTileMapNode", + "SKTileSet", + "SKTransformNode", + "SKTransition", + "SKUniform", + "SKVersion", + "SKVideoNode", + "SKView", + "SKWarpGeometry", + "SpriteKitBase", + "bitflags", + "block2", + "objc2-app-kit", + "objc2-av-foundation", + "objc2-avf-audio", + "objc2-core-foundation", + "objc2-core-graphics", + "objc2-core-image", + "objc2-metal", +] std = ["alloc"] alloc = [] bitflags = ["dep:bitflags"] @@ -316,55 +367,3 @@ SKWarpGeometry = [ "objc2-foundation/NSValue", ] SpriteKitBase = [] -all = [ - "SK3DNode", - "SKAction", - "SKAttribute", - "SKAudioNode", - "SKCameraNode", - "SKConstraint", - "SKCropNode", - "SKEffectNode", - "SKEmitterNode", - "SKFieldNode", - "SKKeyframeSequence", - "SKLabelNode", - "SKLightNode", - "SKMutableTexture", - "SKNode", - "SKNode_NSAccessibility", - "SKPhysicsBody", - "SKPhysicsContact", - "SKPhysicsJoint", - "SKPhysicsWorld", - "SKReachConstraints", - "SKReferenceNode", - "SKRegion", - "SKRenderer", - "SKScene", - "SKShader", - "SKShapeNode", - "SKSpriteNode", - "SKTexture", - "SKTextureAtlas", - "SKTileDefinition", - "SKTileMapNode", - "SKTileSet", - "SKTransformNode", - "SKTransition", - "SKUniform", - "SKVersion", - "SKVideoNode", - "SKView", - "SKWarpGeometry", - "SpriteKitBase", - "bitflags", - "block2", - "objc2-app-kit", - "objc2-av-foundation", - "objc2-avf-audio", - "objc2-core-foundation", - "objc2-core-graphics", - "objc2-core-image", - "objc2-metal", -] diff --git a/framework-crates/objc2-store-kit/Cargo.toml b/framework-crates/objc2-store-kit/Cargo.toml index d0502c500..922a8090b 100644 --- a/framework-crates/objc2-store-kit/Cargo.toml +++ b/framework-crates/objc2-store-kit/Cargo.toml @@ -37,7 +37,6 @@ objc2-app-kit = { path = "../objc2-app-kit", version = "0.2.2", default-features [package.metadata.docs.rs] default-target = "aarch64-apple-darwin" -features = ["all"] rustc-args = ["--cfg", "docsrs"] # Fix cross-crate link to objc2::topics targets = [ "aarch64-apple-darwin", @@ -50,7 +49,38 @@ targets = [ ] [features] -default = ["std"] +default = [ + "std", + "SKANError", + "SKAdImpression", + "SKAdNetwork", + "SKArcadeService", + "SKCloudServiceController", + "SKCloudServiceSetupViewController", + "SKDownload", + "SKError", + "SKOverlay", + "SKOverlayConfiguration", + "SKOverlayTransitionContext", + "SKPayment", + "SKPaymentDiscount", + "SKPaymentQueue", + "SKPaymentTransaction", + "SKProduct", + "SKProductDiscount", + "SKProductStorePromotionController", + "SKProductsRequest", + "SKReceiptRefreshRequest", + "SKRequest", + "SKStoreProductViewController", + "SKStoreReviewController", + "SKStorefront", + "StoreKitDefines", + "bitflags", + "block2", + "objc2-app-kit", + "objc2-core-foundation", +] std = ["alloc"] alloc = [] bitflags = ["dep:bitflags"] @@ -156,34 +186,3 @@ SKStoreProductViewController = [ SKStoreReviewController = [] SKStorefront = ["objc2-foundation/NSString"] StoreKitDefines = [] -all = [ - "SKANError", - "SKAdImpression", - "SKAdNetwork", - "SKArcadeService", - "SKCloudServiceController", - "SKCloudServiceSetupViewController", - "SKDownload", - "SKError", - "SKOverlay", - "SKOverlayConfiguration", - "SKOverlayTransitionContext", - "SKPayment", - "SKPaymentDiscount", - "SKPaymentQueue", - "SKPaymentTransaction", - "SKProduct", - "SKProductDiscount", - "SKProductStorePromotionController", - "SKProductsRequest", - "SKReceiptRefreshRequest", - "SKRequest", - "SKStoreProductViewController", - "SKStoreReviewController", - "SKStorefront", - "StoreKitDefines", - "bitflags", - "block2", - "objc2-app-kit", - "objc2-core-foundation", -] diff --git a/framework-crates/objc2-symbols/Cargo.toml b/framework-crates/objc2-symbols/Cargo.toml index a1daf9d0b..ded67c803 100644 --- a/framework-crates/objc2-symbols/Cargo.toml +++ b/framework-crates/objc2-symbols/Cargo.toml @@ -21,7 +21,6 @@ objc2-foundation = { path = "../objc2-foundation", version = "0.2.2", default-fe [package.metadata.docs.rs] default-target = "aarch64-apple-darwin" -features = ["all"] rustc-args = ["--cfg", "docsrs"] # Fix cross-crate link to objc2::topics targets = [ "aarch64-apple-darwin", @@ -34,9 +33,11 @@ targets = [ ] [features] -default = ["std"] +default = [ + "std", + "NSSymbolEffect", +] std = ["alloc"] alloc = [] NSSymbolEffect = ["objc2-foundation/NSObject"] -all = ["NSSymbolEffect"] diff --git a/framework-crates/objc2-system-configuration/Cargo.toml b/framework-crates/objc2-system-configuration/Cargo.toml index 1f989ba9f..f6347b69b 100644 --- a/framework-crates/objc2-system-configuration/Cargo.toml +++ b/framework-crates/objc2-system-configuration/Cargo.toml @@ -27,7 +27,6 @@ objc2-security = { path = "../objc2-security", version = "0.2.2", default-featur [package.metadata.docs.rs] default-target = "aarch64-apple-darwin" -features = ["all"] rustc-args = ["--cfg", "docsrs"] # Fix cross-crate link to objc2::topics targets = [ "aarch64-apple-darwin", @@ -39,7 +38,27 @@ targets = [ ] [features] -default = ["std"] +default = [ + "std", + "CaptiveNetwork", + "DHCPClientPreferences", + "SCDynamicStore", + "SCDynamicStoreCopyDHCPInfo", + "SCDynamicStoreCopySpecific", + "SCDynamicStoreKey", + "SCNetwork", + "SCNetworkConfiguration", + "SCNetworkConnection", + "SCNetworkReachability", + "SCPreferences", + "SCPreferencesPath", + "SCPreferencesSetSpecific", + "SCSchemaDefinitions", + "bitflags", + "libc", + "objc2", + "objc2-security", +] std = ["alloc"] alloc = [] bitflags = ["dep:bitflags"] @@ -104,23 +123,3 @@ SCPreferencesSetSpecific = [ "objc2-core-foundation/CFString", ] SCSchemaDefinitions = ["objc2-core-foundation/CFBase"] -all = [ - "CaptiveNetwork", - "DHCPClientPreferences", - "SCDynamicStore", - "SCDynamicStoreCopyDHCPInfo", - "SCDynamicStoreCopySpecific", - "SCDynamicStoreKey", - "SCNetwork", - "SCNetworkConfiguration", - "SCNetworkConnection", - "SCNetworkReachability", - "SCPreferences", - "SCPreferencesPath", - "SCPreferencesSetSpecific", - "SCSchemaDefinitions", - "bitflags", - "libc", - "objc2", - "objc2-security", -] diff --git a/framework-crates/objc2-system-extensions/Cargo.toml b/framework-crates/objc2-system-extensions/Cargo.toml index 2f69f73c8..6441cd8b4 100644 --- a/framework-crates/objc2-system-extensions/Cargo.toml +++ b/framework-crates/objc2-system-extensions/Cargo.toml @@ -27,7 +27,6 @@ objc2-foundation = { path = "../objc2-foundation", version = "0.2.2", default-fe [package.metadata.docs.rs] default-target = "aarch64-apple-darwin" -features = ["all"] rustc-args = ["--cfg", "docsrs"] # Fix cross-crate link to objc2::topics targets = [ "aarch64-apple-darwin", @@ -38,5 +37,3 @@ targets = [ default = ["std"] std = ["alloc"] alloc = [] - -all = [] diff --git a/framework-crates/objc2-ui-kit/Cargo.toml b/framework-crates/objc2-ui-kit/Cargo.toml index f18b9728c..da12a4951 100644 --- a/framework-crates/objc2-ui-kit/Cargo.toml +++ b/framework-crates/objc2-ui-kit/Cargo.toml @@ -65,7 +65,6 @@ objc2-quartz-core = { path = "../objc2-quartz-core", version = "0.2.2", default- [package.metadata.docs.rs] default-target = "aarch64-apple-ios" -features = ["all"] rustc-args = ["--cfg", "docsrs"] # Fix cross-crate link to objc2::topics targets = [ "aarch64-apple-ios", @@ -75,1653 +74,14 @@ targets = [ "aarch64-apple-ios-macabi", "aarch64-apple-visionos", ] +features = [ + "objc2-symbols", + "objc2-uniform-type-identifiers", +] [features] -default = ["std"] -std = ["alloc"] -alloc = [] -bitflags = ["dep:bitflags"] -block2 = ["dep:block2"] -objc2-cloud-kit = ["dep:objc2-cloud-kit"] -objc2-core-data = ["dep:objc2-core-data"] -objc2-core-foundation = ["dep:objc2-core-foundation"] -objc2-core-graphics = ["dep:objc2-core-graphics"] -objc2-core-image = ["dep:objc2-core-image"] -objc2-core-location = ["dep:objc2-core-location"] -objc2-quartz-core = ["dep:objc2-quartz-core"] -objc2-symbols = ["dep:objc2-symbols"] -objc2-uniform-type-identifiers = ["dep:objc2-uniform-type-identifiers"] -objc2-user-notifications = ["dep:objc2-user-notifications"] - -DocumentManager = [] -NSAdaptiveImageGlyph = [ - "objc2-foundation/NSAttributedString", - "objc2-foundation/NSCoder", - "objc2-foundation/NSData", - "objc2-foundation/NSDictionary", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -NSAttributedString = [ - "bitflags", - "objc2-foundation/NSAttributedString", - "objc2-foundation/NSData", - "objc2-foundation/NSDictionary", - "objc2-foundation/NSError", - "objc2-foundation/NSFileWrapper", - "objc2-foundation/NSRange", - "objc2-foundation/NSString", - "objc2-foundation/NSURL", -] -NSDataAsset = [ - "objc2-foundation/NSBundle", - "objc2-foundation/NSData", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -NSDiffableDataSourceSectionSnapshot = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -NSFileProviderExtension = [] -NSIndexPath_UIKitAdditions = ["objc2-foundation/NSIndexPath"] -NSItemProvider_UIKitAdditions = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSData", - "objc2-foundation/NSError", - "objc2-foundation/NSItemProvider", - "objc2-foundation/NSString", -] -NSLayoutAnchor = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -NSLayoutConstraint = [ - "bitflags", - "objc2-foundation/NSArray", - "objc2-foundation/NSDictionary", - "objc2-foundation/NSString", -] -NSLayoutManager = [ - "bitflags", - "objc2-foundation/NSArray", - "objc2-foundation/NSAttributedString", - "objc2-foundation/NSCoder", - "objc2-foundation/NSDictionary", - "objc2-foundation/NSObject", - "objc2-foundation/NSRange", - "objc2-foundation/NSString", -] -NSParagraphStyle = [ - "bitflags", - "objc2-foundation/NSArray", - "objc2-foundation/NSCharacterSet", - "objc2-foundation/NSDictionary", - "objc2-foundation/NSLocale", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -NSShadow = [ - "objc2-foundation/NSCoder", - "objc2-foundation/NSObject", -] -NSStringDrawing = [ - "bitflags", - "objc2-foundation/NSAttributedString", - "objc2-foundation/NSDictionary", - "objc2-foundation/NSString", -] -NSText = [] -NSTextAttachment = [ - "objc2-foundation/NSAttributedString", - "objc2-foundation/NSData", - "objc2-foundation/NSDictionary", - "objc2-foundation/NSFileWrapper", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -NSTextContainer = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSCoder", - "objc2-foundation/NSObject", -] -NSTextContentManager = [ - "bitflags", - "objc2-foundation/NSArray", - "objc2-foundation/NSAttributedString", - "objc2-foundation/NSCoder", - "objc2-foundation/NSError", - "objc2-foundation/NSNotification", - "objc2-foundation/NSObject", - "objc2-foundation/NSRange", - "objc2-foundation/NSString", -] -NSTextElement = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSAttributedString", -] -NSTextLayoutFragment = [ - "bitflags", - "objc2-foundation/NSArray", - "objc2-foundation/NSCoder", - "objc2-foundation/NSObject", - "objc2-foundation/NSOperation", -] -NSTextLayoutManager = [ - "bitflags", - "objc2-foundation/NSArray", - "objc2-foundation/NSAttributedString", - "objc2-foundation/NSCoder", - "objc2-foundation/NSDictionary", - "objc2-foundation/NSObject", - "objc2-foundation/NSOperation", - "objc2-foundation/NSString", -] -NSTextLineFragment = [ - "objc2-foundation/NSAttributedString", - "objc2-foundation/NSCoder", - "objc2-foundation/NSDictionary", - "objc2-foundation/NSObject", - "objc2-foundation/NSRange", - "objc2-foundation/NSString", -] -NSTextList = [ - "bitflags", - "objc2-foundation/NSCoder", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -NSTextListElement = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSAttributedString", - "objc2-foundation/NSDictionary", - "objc2-foundation/NSString", -] -NSTextRange = ["objc2-foundation/NSObjCRuntime"] -NSTextSelection = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSAttributedString", - "objc2-foundation/NSCoder", - "objc2-foundation/NSDictionary", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -NSTextSelectionNavigation = [ - "bitflags", - "objc2-foundation/NSArray", - "objc2-foundation/NSString", -] -NSTextStorage = [ - "bitflags", - "objc2-foundation/NSArray", - "objc2-foundation/NSAttributedString", - "objc2-foundation/NSNotification", - "objc2-foundation/NSObject", - "objc2-foundation/NSRange", - "objc2-foundation/NSString", -] -NSTextViewportLayoutController = [] -NSToolbar_UIKitAdditions = [] -NSTouchBar_UIKitAdditions = [] -NSUserActivity_NSItemProvider = [] -PrintKitUI = [] -ShareSheet = [] -UIAccelerometer = ["objc2-foundation/NSDate"] -UIAccessibility = [ - "bitflags", - "objc2-foundation/NSArray", - "objc2-foundation/NSAttributedString", - "objc2-foundation/NSNotification", - "objc2-foundation/NSSet", - "objc2-foundation/NSString", -] -UIAccessibilityAdditions = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSAttributedString", - "objc2-foundation/NSString", -] -UIAccessibilityConstants = [ - "bitflags", - "objc2-foundation/NSAttributedString", - "objc2-foundation/NSNotification", - "objc2-foundation/NSString", -] -UIAccessibilityContainer = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSRange", -] -UIAccessibilityContentSizeCategoryImageAdjusting = [] -UIAccessibilityCustomAction = [ - "objc2-foundation/NSAttributedString", - "objc2-foundation/NSString", -] -UIAccessibilityCustomRotor = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSAttributedString", - "objc2-foundation/NSString", -] -UIAccessibilityElement = ["objc2-foundation/NSString"] -UIAccessibilityIdentification = ["objc2-foundation/NSString"] -UIAccessibilityLocationDescriptor = [ - "objc2-foundation/NSAttributedString", - "objc2-foundation/NSString", -] -UIAccessibilityZoom = [] -UIAction = [ - "objc2-foundation/NSCoder", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -UIActionSheet = [ - "objc2-foundation/NSCoder", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -UIActivity = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSString", -] -UIActivityCollaborationModeRestriction = [ - "objc2-foundation/NSObject", - "objc2-foundation/NSString", - "objc2-foundation/NSURL", -] -UIActivityIndicatorView = [ - "objc2-foundation/NSCoder", - "objc2-foundation/NSObject", -] -UIActivityItemProvider = [ - "objc2-foundation/NSOperation", - "objc2-foundation/NSString", -] -UIActivityItemsConfiguration = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSItemProvider", - "objc2-foundation/NSString", -] -UIActivityItemsConfigurationReading = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSItemProvider", - "objc2-foundation/NSString", -] -UIActivityItemsConfigurationReading_ShareSheet = ["objc2-foundation/NSString"] -UIActivityViewController = [ - "bitflags", - "objc2-foundation/NSArray", - "objc2-foundation/NSBundle", - "objc2-foundation/NSCoder", - "objc2-foundation/NSError", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -UIAlert = [] -UIAlertController = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSBundle", - "objc2-foundation/NSCoder", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -UIAlertView = [ - "objc2-foundation/NSCoder", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -UIAppearance = ["objc2-foundation/NSArray"] -UIApplication = [ - "bitflags", - "objc2-foundation/NSArray", - "objc2-foundation/NSCoder", - "objc2-foundation/NSData", - "objc2-foundation/NSDate", - "objc2-foundation/NSDictionary", - "objc2-foundation/NSError", - "objc2-foundation/NSNotification", - "objc2-foundation/NSObjCRuntime", - "objc2-foundation/NSSet", - "objc2-foundation/NSString", - "objc2-foundation/NSURL", - "objc2-foundation/NSUserActivity", -] -UIApplicationShortcutItem = [ - "objc2-foundation/NSDictionary", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -UIAttachmentBehavior = ["objc2-foundation/NSArray"] -UIBackgroundConfiguration = ["objc2-foundation/NSObject"] -UIBandSelectionInteraction = [] -UIBarAppearance = [ - "objc2-foundation/NSCoder", - "objc2-foundation/NSObject", -] -UIBarButtonItem = [ - "objc2-foundation/NSCoder", - "objc2-foundation/NSObject", - "objc2-foundation/NSSet", - "objc2-foundation/NSString", -] -UIBarButtonItemAppearance = [ - "objc2-foundation/NSAttributedString", - "objc2-foundation/NSCoder", - "objc2-foundation/NSDictionary", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -UIBarButtonItemGroup = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSCoder", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -UIBarCommon = [] -UIBarItem = [ - "objc2-foundation/NSAttributedString", - "objc2-foundation/NSCoder", - "objc2-foundation/NSDictionary", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -UIBehavioralStyle = [] -UIBezierPath = [ - "objc2-foundation/NSCoder", - "objc2-foundation/NSObject", -] -UIBlurEffect = ["objc2-foundation/NSObject"] -UIButton = [ - "objc2-foundation/NSAttributedString", - "objc2-foundation/NSCoder", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -UIButtonConfiguration = [ - "objc2-foundation/NSAttributedString", - "objc2-foundation/NSDictionary", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -UICalendarSelection = [] -UICalendarSelectionMultiDate = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSCalendar", -] -UICalendarSelectionSingleDate = ["objc2-foundation/NSCalendar"] -UICalendarSelectionWeekOfYear = ["objc2-foundation/NSCalendar"] -UICalendarView = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSCalendar", - "objc2-foundation/NSCoder", - "objc2-foundation/NSDateInterval", - "objc2-foundation/NSLocale", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", - "objc2-foundation/NSTimeZone", -] -UICalendarViewDecoration = [] -UICanvasFeedbackGenerator = [] -UICellAccessory = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSCoder", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -UICellConfigurationState = [ - "objc2-foundation/NSCoder", - "objc2-foundation/NSObject", -] -UICloudSharingController = [ - "bitflags", - "objc2-foundation/NSBundle", - "objc2-foundation/NSCoder", - "objc2-foundation/NSData", - "objc2-foundation/NSError", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -UICollectionLayoutList = [ - "bitflags", - "objc2-foundation/NSIndexPath", - "objc2-foundation/NSObject", -] -UICollectionView = [ - "bitflags", - "objc2-foundation/NSArray", - "objc2-foundation/NSCoder", - "objc2-foundation/NSIndexPath", - "objc2-foundation/NSIndexSet", - "objc2-foundation/NSObject", - "objc2-foundation/NSProgress", - "objc2-foundation/NSString", -] -UICollectionViewCell = [ - "objc2-foundation/NSCoder", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -UICollectionViewCompositionalLayout = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSCoder", - "objc2-foundation/NSIndexPath", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -UICollectionViewController = [ - "objc2-foundation/NSBundle", - "objc2-foundation/NSCoder", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -UICollectionViewFlowLayout = [ - "objc2-foundation/NSCoder", - "objc2-foundation/NSIndexPath", - "objc2-foundation/NSObject", -] -UICollectionViewItemRegistration = [ - "objc2-foundation/NSIndexPath", - "objc2-foundation/NSString", -] -UICollectionViewLayout = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSCoder", - "objc2-foundation/NSDictionary", - "objc2-foundation/NSIndexPath", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -UICollectionViewListCell = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSCoder", - "objc2-foundation/NSObject", -] -UICollectionViewTransitionLayout = [ - "objc2-foundation/NSCoder", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -UICollectionViewUpdateItem = ["objc2-foundation/NSIndexPath"] -UICollisionBehavior = [ - "bitflags", - "objc2-foundation/NSArray", - "objc2-foundation/NSObject", -] -UIColor = [ - "objc2-foundation/NSBundle", - "objc2-foundation/NSItemProvider", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -UIColorPickerViewController = [ - "objc2-foundation/NSBundle", - "objc2-foundation/NSCoder", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -UIColorWell = [ - "objc2-foundation/NSCoder", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -UICommand = [ - "bitflags", - "objc2-foundation/NSArray", - "objc2-foundation/NSCoder", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -UIConfigurationColorTransformer = [] -UIConfigurationState = [ - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -UIContentConfiguration = ["objc2-foundation/NSObject"] -UIContentSizeCategory = [ - "objc2-foundation/NSNotification", - "objc2-foundation/NSObjCRuntime", - "objc2-foundation/NSString", -] -UIContentSizeCategoryAdjusting = [] -UIContentUnavailableButtonProperties = ["objc2-foundation/NSObject"] -UIContentUnavailableConfiguration = [ - "objc2-foundation/NSAttributedString", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -UIContentUnavailableConfigurationState = [ - "objc2-foundation/NSCoder", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -UIContentUnavailableImageProperties = ["objc2-foundation/NSObject"] -UIContentUnavailableTextProperties = ["objc2-foundation/NSObject"] -UIContentUnavailableView = [ - "objc2-foundation/NSCoder", - "objc2-foundation/NSObject", -] -UIContextMenuConfiguration = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSObject", - "objc2-foundation/NSSet", -] -UIContextMenuInteraction = ["objc2-foundation/NSObject"] -UIContextualAction = ["objc2-foundation/NSString"] -UIControl = [ - "bitflags", - "objc2-foundation/NSArray", - "objc2-foundation/NSCoder", - "objc2-foundation/NSObject", - "objc2-foundation/NSSet", - "objc2-foundation/NSString", -] -UIDataDetectors = ["bitflags"] -UIDataSourceTranslating = ["objc2-foundation/NSIndexPath"] -UIDatePicker = [ - "objc2-foundation/NSCalendar", - "objc2-foundation/NSCoder", - "objc2-foundation/NSDate", - "objc2-foundation/NSLocale", - "objc2-foundation/NSObject", - "objc2-foundation/NSTimeZone", -] -UIDeferredMenuElement = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSCoder", - "objc2-foundation/NSObject", -] -UIDevice = [ - "objc2-foundation/NSNotification", - "objc2-foundation/NSString", - "objc2-foundation/NSUUID", -] -UIDiffableDataSource = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSIndexPath", - "objc2-foundation/NSObject", - "objc2-foundation/NSOrderedCollectionDifference", - "objc2-foundation/NSString", -] -UIDocument = [ - "bitflags", - "objc2-foundation/NSDate", - "objc2-foundation/NSDictionary", - "objc2-foundation/NSError", - "objc2-foundation/NSFilePresenter", - "objc2-foundation/NSNotification", - "objc2-foundation/NSProgress", - "objc2-foundation/NSString", - "objc2-foundation/NSURL", - "objc2-foundation/NSUndoManager", - "objc2-foundation/NSUserActivity", -] -UIDocumentBrowserAction = [ - "bitflags", - "objc2-foundation/NSArray", - "objc2-foundation/NSString", - "objc2-foundation/NSURL", -] -UIDocumentBrowserViewController = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSBundle", - "objc2-foundation/NSCoder", - "objc2-foundation/NSError", - "objc2-foundation/NSObject", - "objc2-foundation/NSProgress", - "objc2-foundation/NSString", - "objc2-foundation/NSURL", -] -UIDocumentInteractionController = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSString", - "objc2-foundation/NSURL", -] -UIDocumentMenuViewController = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSBundle", - "objc2-foundation/NSCoder", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", - "objc2-foundation/NSURL", -] -UIDocumentPickerExtensionViewController = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSBundle", - "objc2-foundation/NSCoder", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", - "objc2-foundation/NSURL", -] -UIDocumentPickerViewController = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSBundle", - "objc2-foundation/NSCoder", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", - "objc2-foundation/NSURL", -] -UIDocumentProperties = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSURL", -] -UIDocumentViewController = [ - "objc2-foundation/NSBundle", - "objc2-foundation/NSCoder", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -UIDocumentViewControllerLaunchOptions = ["objc2-foundation/NSString"] -UIDragInteraction = ["objc2-foundation/NSArray"] -UIDragItem = ["objc2-foundation/NSItemProvider"] -UIDragPreview = ["objc2-foundation/NSObject"] -UIDragPreviewParameters = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSObject", - "objc2-foundation/NSValue", -] -UIDragSession = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSItemProvider", - "objc2-foundation/NSProgress", - "objc2-foundation/NSString", -] -UIDropInteraction = [ - "objc2-foundation/NSObject", - "objc2-foundation/NSProgress", -] -UIDynamicAnimator = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSDate", - "objc2-foundation/NSIndexPath", - "objc2-foundation/NSString", -] -UIDynamicBehavior = ["objc2-foundation/NSArray"] -UIDynamicItemBehavior = ["objc2-foundation/NSArray"] -UIEditMenuInteraction = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSObject", -] -UIEvent = [ - "bitflags", - "objc2-foundation/NSArray", - "objc2-foundation/NSDate", - "objc2-foundation/NSSet", -] -UIEventAttribution = [ - "objc2-foundation/NSObject", - "objc2-foundation/NSString", - "objc2-foundation/NSURL", -] -UIEventAttributionView = [ - "objc2-foundation/NSCoder", - "objc2-foundation/NSObject", -] -UIFeedbackGenerator = [] -UIFieldBehavior = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSDate", -] -UIFindInteraction = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSString", -] -UIFindSession = ["objc2-foundation/NSString"] -UIFocus = [ - "bitflags", - "objc2-foundation/NSArray", - "objc2-foundation/NSNotification", - "objc2-foundation/NSString", -] -UIFocusAnimationCoordinator = ["objc2-foundation/NSDate"] -UIFocusDebugger = [] -UIFocusEffect = ["objc2-foundation/NSObject"] -UIFocusGuide = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSObject", -] -UIFocusMovementHint = ["objc2-foundation/NSObject"] -UIFocusSystem = [ - "objc2-foundation/NSString", - "objc2-foundation/NSURL", -] -UIFont = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -UIFontDescriptor = [ - "bitflags", - "objc2-foundation/NSArray", - "objc2-foundation/NSCoder", - "objc2-foundation/NSDictionary", - "objc2-foundation/NSObject", - "objc2-foundation/NSSet", - "objc2-foundation/NSString", -] -UIFontMetrics = ["objc2-foundation/NSString"] -UIFontPickerViewController = [ - "objc2-foundation/NSBundle", - "objc2-foundation/NSCoder", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -UIFontPickerViewControllerConfiguration = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSObject", - "objc2-foundation/NSPredicate", - "objc2-foundation/NSString", -] -UIFoundation = [] -UIGeometry = [ - "bitflags", - "objc2-foundation/NSCoder", - "objc2-foundation/NSString", - "objc2-foundation/NSValue", -] -UIGestureRecognizer = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSCoder", - "objc2-foundation/NSString", - "objc2-foundation/NSValue", -] -UIGestureRecognizerSubclass = ["objc2-foundation/NSSet"] -UIGraphics = [ - "objc2-foundation/NSData", - "objc2-foundation/NSDictionary", - "objc2-foundation/NSString", - "objc2-foundation/NSURL", -] -UIGraphicsImageRenderer = [ - "objc2-foundation/NSData", - "objc2-foundation/NSObject", -] -UIGraphicsPDFRenderer = [ - "objc2-foundation/NSData", - "objc2-foundation/NSDictionary", - "objc2-foundation/NSError", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", - "objc2-foundation/NSURL", -] -UIGraphicsRenderer = ["objc2-foundation/NSObject"] -UIGraphicsRendererSubclass = ["objc2-foundation/NSError"] -UIGravityBehavior = ["objc2-foundation/NSArray"] -UIGuidedAccess = [ - "bitflags", - "objc2-foundation/NSArray", - "objc2-foundation/NSError", - "objc2-foundation/NSString", -] -UIGuidedAccessRestrictions = [] -UIHoverEffect = ["objc2-foundation/NSObject"] -UIHoverEffectLayer = ["objc2-foundation/NSObject"] -UIHoverGestureRecognizer = ["objc2-foundation/NSCoder"] -UIHoverStyle = ["objc2-foundation/NSObject"] -UIImage = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSBundle", - "objc2-foundation/NSData", - "objc2-foundation/NSDate", - "objc2-foundation/NSDictionary", - "objc2-foundation/NSItemProvider", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -UIImageAsset = [ - "objc2-foundation/NSCoder", - "objc2-foundation/NSObject", -] -UIImageConfiguration = [ - "objc2-foundation/NSLocale", - "objc2-foundation/NSObject", -] -UIImagePickerController = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSBundle", - "objc2-foundation/NSCoder", - "objc2-foundation/NSDate", - "objc2-foundation/NSDictionary", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", - "objc2-foundation/NSValue", -] -UIImageReader = [ - "objc2-foundation/NSData", - "objc2-foundation/NSObject", - "objc2-foundation/NSURL", -] -UIImageSymbolConfiguration = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSLocale", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -UIImageView = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSCoder", - "objc2-foundation/NSDate", - "objc2-foundation/NSObject", -] -UIImpactFeedbackGenerator = [] -UIIndirectScribbleInteraction = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSObject", -] -UIInputView = [ - "objc2-foundation/NSCoder", - "objc2-foundation/NSObject", -] -UIInputViewController = [ - "objc2-foundation/NSBundle", - "objc2-foundation/NSCoder", - "objc2-foundation/NSObject", - "objc2-foundation/NSRange", - "objc2-foundation/NSString", - "objc2-foundation/NSUUID", -] -UIInteraction = ["objc2-foundation/NSArray"] -UIInterface = [] -UIKey = [ - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -UIKeyCommand = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSCoder", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -UIKeyConstants = [] -UIKeyboardLayoutGuide = ["objc2-foundation/NSObject"] -UIKitCore = [] -UIKitDefines = [] -UILabel = [ - "objc2-foundation/NSAttributedString", - "objc2-foundation/NSCoder", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -UILargeContentViewer = [ - "objc2-foundation/NSNotification", - "objc2-foundation/NSString", -] -UILayoutGuide = [ - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -UILetterformAwareAdjusting = [] -UILexicon = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -UIListContentConfiguration = [ - "objc2-foundation/NSAttributedString", - "objc2-foundation/NSCoder", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -UIListContentImageProperties = ["objc2-foundation/NSObject"] -UIListContentTextProperties = ["objc2-foundation/NSObject"] -UIListSeparatorConfiguration = ["objc2-foundation/NSObject"] -UILocalNotification = [ - "objc2-foundation/NSCalendar", - "objc2-foundation/NSCoder", - "objc2-foundation/NSDate", - "objc2-foundation/NSDictionary", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", - "objc2-foundation/NSTimeZone", -] -UILocalizedIndexedCollation = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSString", -] -UILongPressGestureRecognizer = [ - "objc2-foundation/NSCoder", - "objc2-foundation/NSDate", -] -UIManagedDocument = [ - "objc2-foundation/NSDictionary", - "objc2-foundation/NSError", - "objc2-foundation/NSFilePresenter", - "objc2-foundation/NSProgress", - "objc2-foundation/NSString", - "objc2-foundation/NSURL", -] -UIMenu = [ - "bitflags", - "objc2-foundation/NSArray", - "objc2-foundation/NSCoder", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -UIMenuBuilder = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSString", -] -UIMenuController = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSNotification", - "objc2-foundation/NSString", -] -UIMenuDisplayPreferences = ["objc2-foundation/NSObject"] -UIMenuElement = [ - "bitflags", - "objc2-foundation/NSCoder", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -UIMenuLeaf = ["objc2-foundation/NSString"] -UIMenuSystem = [] -UIMotionEffect = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSCoder", - "objc2-foundation/NSDictionary", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -UINavigationBar = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSAttributedString", - "objc2-foundation/NSCoder", - "objc2-foundation/NSDictionary", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -UINavigationBarAppearance = [ - "objc2-foundation/NSAttributedString", - "objc2-foundation/NSCoder", - "objc2-foundation/NSDictionary", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -UINavigationController = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSBundle", - "objc2-foundation/NSCoder", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -UINavigationItem = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSCoder", - "objc2-foundation/NSObject", - "objc2-foundation/NSRange", - "objc2-foundation/NSString", -] -UINib = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSBundle", - "objc2-foundation/NSData", - "objc2-foundation/NSDictionary", - "objc2-foundation/NSString", -] -UINibDeclarations = [] -UINibLoading = ["objc2-foundation/NSString"] -UINotificationFeedbackGenerator = [] -UIOpenURLContext = ["objc2-foundation/NSURL"] -UIOrientation = ["bitflags"] -UIPageControl = [ - "objc2-foundation/NSCoder", - "objc2-foundation/NSObject", -] -UIPageControlProgress = ["objc2-foundation/NSDate"] -UIPageViewController = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSBundle", - "objc2-foundation/NSCoder", - "objc2-foundation/NSDictionary", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -UIPanGestureRecognizer = [ - "bitflags", - "objc2-foundation/NSCoder", -] -UIPasteConfiguration = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSItemProvider", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -UIPasteConfigurationSupporting = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSItemProvider", -] -UIPasteControl = [ - "objc2-foundation/NSCoder", - "objc2-foundation/NSObject", -] -UIPasteboard = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSData", - "objc2-foundation/NSDate", - "objc2-foundation/NSDictionary", - "objc2-foundation/NSError", - "objc2-foundation/NSIndexSet", - "objc2-foundation/NSItemProvider", - "objc2-foundation/NSNotification", - "objc2-foundation/NSSet", - "objc2-foundation/NSString", - "objc2-foundation/NSURL", -] -UIPencilInteraction = ["objc2-foundation/NSDate"] -UIPickerView = [ - "objc2-foundation/NSAttributedString", - "objc2-foundation/NSCoder", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -UIPinchGestureRecognizer = ["objc2-foundation/NSCoder"] -UIPointerAccessory = ["objc2-foundation/NSObject"] -UIPointerInteraction = [] -UIPointerLockState = [ - "objc2-foundation/NSNotification", - "objc2-foundation/NSString", -] -UIPointerRegion = ["objc2-foundation/NSObject"] -UIPointerStyle = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSObject", -] -UIPopoverBackgroundView = [ - "objc2-foundation/NSCoder", - "objc2-foundation/NSObject", -] -UIPopoverController = ["objc2-foundation/NSArray"] -UIPopoverPresentationController = ["objc2-foundation/NSArray"] -UIPopoverPresentationControllerSourceItem = [] -UIPopoverSupport = ["bitflags"] -UIPresentationController = [] -UIPress = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSDate", -] -UIPressesEvent = ["objc2-foundation/NSSet"] -UIPreviewInteraction = [] -UIPreviewParameters = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSObject", - "objc2-foundation/NSValue", -] -UIPrintError = [ - "objc2-foundation/NSError", - "objc2-foundation/NSString", -] -UIPrintFormatter = [ - "objc2-foundation/NSAttributedString", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -UIPrintInfo = [ - "objc2-foundation/NSCoder", - "objc2-foundation/NSDictionary", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -UIPrintInteractionController = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSData", - "objc2-foundation/NSError", - "objc2-foundation/NSSet", - "objc2-foundation/NSString", - "objc2-foundation/NSURL", -] -UIPrintPageRenderer = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSRange", -] -UIPrintPaper = ["objc2-foundation/NSArray"] -UIPrintServiceExtension = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSData", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", - "objc2-foundation/NSURL", -] -UIPrinter = [ - "bitflags", - "objc2-foundation/NSString", - "objc2-foundation/NSURL", -] -UIPrinterPickerController = ["objc2-foundation/NSError"] -UIProgressView = [ - "objc2-foundation/NSCoder", - "objc2-foundation/NSObject", - "objc2-foundation/NSProgress", -] -UIPushBehavior = ["objc2-foundation/NSArray"] -UIReferenceLibraryViewController = [ - "objc2-foundation/NSBundle", - "objc2-foundation/NSCoder", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -UIRefreshControl = [ - "objc2-foundation/NSAttributedString", - "objc2-foundation/NSCoder", - "objc2-foundation/NSObject", -] -UIRegion = ["objc2-foundation/NSObject"] -UIResponder = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSAttributedString", - "objc2-foundation/NSDictionary", - "objc2-foundation/NSSet", - "objc2-foundation/NSString", - "objc2-foundation/NSUndoManager", - "objc2-foundation/NSUserActivity", -] -UIResponder_UIActivityItemsConfiguration = [] -UIRotationGestureRecognizer = ["objc2-foundation/NSCoder"] -UIScene = [ - "objc2-foundation/NSError", - "objc2-foundation/NSNotification", - "objc2-foundation/NSSet", - "objc2-foundation/NSString", - "objc2-foundation/NSURL", - "objc2-foundation/NSUserActivity", -] -UISceneActivationConditions = [ - "objc2-foundation/NSCoder", - "objc2-foundation/NSObject", - "objc2-foundation/NSPredicate", - "objc2-foundation/NSString", - "objc2-foundation/NSUserActivity", -] -UISceneDefinitions = [ - "objc2-foundation/NSError", - "objc2-foundation/NSString", -] -UISceneEnhancedStateRestoration = [] -UISceneOptions = [ - "objc2-foundation/NSSet", - "objc2-foundation/NSString", - "objc2-foundation/NSUserActivity", -] -UISceneSession = [ - "objc2-foundation/NSDictionary", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", - "objc2-foundation/NSUserActivity", -] -UISceneSessionActivationRequest = [ - "objc2-foundation/NSObject", - "objc2-foundation/NSString", - "objc2-foundation/NSUserActivity", -] -UISceneSystemProtectionManager = [ - "objc2-foundation/NSNotification", - "objc2-foundation/NSString", -] -UISceneWindowingBehaviors = [] -UIScene_AVAudioSession = [] -UIScreen = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSNotification", - "objc2-foundation/NSString", -] -UIScreenEdgePanGestureRecognizer = ["objc2-foundation/NSCoder"] -UIScreenMode = [] -UIScreenshotService = ["objc2-foundation/NSData"] -UIScribbleInteraction = [] -UIScrollView = [ - "objc2-foundation/NSCoder", - "objc2-foundation/NSObject", - "objc2-foundation/NSSet", -] -UISearchBar = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSAttributedString", - "objc2-foundation/NSCoder", - "objc2-foundation/NSDictionary", - "objc2-foundation/NSObject", - "objc2-foundation/NSRange", - "objc2-foundation/NSString", -] -UISearchContainerViewController = [ - "objc2-foundation/NSBundle", - "objc2-foundation/NSCoder", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -UISearchController = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSBundle", - "objc2-foundation/NSCoder", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -UISearchDisplayController = ["objc2-foundation/NSString"] -UISearchSuggestion = [ - "objc2-foundation/NSAttributedString", - "objc2-foundation/NSString", -] -UISearchTab = ["objc2-foundation/NSString"] -UISearchTextField = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSCoder", - "objc2-foundation/NSItemProvider", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -UISegmentedControl = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSAttributedString", - "objc2-foundation/NSCoder", - "objc2-foundation/NSDictionary", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -UISelectionFeedbackGenerator = [] -UIShadowProperties = ["objc2-foundation/NSObject"] -UIShape = ["objc2-foundation/NSObject"] -UISheetPresentationController = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSString", -] -UISlider = [ - "objc2-foundation/NSCoder", - "objc2-foundation/NSObject", -] -UISnapBehavior = [] -UISplitViewController = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSBundle", - "objc2-foundation/NSCoder", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -UISpringLoadedInteraction = [] -UISpringLoadedInteractionSupporting = [] -UIStackView = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSCoder", - "objc2-foundation/NSObject", -] -UIStandardTextCursorView = [ - "objc2-foundation/NSCoder", - "objc2-foundation/NSObject", -] -UIStateRestoration = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSCoder", - "objc2-foundation/NSIndexPath", - "objc2-foundation/NSString", -] -UIStatusBarManager = [] -UIStepper = [ - "objc2-foundation/NSCoder", - "objc2-foundation/NSObject", -] -UIStoryboard = [ - "objc2-foundation/NSBundle", - "objc2-foundation/NSCoder", - "objc2-foundation/NSString", -] -UIStoryboardPopoverSegue = ["objc2-foundation/NSString"] -UIStoryboardSegue = ["objc2-foundation/NSString"] -UIStringDrawing = ["objc2-foundation/NSString"] -UISwipeActionsConfiguration = ["objc2-foundation/NSArray"] -UISwipeGestureRecognizer = [ - "bitflags", - "objc2-foundation/NSCoder", -] -UISwitch = [ - "objc2-foundation/NSCoder", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -UISymbolEffectCompletion = [] -UITab = ["objc2-foundation/NSString"] -UITabBar = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSCoder", - "objc2-foundation/NSObject", -] -UITabBarAppearance = [ - "objc2-foundation/NSAttributedString", - "objc2-foundation/NSCoder", - "objc2-foundation/NSDictionary", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -UITabBarController = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSBundle", - "objc2-foundation/NSCoder", - "objc2-foundation/NSObject", - "objc2-foundation/NSProgress", - "objc2-foundation/NSString", -] -UITabBarControllerSidebar = ["objc2-foundation/NSObject"] -UITabBarItem = [ - "objc2-foundation/NSAttributedString", - "objc2-foundation/NSCoder", - "objc2-foundation/NSDictionary", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -UITabGroup = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSString", -] -UITabSidebarItem = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSObject", -] -UITableView = [ - "bitflags", - "objc2-foundation/NSArray", - "objc2-foundation/NSCoder", - "objc2-foundation/NSIndexPath", - "objc2-foundation/NSIndexSet", - "objc2-foundation/NSNotification", - "objc2-foundation/NSObject", - "objc2-foundation/NSProgress", - "objc2-foundation/NSString", -] -UITableViewCell = [ - "bitflags", - "objc2-foundation/NSCoder", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -UITableViewController = [ - "objc2-foundation/NSBundle", - "objc2-foundation/NSCoder", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -UITableViewHeaderFooterView = [ - "objc2-foundation/NSCoder", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -UITapGestureRecognizer = ["objc2-foundation/NSCoder"] -UITargetedDragPreview = ["objc2-foundation/NSObject"] -UITargetedPreview = ["objc2-foundation/NSObject"] -UITextChecker = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSRange", - "objc2-foundation/NSString", -] -UITextCursorDropPositionAnimator = [] -UITextCursorView = [] -UITextDragPreviewRenderer = ["objc2-foundation/NSRange"] -UITextDragURLPreviews = [ - "objc2-foundation/NSString", - "objc2-foundation/NSURL", -] -UITextDragging = [ - "bitflags", - "objc2-foundation/NSArray", -] -UITextDropProposal = ["objc2-foundation/NSObject"] -UITextDropping = ["objc2-foundation/NSProgress"] -UITextField = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSAttributedString", - "objc2-foundation/NSCoder", - "objc2-foundation/NSDictionary", - "objc2-foundation/NSNotification", - "objc2-foundation/NSObject", - "objc2-foundation/NSRange", - "objc2-foundation/NSString", -] -UITextFormattingCoordinator = [ - "objc2-foundation/NSAttributedString", - "objc2-foundation/NSDictionary", - "objc2-foundation/NSString", -] -UITextFormattingViewController = [ - "objc2-foundation/NSBundle", - "objc2-foundation/NSCoder", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -UITextFormattingViewControllerChangeValue = [ - "objc2-foundation/NSObject", - "objc2-foundation/NSString", - "objc2-foundation/NSValue", -] -UITextFormattingViewControllerComponent = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -UITextFormattingViewControllerConfiguration = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSObject", -] -UITextFormattingViewControllerFormattingDescriptor = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSAttributedString", - "objc2-foundation/NSDictionary", - "objc2-foundation/NSObject", - "objc2-foundation/NSRange", - "objc2-foundation/NSSet", - "objc2-foundation/NSString", -] -UITextFormattingViewControllerFormattingStyle = [ - "objc2-foundation/NSAttributedString", - "objc2-foundation/NSDictionary", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -UITextInput = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSAttributedString", - "objc2-foundation/NSDictionary", - "objc2-foundation/NSNotification", - "objc2-foundation/NSObjCRuntime", - "objc2-foundation/NSObject", - "objc2-foundation/NSRange", - "objc2-foundation/NSString", -] -UITextInputContext = [] -UITextInputTraits = [ - "bitflags", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -UITextInteraction = ["objc2-foundation/NSArray"] -UITextItem = [ - "objc2-foundation/NSAttributedString", - "objc2-foundation/NSRange", - "objc2-foundation/NSString", - "objc2-foundation/NSURL", -] -UITextItemInteraction = [] -UITextLoupeSession = [] -UITextPasteConfigurationSupporting = [] -UITextPasteDelegate = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSAttributedString", - "objc2-foundation/NSDictionary", - "objc2-foundation/NSItemProvider", - "objc2-foundation/NSString", -] -UITextSearching = [ - "objc2-foundation/NSObjCRuntime", - "objc2-foundation/NSObject", - "objc2-foundation/NSOrderedSet", - "objc2-foundation/NSString", -] -UITextSelectionDisplayInteraction = ["objc2-foundation/NSArray"] -UITextSelectionHandleView = [] -UITextSelectionHighlightView = ["objc2-foundation/NSArray"] -UITextView = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSAttributedString", - "objc2-foundation/NSCoder", - "objc2-foundation/NSDictionary", - "objc2-foundation/NSNotification", - "objc2-foundation/NSObject", - "objc2-foundation/NSRange", - "objc2-foundation/NSString", - "objc2-foundation/NSURL", - "objc2-foundation/NSValue", -] -UITimingCurveProvider = ["objc2-foundation/NSObject"] -UITimingParameters = [ - "objc2-foundation/NSCoder", - "objc2-foundation/NSDate", - "objc2-foundation/NSObject", -] -UIToolTipInteraction = ["objc2-foundation/NSString"] -UIToolbar = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSCoder", - "objc2-foundation/NSObject", -] -UIToolbarAppearance = [ - "objc2-foundation/NSCoder", - "objc2-foundation/NSObject", -] -UITouch = [ - "bitflags", - "objc2-foundation/NSArray", - "objc2-foundation/NSDate", - "objc2-foundation/NSValue", -] -UITrackingLayoutGuide = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSObject", -] -UITrait = ["objc2-foundation/NSString"] -UITraitCollection = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSCoder", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -UITraitListEnvironment = [] -UIUpdateActionPhase = [] -UIUpdateInfo = ["objc2-foundation/NSDate"] -UIUpdateLink = [] -UIUserActivity = ["objc2-foundation/NSUserActivity"] -UIUserNotificationSettings = [ - "bitflags", - "objc2-foundation/NSArray", - "objc2-foundation/NSCoder", - "objc2-foundation/NSDictionary", - "objc2-foundation/NSObject", - "objc2-foundation/NSSet", - "objc2-foundation/NSString", -] -UIVibrancyEffect = ["objc2-foundation/NSObject"] -UIVideoEditorController = [ - "objc2-foundation/NSBundle", - "objc2-foundation/NSCoder", - "objc2-foundation/NSDate", - "objc2-foundation/NSError", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -UIView = [ - "bitflags", - "objc2-foundation/NSArray", - "objc2-foundation/NSCoder", - "objc2-foundation/NSDate", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -UIViewAnimating = [ - "objc2-foundation/NSDate", - "objc2-foundation/NSObject", -] -UIViewConfigurationState = [ - "objc2-foundation/NSCoder", - "objc2-foundation/NSObject", -] -UIViewController = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSBundle", - "objc2-foundation/NSCoder", - "objc2-foundation/NSDate", - "objc2-foundation/NSExtensionContext", - "objc2-foundation/NSExtensionRequestHandling", - "objc2-foundation/NSNotification", - "objc2-foundation/NSObjCRuntime", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -UIViewControllerTransition = [] -UIViewControllerTransitionCoordinator = [ - "objc2-foundation/NSDate", - "objc2-foundation/NSString", -] -UIViewControllerTransitioning = [ - "objc2-foundation/NSDate", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -UIViewPropertyAnimator = [ - "objc2-foundation/NSDate", - "objc2-foundation/NSObject", -] -UIVisualEffect = ["objc2-foundation/NSObject"] -UIVisualEffectView = [ - "objc2-foundation/NSCoder", - "objc2-foundation/NSObject", -] -UIWebView = [ - "objc2-foundation/NSCoder", - "objc2-foundation/NSData", - "objc2-foundation/NSError", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", - "objc2-foundation/NSURL", - "objc2-foundation/NSURLRequest", -] -UIWindow = [ - "objc2-foundation/NSCoder", - "objc2-foundation/NSNotification", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -UIWindowScene = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSError", - "objc2-foundation/NSString", -] -UIWindowSceneActivationAction = [ - "objc2-foundation/NSCoder", - "objc2-foundation/NSObject", - "objc2-foundation/NSString", -] -UIWindowSceneActivationConfiguration = ["objc2-foundation/NSUserActivity"] -UIWindowSceneActivationInteraction = ["objc2-foundation/NSError"] -UIWindowSceneActivationRequestOptions = [] -UIWindowSceneDragInteraction = [] -UIWindowSceneGeometry = ["objc2-foundation/NSObject"] -UIWindowSceneGeometryPreferences = [] -UIWindowSceneGeometryPreferencesIOS = [] -UIWindowSceneGeometryPreferencesMac = [] -UIWindowSceneGeometryPreferencesVision = [] -UIWindowScenePlacement = ["objc2-foundation/NSObject"] -UIWindowSceneProminentPlacement = ["objc2-foundation/NSObject"] -UIWindowScenePushPlacement = ["objc2-foundation/NSObject"] -UIWindowSceneReplacePlacement = ["objc2-foundation/NSObject"] -UIWindowSceneStandardPlacement = ["objc2-foundation/NSObject"] -UIWritingToolsCoordinator = [ - "objc2-foundation/NSArray", - "objc2-foundation/NSAttributedString", - "objc2-foundation/NSRange", - "objc2-foundation/NSString", - "objc2-foundation/NSUUID", - "objc2-foundation/NSValue", -] -UIWritingToolsCoordinatorAnimationParameters = [] -UIWritingToolsCoordinatorContext = [ - "objc2-foundation/NSAttributedString", - "objc2-foundation/NSRange", - "objc2-foundation/NSUUID", -] -UIZoomTransitionOptions = ["objc2-foundation/NSObject"] -UNNotificationResponse_UIKitAdditions = [] -all = [ +default = [ + "std", "DocumentManager", "NSAdaptiveImageGlyph", "NSAttributedString", @@ -2135,15 +495,1656 @@ all = [ "UIZoomTransitionOptions", "UNNotificationResponse_UIKitAdditions", "bitflags", - "block2", - "objc2-cloud-kit", - "objc2-core-data", - "objc2-core-foundation", - "objc2-core-graphics", - "objc2-core-image", - "objc2-core-location", - "objc2-quartz-core", - "objc2-symbols", - "objc2-uniform-type-identifiers", - "objc2-user-notifications", + "block2", + "objc2-cloud-kit", + "objc2-core-data", + "objc2-core-foundation", + "objc2-core-graphics", + "objc2-core-image", + "objc2-core-location", + "objc2-quartz-core", + "objc2-user-notifications", +] +std = ["alloc"] +alloc = [] +bitflags = ["dep:bitflags"] +block2 = ["dep:block2"] +objc2-cloud-kit = ["dep:objc2-cloud-kit"] +objc2-core-data = ["dep:objc2-core-data"] +objc2-core-foundation = ["dep:objc2-core-foundation"] +objc2-core-graphics = ["dep:objc2-core-graphics"] +objc2-core-image = ["dep:objc2-core-image"] +objc2-core-location = ["dep:objc2-core-location"] +objc2-quartz-core = ["dep:objc2-quartz-core"] +objc2-symbols = ["dep:objc2-symbols"] +objc2-uniform-type-identifiers = ["dep:objc2-uniform-type-identifiers"] +objc2-user-notifications = ["dep:objc2-user-notifications"] + +DocumentManager = [] +NSAdaptiveImageGlyph = [ + "objc2-foundation/NSAttributedString", + "objc2-foundation/NSCoder", + "objc2-foundation/NSData", + "objc2-foundation/NSDictionary", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +NSAttributedString = [ + "bitflags", + "objc2-foundation/NSAttributedString", + "objc2-foundation/NSData", + "objc2-foundation/NSDictionary", + "objc2-foundation/NSError", + "objc2-foundation/NSFileWrapper", + "objc2-foundation/NSRange", + "objc2-foundation/NSString", + "objc2-foundation/NSURL", +] +NSDataAsset = [ + "objc2-foundation/NSBundle", + "objc2-foundation/NSData", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +NSDiffableDataSourceSectionSnapshot = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +NSFileProviderExtension = [] +NSIndexPath_UIKitAdditions = ["objc2-foundation/NSIndexPath"] +NSItemProvider_UIKitAdditions = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSData", + "objc2-foundation/NSError", + "objc2-foundation/NSItemProvider", + "objc2-foundation/NSString", +] +NSLayoutAnchor = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +NSLayoutConstraint = [ + "bitflags", + "objc2-foundation/NSArray", + "objc2-foundation/NSDictionary", + "objc2-foundation/NSString", +] +NSLayoutManager = [ + "bitflags", + "objc2-foundation/NSArray", + "objc2-foundation/NSAttributedString", + "objc2-foundation/NSCoder", + "objc2-foundation/NSDictionary", + "objc2-foundation/NSObject", + "objc2-foundation/NSRange", + "objc2-foundation/NSString", +] +NSParagraphStyle = [ + "bitflags", + "objc2-foundation/NSArray", + "objc2-foundation/NSCharacterSet", + "objc2-foundation/NSDictionary", + "objc2-foundation/NSLocale", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +NSShadow = [ + "objc2-foundation/NSCoder", + "objc2-foundation/NSObject", +] +NSStringDrawing = [ + "bitflags", + "objc2-foundation/NSAttributedString", + "objc2-foundation/NSDictionary", + "objc2-foundation/NSString", +] +NSText = [] +NSTextAttachment = [ + "objc2-foundation/NSAttributedString", + "objc2-foundation/NSData", + "objc2-foundation/NSDictionary", + "objc2-foundation/NSFileWrapper", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +NSTextContainer = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSCoder", + "objc2-foundation/NSObject", +] +NSTextContentManager = [ + "bitflags", + "objc2-foundation/NSArray", + "objc2-foundation/NSAttributedString", + "objc2-foundation/NSCoder", + "objc2-foundation/NSError", + "objc2-foundation/NSNotification", + "objc2-foundation/NSObject", + "objc2-foundation/NSRange", + "objc2-foundation/NSString", +] +NSTextElement = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSAttributedString", +] +NSTextLayoutFragment = [ + "bitflags", + "objc2-foundation/NSArray", + "objc2-foundation/NSCoder", + "objc2-foundation/NSObject", + "objc2-foundation/NSOperation", +] +NSTextLayoutManager = [ + "bitflags", + "objc2-foundation/NSArray", + "objc2-foundation/NSAttributedString", + "objc2-foundation/NSCoder", + "objc2-foundation/NSDictionary", + "objc2-foundation/NSObject", + "objc2-foundation/NSOperation", + "objc2-foundation/NSString", +] +NSTextLineFragment = [ + "objc2-foundation/NSAttributedString", + "objc2-foundation/NSCoder", + "objc2-foundation/NSDictionary", + "objc2-foundation/NSObject", + "objc2-foundation/NSRange", + "objc2-foundation/NSString", +] +NSTextList = [ + "bitflags", + "objc2-foundation/NSCoder", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +NSTextListElement = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSAttributedString", + "objc2-foundation/NSDictionary", + "objc2-foundation/NSString", +] +NSTextRange = ["objc2-foundation/NSObjCRuntime"] +NSTextSelection = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSAttributedString", + "objc2-foundation/NSCoder", + "objc2-foundation/NSDictionary", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +NSTextSelectionNavigation = [ + "bitflags", + "objc2-foundation/NSArray", + "objc2-foundation/NSString", +] +NSTextStorage = [ + "bitflags", + "objc2-foundation/NSArray", + "objc2-foundation/NSAttributedString", + "objc2-foundation/NSNotification", + "objc2-foundation/NSObject", + "objc2-foundation/NSRange", + "objc2-foundation/NSString", +] +NSTextViewportLayoutController = [] +NSToolbar_UIKitAdditions = [] +NSTouchBar_UIKitAdditions = [] +NSUserActivity_NSItemProvider = [] +PrintKitUI = [] +ShareSheet = [] +UIAccelerometer = ["objc2-foundation/NSDate"] +UIAccessibility = [ + "bitflags", + "objc2-foundation/NSArray", + "objc2-foundation/NSAttributedString", + "objc2-foundation/NSNotification", + "objc2-foundation/NSSet", + "objc2-foundation/NSString", +] +UIAccessibilityAdditions = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSAttributedString", + "objc2-foundation/NSString", +] +UIAccessibilityConstants = [ + "bitflags", + "objc2-foundation/NSAttributedString", + "objc2-foundation/NSNotification", + "objc2-foundation/NSString", +] +UIAccessibilityContainer = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSRange", +] +UIAccessibilityContentSizeCategoryImageAdjusting = [] +UIAccessibilityCustomAction = [ + "objc2-foundation/NSAttributedString", + "objc2-foundation/NSString", +] +UIAccessibilityCustomRotor = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSAttributedString", + "objc2-foundation/NSString", +] +UIAccessibilityElement = ["objc2-foundation/NSString"] +UIAccessibilityIdentification = ["objc2-foundation/NSString"] +UIAccessibilityLocationDescriptor = [ + "objc2-foundation/NSAttributedString", + "objc2-foundation/NSString", +] +UIAccessibilityZoom = [] +UIAction = [ + "objc2-foundation/NSCoder", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +UIActionSheet = [ + "objc2-foundation/NSCoder", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +UIActivity = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSString", +] +UIActivityCollaborationModeRestriction = [ + "objc2-foundation/NSObject", + "objc2-foundation/NSString", + "objc2-foundation/NSURL", +] +UIActivityIndicatorView = [ + "objc2-foundation/NSCoder", + "objc2-foundation/NSObject", +] +UIActivityItemProvider = [ + "objc2-foundation/NSOperation", + "objc2-foundation/NSString", +] +UIActivityItemsConfiguration = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSItemProvider", + "objc2-foundation/NSString", +] +UIActivityItemsConfigurationReading = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSItemProvider", + "objc2-foundation/NSString", +] +UIActivityItemsConfigurationReading_ShareSheet = ["objc2-foundation/NSString"] +UIActivityViewController = [ + "bitflags", + "objc2-foundation/NSArray", + "objc2-foundation/NSBundle", + "objc2-foundation/NSCoder", + "objc2-foundation/NSError", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +UIAlert = [] +UIAlertController = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSBundle", + "objc2-foundation/NSCoder", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +UIAlertView = [ + "objc2-foundation/NSCoder", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +UIAppearance = ["objc2-foundation/NSArray"] +UIApplication = [ + "bitflags", + "objc2-foundation/NSArray", + "objc2-foundation/NSCoder", + "objc2-foundation/NSData", + "objc2-foundation/NSDate", + "objc2-foundation/NSDictionary", + "objc2-foundation/NSError", + "objc2-foundation/NSNotification", + "objc2-foundation/NSObjCRuntime", + "objc2-foundation/NSSet", + "objc2-foundation/NSString", + "objc2-foundation/NSURL", + "objc2-foundation/NSUserActivity", +] +UIApplicationShortcutItem = [ + "objc2-foundation/NSDictionary", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +UIAttachmentBehavior = ["objc2-foundation/NSArray"] +UIBackgroundConfiguration = ["objc2-foundation/NSObject"] +UIBandSelectionInteraction = [] +UIBarAppearance = [ + "objc2-foundation/NSCoder", + "objc2-foundation/NSObject", +] +UIBarButtonItem = [ + "objc2-foundation/NSCoder", + "objc2-foundation/NSObject", + "objc2-foundation/NSSet", + "objc2-foundation/NSString", +] +UIBarButtonItemAppearance = [ + "objc2-foundation/NSAttributedString", + "objc2-foundation/NSCoder", + "objc2-foundation/NSDictionary", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +UIBarButtonItemGroup = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSCoder", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +UIBarCommon = [] +UIBarItem = [ + "objc2-foundation/NSAttributedString", + "objc2-foundation/NSCoder", + "objc2-foundation/NSDictionary", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +UIBehavioralStyle = [] +UIBezierPath = [ + "objc2-foundation/NSCoder", + "objc2-foundation/NSObject", +] +UIBlurEffect = ["objc2-foundation/NSObject"] +UIButton = [ + "objc2-foundation/NSAttributedString", + "objc2-foundation/NSCoder", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +UIButtonConfiguration = [ + "objc2-foundation/NSAttributedString", + "objc2-foundation/NSDictionary", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +UICalendarSelection = [] +UICalendarSelectionMultiDate = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSCalendar", +] +UICalendarSelectionSingleDate = ["objc2-foundation/NSCalendar"] +UICalendarSelectionWeekOfYear = ["objc2-foundation/NSCalendar"] +UICalendarView = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSCalendar", + "objc2-foundation/NSCoder", + "objc2-foundation/NSDateInterval", + "objc2-foundation/NSLocale", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", + "objc2-foundation/NSTimeZone", +] +UICalendarViewDecoration = [] +UICanvasFeedbackGenerator = [] +UICellAccessory = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSCoder", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +UICellConfigurationState = [ + "objc2-foundation/NSCoder", + "objc2-foundation/NSObject", +] +UICloudSharingController = [ + "bitflags", + "objc2-foundation/NSBundle", + "objc2-foundation/NSCoder", + "objc2-foundation/NSData", + "objc2-foundation/NSError", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +UICollectionLayoutList = [ + "bitflags", + "objc2-foundation/NSIndexPath", + "objc2-foundation/NSObject", +] +UICollectionView = [ + "bitflags", + "objc2-foundation/NSArray", + "objc2-foundation/NSCoder", + "objc2-foundation/NSIndexPath", + "objc2-foundation/NSIndexSet", + "objc2-foundation/NSObject", + "objc2-foundation/NSProgress", + "objc2-foundation/NSString", +] +UICollectionViewCell = [ + "objc2-foundation/NSCoder", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +UICollectionViewCompositionalLayout = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSCoder", + "objc2-foundation/NSIndexPath", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +UICollectionViewController = [ + "objc2-foundation/NSBundle", + "objc2-foundation/NSCoder", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +UICollectionViewFlowLayout = [ + "objc2-foundation/NSCoder", + "objc2-foundation/NSIndexPath", + "objc2-foundation/NSObject", +] +UICollectionViewItemRegistration = [ + "objc2-foundation/NSIndexPath", + "objc2-foundation/NSString", +] +UICollectionViewLayout = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSCoder", + "objc2-foundation/NSDictionary", + "objc2-foundation/NSIndexPath", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +UICollectionViewListCell = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSCoder", + "objc2-foundation/NSObject", +] +UICollectionViewTransitionLayout = [ + "objc2-foundation/NSCoder", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +UICollectionViewUpdateItem = ["objc2-foundation/NSIndexPath"] +UICollisionBehavior = [ + "bitflags", + "objc2-foundation/NSArray", + "objc2-foundation/NSObject", +] +UIColor = [ + "objc2-foundation/NSBundle", + "objc2-foundation/NSItemProvider", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +UIColorPickerViewController = [ + "objc2-foundation/NSBundle", + "objc2-foundation/NSCoder", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +UIColorWell = [ + "objc2-foundation/NSCoder", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +UICommand = [ + "bitflags", + "objc2-foundation/NSArray", + "objc2-foundation/NSCoder", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +UIConfigurationColorTransformer = [] +UIConfigurationState = [ + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +UIContentConfiguration = ["objc2-foundation/NSObject"] +UIContentSizeCategory = [ + "objc2-foundation/NSNotification", + "objc2-foundation/NSObjCRuntime", + "objc2-foundation/NSString", +] +UIContentSizeCategoryAdjusting = [] +UIContentUnavailableButtonProperties = ["objc2-foundation/NSObject"] +UIContentUnavailableConfiguration = [ + "objc2-foundation/NSAttributedString", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +UIContentUnavailableConfigurationState = [ + "objc2-foundation/NSCoder", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +UIContentUnavailableImageProperties = ["objc2-foundation/NSObject"] +UIContentUnavailableTextProperties = ["objc2-foundation/NSObject"] +UIContentUnavailableView = [ + "objc2-foundation/NSCoder", + "objc2-foundation/NSObject", +] +UIContextMenuConfiguration = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSObject", + "objc2-foundation/NSSet", +] +UIContextMenuInteraction = ["objc2-foundation/NSObject"] +UIContextualAction = ["objc2-foundation/NSString"] +UIControl = [ + "bitflags", + "objc2-foundation/NSArray", + "objc2-foundation/NSCoder", + "objc2-foundation/NSObject", + "objc2-foundation/NSSet", + "objc2-foundation/NSString", +] +UIDataDetectors = ["bitflags"] +UIDataSourceTranslating = ["objc2-foundation/NSIndexPath"] +UIDatePicker = [ + "objc2-foundation/NSCalendar", + "objc2-foundation/NSCoder", + "objc2-foundation/NSDate", + "objc2-foundation/NSLocale", + "objc2-foundation/NSObject", + "objc2-foundation/NSTimeZone", +] +UIDeferredMenuElement = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSCoder", + "objc2-foundation/NSObject", +] +UIDevice = [ + "objc2-foundation/NSNotification", + "objc2-foundation/NSString", + "objc2-foundation/NSUUID", +] +UIDiffableDataSource = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSIndexPath", + "objc2-foundation/NSObject", + "objc2-foundation/NSOrderedCollectionDifference", + "objc2-foundation/NSString", +] +UIDocument = [ + "bitflags", + "objc2-foundation/NSDate", + "objc2-foundation/NSDictionary", + "objc2-foundation/NSError", + "objc2-foundation/NSFilePresenter", + "objc2-foundation/NSNotification", + "objc2-foundation/NSProgress", + "objc2-foundation/NSString", + "objc2-foundation/NSURL", + "objc2-foundation/NSUndoManager", + "objc2-foundation/NSUserActivity", +] +UIDocumentBrowserAction = [ + "bitflags", + "objc2-foundation/NSArray", + "objc2-foundation/NSString", + "objc2-foundation/NSURL", +] +UIDocumentBrowserViewController = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSBundle", + "objc2-foundation/NSCoder", + "objc2-foundation/NSError", + "objc2-foundation/NSObject", + "objc2-foundation/NSProgress", + "objc2-foundation/NSString", + "objc2-foundation/NSURL", +] +UIDocumentInteractionController = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSString", + "objc2-foundation/NSURL", +] +UIDocumentMenuViewController = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSBundle", + "objc2-foundation/NSCoder", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", + "objc2-foundation/NSURL", +] +UIDocumentPickerExtensionViewController = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSBundle", + "objc2-foundation/NSCoder", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", + "objc2-foundation/NSURL", +] +UIDocumentPickerViewController = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSBundle", + "objc2-foundation/NSCoder", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", + "objc2-foundation/NSURL", +] +UIDocumentProperties = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSURL", +] +UIDocumentViewController = [ + "objc2-foundation/NSBundle", + "objc2-foundation/NSCoder", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +UIDocumentViewControllerLaunchOptions = ["objc2-foundation/NSString"] +UIDragInteraction = ["objc2-foundation/NSArray"] +UIDragItem = ["objc2-foundation/NSItemProvider"] +UIDragPreview = ["objc2-foundation/NSObject"] +UIDragPreviewParameters = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSObject", + "objc2-foundation/NSValue", +] +UIDragSession = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSItemProvider", + "objc2-foundation/NSProgress", + "objc2-foundation/NSString", +] +UIDropInteraction = [ + "objc2-foundation/NSObject", + "objc2-foundation/NSProgress", +] +UIDynamicAnimator = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSDate", + "objc2-foundation/NSIndexPath", + "objc2-foundation/NSString", +] +UIDynamicBehavior = ["objc2-foundation/NSArray"] +UIDynamicItemBehavior = ["objc2-foundation/NSArray"] +UIEditMenuInteraction = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSObject", +] +UIEvent = [ + "bitflags", + "objc2-foundation/NSArray", + "objc2-foundation/NSDate", + "objc2-foundation/NSSet", +] +UIEventAttribution = [ + "objc2-foundation/NSObject", + "objc2-foundation/NSString", + "objc2-foundation/NSURL", +] +UIEventAttributionView = [ + "objc2-foundation/NSCoder", + "objc2-foundation/NSObject", +] +UIFeedbackGenerator = [] +UIFieldBehavior = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSDate", +] +UIFindInteraction = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSString", +] +UIFindSession = ["objc2-foundation/NSString"] +UIFocus = [ + "bitflags", + "objc2-foundation/NSArray", + "objc2-foundation/NSNotification", + "objc2-foundation/NSString", +] +UIFocusAnimationCoordinator = ["objc2-foundation/NSDate"] +UIFocusDebugger = [] +UIFocusEffect = ["objc2-foundation/NSObject"] +UIFocusGuide = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSObject", +] +UIFocusMovementHint = ["objc2-foundation/NSObject"] +UIFocusSystem = [ + "objc2-foundation/NSString", + "objc2-foundation/NSURL", +] +UIFont = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +UIFontDescriptor = [ + "bitflags", + "objc2-foundation/NSArray", + "objc2-foundation/NSCoder", + "objc2-foundation/NSDictionary", + "objc2-foundation/NSObject", + "objc2-foundation/NSSet", + "objc2-foundation/NSString", +] +UIFontMetrics = ["objc2-foundation/NSString"] +UIFontPickerViewController = [ + "objc2-foundation/NSBundle", + "objc2-foundation/NSCoder", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +UIFontPickerViewControllerConfiguration = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSObject", + "objc2-foundation/NSPredicate", + "objc2-foundation/NSString", +] +UIFoundation = [] +UIGeometry = [ + "bitflags", + "objc2-foundation/NSCoder", + "objc2-foundation/NSString", + "objc2-foundation/NSValue", +] +UIGestureRecognizer = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSCoder", + "objc2-foundation/NSString", + "objc2-foundation/NSValue", +] +UIGestureRecognizerSubclass = ["objc2-foundation/NSSet"] +UIGraphics = [ + "objc2-foundation/NSData", + "objc2-foundation/NSDictionary", + "objc2-foundation/NSString", + "objc2-foundation/NSURL", +] +UIGraphicsImageRenderer = [ + "objc2-foundation/NSData", + "objc2-foundation/NSObject", +] +UIGraphicsPDFRenderer = [ + "objc2-foundation/NSData", + "objc2-foundation/NSDictionary", + "objc2-foundation/NSError", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", + "objc2-foundation/NSURL", +] +UIGraphicsRenderer = ["objc2-foundation/NSObject"] +UIGraphicsRendererSubclass = ["objc2-foundation/NSError"] +UIGravityBehavior = ["objc2-foundation/NSArray"] +UIGuidedAccess = [ + "bitflags", + "objc2-foundation/NSArray", + "objc2-foundation/NSError", + "objc2-foundation/NSString", +] +UIGuidedAccessRestrictions = [] +UIHoverEffect = ["objc2-foundation/NSObject"] +UIHoverEffectLayer = ["objc2-foundation/NSObject"] +UIHoverGestureRecognizer = ["objc2-foundation/NSCoder"] +UIHoverStyle = ["objc2-foundation/NSObject"] +UIImage = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSBundle", + "objc2-foundation/NSData", + "objc2-foundation/NSDate", + "objc2-foundation/NSDictionary", + "objc2-foundation/NSItemProvider", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +UIImageAsset = [ + "objc2-foundation/NSCoder", + "objc2-foundation/NSObject", +] +UIImageConfiguration = [ + "objc2-foundation/NSLocale", + "objc2-foundation/NSObject", +] +UIImagePickerController = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSBundle", + "objc2-foundation/NSCoder", + "objc2-foundation/NSDate", + "objc2-foundation/NSDictionary", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", + "objc2-foundation/NSValue", +] +UIImageReader = [ + "objc2-foundation/NSData", + "objc2-foundation/NSObject", + "objc2-foundation/NSURL", +] +UIImageSymbolConfiguration = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSLocale", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +UIImageView = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSCoder", + "objc2-foundation/NSDate", + "objc2-foundation/NSObject", +] +UIImpactFeedbackGenerator = [] +UIIndirectScribbleInteraction = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSObject", +] +UIInputView = [ + "objc2-foundation/NSCoder", + "objc2-foundation/NSObject", +] +UIInputViewController = [ + "objc2-foundation/NSBundle", + "objc2-foundation/NSCoder", + "objc2-foundation/NSObject", + "objc2-foundation/NSRange", + "objc2-foundation/NSString", + "objc2-foundation/NSUUID", +] +UIInteraction = ["objc2-foundation/NSArray"] +UIInterface = [] +UIKey = [ + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +UIKeyCommand = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSCoder", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +UIKeyConstants = [] +UIKeyboardLayoutGuide = ["objc2-foundation/NSObject"] +UIKitCore = [] +UIKitDefines = [] +UILabel = [ + "objc2-foundation/NSAttributedString", + "objc2-foundation/NSCoder", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +UILargeContentViewer = [ + "objc2-foundation/NSNotification", + "objc2-foundation/NSString", +] +UILayoutGuide = [ + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +UILetterformAwareAdjusting = [] +UILexicon = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +UIListContentConfiguration = [ + "objc2-foundation/NSAttributedString", + "objc2-foundation/NSCoder", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +UIListContentImageProperties = ["objc2-foundation/NSObject"] +UIListContentTextProperties = ["objc2-foundation/NSObject"] +UIListSeparatorConfiguration = ["objc2-foundation/NSObject"] +UILocalNotification = [ + "objc2-foundation/NSCalendar", + "objc2-foundation/NSCoder", + "objc2-foundation/NSDate", + "objc2-foundation/NSDictionary", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", + "objc2-foundation/NSTimeZone", +] +UILocalizedIndexedCollation = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSString", +] +UILongPressGestureRecognizer = [ + "objc2-foundation/NSCoder", + "objc2-foundation/NSDate", +] +UIManagedDocument = [ + "objc2-foundation/NSDictionary", + "objc2-foundation/NSError", + "objc2-foundation/NSFilePresenter", + "objc2-foundation/NSProgress", + "objc2-foundation/NSString", + "objc2-foundation/NSURL", +] +UIMenu = [ + "bitflags", + "objc2-foundation/NSArray", + "objc2-foundation/NSCoder", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +UIMenuBuilder = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSString", +] +UIMenuController = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSNotification", + "objc2-foundation/NSString", +] +UIMenuDisplayPreferences = ["objc2-foundation/NSObject"] +UIMenuElement = [ + "bitflags", + "objc2-foundation/NSCoder", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +UIMenuLeaf = ["objc2-foundation/NSString"] +UIMenuSystem = [] +UIMotionEffect = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSCoder", + "objc2-foundation/NSDictionary", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +UINavigationBar = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSAttributedString", + "objc2-foundation/NSCoder", + "objc2-foundation/NSDictionary", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +UINavigationBarAppearance = [ + "objc2-foundation/NSAttributedString", + "objc2-foundation/NSCoder", + "objc2-foundation/NSDictionary", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +UINavigationController = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSBundle", + "objc2-foundation/NSCoder", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +UINavigationItem = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSCoder", + "objc2-foundation/NSObject", + "objc2-foundation/NSRange", + "objc2-foundation/NSString", +] +UINib = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSBundle", + "objc2-foundation/NSData", + "objc2-foundation/NSDictionary", + "objc2-foundation/NSString", +] +UINibDeclarations = [] +UINibLoading = ["objc2-foundation/NSString"] +UINotificationFeedbackGenerator = [] +UIOpenURLContext = ["objc2-foundation/NSURL"] +UIOrientation = ["bitflags"] +UIPageControl = [ + "objc2-foundation/NSCoder", + "objc2-foundation/NSObject", +] +UIPageControlProgress = ["objc2-foundation/NSDate"] +UIPageViewController = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSBundle", + "objc2-foundation/NSCoder", + "objc2-foundation/NSDictionary", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +UIPanGestureRecognizer = [ + "bitflags", + "objc2-foundation/NSCoder", +] +UIPasteConfiguration = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSItemProvider", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +UIPasteConfigurationSupporting = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSItemProvider", +] +UIPasteControl = [ + "objc2-foundation/NSCoder", + "objc2-foundation/NSObject", +] +UIPasteboard = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSData", + "objc2-foundation/NSDate", + "objc2-foundation/NSDictionary", + "objc2-foundation/NSError", + "objc2-foundation/NSIndexSet", + "objc2-foundation/NSItemProvider", + "objc2-foundation/NSNotification", + "objc2-foundation/NSSet", + "objc2-foundation/NSString", + "objc2-foundation/NSURL", +] +UIPencilInteraction = ["objc2-foundation/NSDate"] +UIPickerView = [ + "objc2-foundation/NSAttributedString", + "objc2-foundation/NSCoder", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +UIPinchGestureRecognizer = ["objc2-foundation/NSCoder"] +UIPointerAccessory = ["objc2-foundation/NSObject"] +UIPointerInteraction = [] +UIPointerLockState = [ + "objc2-foundation/NSNotification", + "objc2-foundation/NSString", +] +UIPointerRegion = ["objc2-foundation/NSObject"] +UIPointerStyle = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSObject", +] +UIPopoverBackgroundView = [ + "objc2-foundation/NSCoder", + "objc2-foundation/NSObject", +] +UIPopoverController = ["objc2-foundation/NSArray"] +UIPopoverPresentationController = ["objc2-foundation/NSArray"] +UIPopoverPresentationControllerSourceItem = [] +UIPopoverSupport = ["bitflags"] +UIPresentationController = [] +UIPress = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSDate", +] +UIPressesEvent = ["objc2-foundation/NSSet"] +UIPreviewInteraction = [] +UIPreviewParameters = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSObject", + "objc2-foundation/NSValue", +] +UIPrintError = [ + "objc2-foundation/NSError", + "objc2-foundation/NSString", +] +UIPrintFormatter = [ + "objc2-foundation/NSAttributedString", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +UIPrintInfo = [ + "objc2-foundation/NSCoder", + "objc2-foundation/NSDictionary", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +UIPrintInteractionController = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSData", + "objc2-foundation/NSError", + "objc2-foundation/NSSet", + "objc2-foundation/NSString", + "objc2-foundation/NSURL", +] +UIPrintPageRenderer = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSRange", +] +UIPrintPaper = ["objc2-foundation/NSArray"] +UIPrintServiceExtension = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSData", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", + "objc2-foundation/NSURL", +] +UIPrinter = [ + "bitflags", + "objc2-foundation/NSString", + "objc2-foundation/NSURL", +] +UIPrinterPickerController = ["objc2-foundation/NSError"] +UIProgressView = [ + "objc2-foundation/NSCoder", + "objc2-foundation/NSObject", + "objc2-foundation/NSProgress", +] +UIPushBehavior = ["objc2-foundation/NSArray"] +UIReferenceLibraryViewController = [ + "objc2-foundation/NSBundle", + "objc2-foundation/NSCoder", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +UIRefreshControl = [ + "objc2-foundation/NSAttributedString", + "objc2-foundation/NSCoder", + "objc2-foundation/NSObject", +] +UIRegion = ["objc2-foundation/NSObject"] +UIResponder = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSAttributedString", + "objc2-foundation/NSDictionary", + "objc2-foundation/NSSet", + "objc2-foundation/NSString", + "objc2-foundation/NSUndoManager", + "objc2-foundation/NSUserActivity", +] +UIResponder_UIActivityItemsConfiguration = [] +UIRotationGestureRecognizer = ["objc2-foundation/NSCoder"] +UIScene = [ + "objc2-foundation/NSError", + "objc2-foundation/NSNotification", + "objc2-foundation/NSSet", + "objc2-foundation/NSString", + "objc2-foundation/NSURL", + "objc2-foundation/NSUserActivity", +] +UISceneActivationConditions = [ + "objc2-foundation/NSCoder", + "objc2-foundation/NSObject", + "objc2-foundation/NSPredicate", + "objc2-foundation/NSString", + "objc2-foundation/NSUserActivity", +] +UISceneDefinitions = [ + "objc2-foundation/NSError", + "objc2-foundation/NSString", +] +UISceneEnhancedStateRestoration = [] +UISceneOptions = [ + "objc2-foundation/NSSet", + "objc2-foundation/NSString", + "objc2-foundation/NSUserActivity", +] +UISceneSession = [ + "objc2-foundation/NSDictionary", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", + "objc2-foundation/NSUserActivity", +] +UISceneSessionActivationRequest = [ + "objc2-foundation/NSObject", + "objc2-foundation/NSString", + "objc2-foundation/NSUserActivity", +] +UISceneSystemProtectionManager = [ + "objc2-foundation/NSNotification", + "objc2-foundation/NSString", +] +UISceneWindowingBehaviors = [] +UIScene_AVAudioSession = [] +UIScreen = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSNotification", + "objc2-foundation/NSString", +] +UIScreenEdgePanGestureRecognizer = ["objc2-foundation/NSCoder"] +UIScreenMode = [] +UIScreenshotService = ["objc2-foundation/NSData"] +UIScribbleInteraction = [] +UIScrollView = [ + "objc2-foundation/NSCoder", + "objc2-foundation/NSObject", + "objc2-foundation/NSSet", +] +UISearchBar = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSAttributedString", + "objc2-foundation/NSCoder", + "objc2-foundation/NSDictionary", + "objc2-foundation/NSObject", + "objc2-foundation/NSRange", + "objc2-foundation/NSString", +] +UISearchContainerViewController = [ + "objc2-foundation/NSBundle", + "objc2-foundation/NSCoder", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +UISearchController = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSBundle", + "objc2-foundation/NSCoder", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +UISearchDisplayController = ["objc2-foundation/NSString"] +UISearchSuggestion = [ + "objc2-foundation/NSAttributedString", + "objc2-foundation/NSString", +] +UISearchTab = ["objc2-foundation/NSString"] +UISearchTextField = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSCoder", + "objc2-foundation/NSItemProvider", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +UISegmentedControl = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSAttributedString", + "objc2-foundation/NSCoder", + "objc2-foundation/NSDictionary", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +UISelectionFeedbackGenerator = [] +UIShadowProperties = ["objc2-foundation/NSObject"] +UIShape = ["objc2-foundation/NSObject"] +UISheetPresentationController = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSString", +] +UISlider = [ + "objc2-foundation/NSCoder", + "objc2-foundation/NSObject", +] +UISnapBehavior = [] +UISplitViewController = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSBundle", + "objc2-foundation/NSCoder", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +UISpringLoadedInteraction = [] +UISpringLoadedInteractionSupporting = [] +UIStackView = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSCoder", + "objc2-foundation/NSObject", +] +UIStandardTextCursorView = [ + "objc2-foundation/NSCoder", + "objc2-foundation/NSObject", +] +UIStateRestoration = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSCoder", + "objc2-foundation/NSIndexPath", + "objc2-foundation/NSString", +] +UIStatusBarManager = [] +UIStepper = [ + "objc2-foundation/NSCoder", + "objc2-foundation/NSObject", +] +UIStoryboard = [ + "objc2-foundation/NSBundle", + "objc2-foundation/NSCoder", + "objc2-foundation/NSString", +] +UIStoryboardPopoverSegue = ["objc2-foundation/NSString"] +UIStoryboardSegue = ["objc2-foundation/NSString"] +UIStringDrawing = ["objc2-foundation/NSString"] +UISwipeActionsConfiguration = ["objc2-foundation/NSArray"] +UISwipeGestureRecognizer = [ + "bitflags", + "objc2-foundation/NSCoder", +] +UISwitch = [ + "objc2-foundation/NSCoder", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +UISymbolEffectCompletion = [] +UITab = ["objc2-foundation/NSString"] +UITabBar = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSCoder", + "objc2-foundation/NSObject", +] +UITabBarAppearance = [ + "objc2-foundation/NSAttributedString", + "objc2-foundation/NSCoder", + "objc2-foundation/NSDictionary", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +UITabBarController = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSBundle", + "objc2-foundation/NSCoder", + "objc2-foundation/NSObject", + "objc2-foundation/NSProgress", + "objc2-foundation/NSString", +] +UITabBarControllerSidebar = ["objc2-foundation/NSObject"] +UITabBarItem = [ + "objc2-foundation/NSAttributedString", + "objc2-foundation/NSCoder", + "objc2-foundation/NSDictionary", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +UITabGroup = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSString", +] +UITabSidebarItem = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSObject", +] +UITableView = [ + "bitflags", + "objc2-foundation/NSArray", + "objc2-foundation/NSCoder", + "objc2-foundation/NSIndexPath", + "objc2-foundation/NSIndexSet", + "objc2-foundation/NSNotification", + "objc2-foundation/NSObject", + "objc2-foundation/NSProgress", + "objc2-foundation/NSString", +] +UITableViewCell = [ + "bitflags", + "objc2-foundation/NSCoder", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +UITableViewController = [ + "objc2-foundation/NSBundle", + "objc2-foundation/NSCoder", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +UITableViewHeaderFooterView = [ + "objc2-foundation/NSCoder", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +UITapGestureRecognizer = ["objc2-foundation/NSCoder"] +UITargetedDragPreview = ["objc2-foundation/NSObject"] +UITargetedPreview = ["objc2-foundation/NSObject"] +UITextChecker = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSRange", + "objc2-foundation/NSString", +] +UITextCursorDropPositionAnimator = [] +UITextCursorView = [] +UITextDragPreviewRenderer = ["objc2-foundation/NSRange"] +UITextDragURLPreviews = [ + "objc2-foundation/NSString", + "objc2-foundation/NSURL", +] +UITextDragging = [ + "bitflags", + "objc2-foundation/NSArray", +] +UITextDropProposal = ["objc2-foundation/NSObject"] +UITextDropping = ["objc2-foundation/NSProgress"] +UITextField = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSAttributedString", + "objc2-foundation/NSCoder", + "objc2-foundation/NSDictionary", + "objc2-foundation/NSNotification", + "objc2-foundation/NSObject", + "objc2-foundation/NSRange", + "objc2-foundation/NSString", +] +UITextFormattingCoordinator = [ + "objc2-foundation/NSAttributedString", + "objc2-foundation/NSDictionary", + "objc2-foundation/NSString", +] +UITextFormattingViewController = [ + "objc2-foundation/NSBundle", + "objc2-foundation/NSCoder", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +UITextFormattingViewControllerChangeValue = [ + "objc2-foundation/NSObject", + "objc2-foundation/NSString", + "objc2-foundation/NSValue", +] +UITextFormattingViewControllerComponent = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +UITextFormattingViewControllerConfiguration = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSObject", +] +UITextFormattingViewControllerFormattingDescriptor = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSAttributedString", + "objc2-foundation/NSDictionary", + "objc2-foundation/NSObject", + "objc2-foundation/NSRange", + "objc2-foundation/NSSet", + "objc2-foundation/NSString", +] +UITextFormattingViewControllerFormattingStyle = [ + "objc2-foundation/NSAttributedString", + "objc2-foundation/NSDictionary", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +UITextInput = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSAttributedString", + "objc2-foundation/NSDictionary", + "objc2-foundation/NSNotification", + "objc2-foundation/NSObjCRuntime", + "objc2-foundation/NSObject", + "objc2-foundation/NSRange", + "objc2-foundation/NSString", +] +UITextInputContext = [] +UITextInputTraits = [ + "bitflags", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +UITextInteraction = ["objc2-foundation/NSArray"] +UITextItem = [ + "objc2-foundation/NSAttributedString", + "objc2-foundation/NSRange", + "objc2-foundation/NSString", + "objc2-foundation/NSURL", +] +UITextItemInteraction = [] +UITextLoupeSession = [] +UITextPasteConfigurationSupporting = [] +UITextPasteDelegate = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSAttributedString", + "objc2-foundation/NSDictionary", + "objc2-foundation/NSItemProvider", + "objc2-foundation/NSString", +] +UITextSearching = [ + "objc2-foundation/NSObjCRuntime", + "objc2-foundation/NSObject", + "objc2-foundation/NSOrderedSet", + "objc2-foundation/NSString", +] +UITextSelectionDisplayInteraction = ["objc2-foundation/NSArray"] +UITextSelectionHandleView = [] +UITextSelectionHighlightView = ["objc2-foundation/NSArray"] +UITextView = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSAttributedString", + "objc2-foundation/NSCoder", + "objc2-foundation/NSDictionary", + "objc2-foundation/NSNotification", + "objc2-foundation/NSObject", + "objc2-foundation/NSRange", + "objc2-foundation/NSString", + "objc2-foundation/NSURL", + "objc2-foundation/NSValue", +] +UITimingCurveProvider = ["objc2-foundation/NSObject"] +UITimingParameters = [ + "objc2-foundation/NSCoder", + "objc2-foundation/NSDate", + "objc2-foundation/NSObject", +] +UIToolTipInteraction = ["objc2-foundation/NSString"] +UIToolbar = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSCoder", + "objc2-foundation/NSObject", +] +UIToolbarAppearance = [ + "objc2-foundation/NSCoder", + "objc2-foundation/NSObject", +] +UITouch = [ + "bitflags", + "objc2-foundation/NSArray", + "objc2-foundation/NSDate", + "objc2-foundation/NSValue", +] +UITrackingLayoutGuide = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSObject", +] +UITrait = ["objc2-foundation/NSString"] +UITraitCollection = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSCoder", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +UITraitListEnvironment = [] +UIUpdateActionPhase = [] +UIUpdateInfo = ["objc2-foundation/NSDate"] +UIUpdateLink = [] +UIUserActivity = ["objc2-foundation/NSUserActivity"] +UIUserNotificationSettings = [ + "bitflags", + "objc2-foundation/NSArray", + "objc2-foundation/NSCoder", + "objc2-foundation/NSDictionary", + "objc2-foundation/NSObject", + "objc2-foundation/NSSet", + "objc2-foundation/NSString", +] +UIVibrancyEffect = ["objc2-foundation/NSObject"] +UIVideoEditorController = [ + "objc2-foundation/NSBundle", + "objc2-foundation/NSCoder", + "objc2-foundation/NSDate", + "objc2-foundation/NSError", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +UIView = [ + "bitflags", + "objc2-foundation/NSArray", + "objc2-foundation/NSCoder", + "objc2-foundation/NSDate", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +UIViewAnimating = [ + "objc2-foundation/NSDate", + "objc2-foundation/NSObject", +] +UIViewConfigurationState = [ + "objc2-foundation/NSCoder", + "objc2-foundation/NSObject", +] +UIViewController = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSBundle", + "objc2-foundation/NSCoder", + "objc2-foundation/NSDate", + "objc2-foundation/NSExtensionContext", + "objc2-foundation/NSExtensionRequestHandling", + "objc2-foundation/NSNotification", + "objc2-foundation/NSObjCRuntime", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +UIViewControllerTransition = [] +UIViewControllerTransitionCoordinator = [ + "objc2-foundation/NSDate", + "objc2-foundation/NSString", +] +UIViewControllerTransitioning = [ + "objc2-foundation/NSDate", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", ] +UIViewPropertyAnimator = [ + "objc2-foundation/NSDate", + "objc2-foundation/NSObject", +] +UIVisualEffect = ["objc2-foundation/NSObject"] +UIVisualEffectView = [ + "objc2-foundation/NSCoder", + "objc2-foundation/NSObject", +] +UIWebView = [ + "objc2-foundation/NSCoder", + "objc2-foundation/NSData", + "objc2-foundation/NSError", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", + "objc2-foundation/NSURL", + "objc2-foundation/NSURLRequest", +] +UIWindow = [ + "objc2-foundation/NSCoder", + "objc2-foundation/NSNotification", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +UIWindowScene = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSError", + "objc2-foundation/NSString", +] +UIWindowSceneActivationAction = [ + "objc2-foundation/NSCoder", + "objc2-foundation/NSObject", + "objc2-foundation/NSString", +] +UIWindowSceneActivationConfiguration = ["objc2-foundation/NSUserActivity"] +UIWindowSceneActivationInteraction = ["objc2-foundation/NSError"] +UIWindowSceneActivationRequestOptions = [] +UIWindowSceneDragInteraction = [] +UIWindowSceneGeometry = ["objc2-foundation/NSObject"] +UIWindowSceneGeometryPreferences = [] +UIWindowSceneGeometryPreferencesIOS = [] +UIWindowSceneGeometryPreferencesMac = [] +UIWindowSceneGeometryPreferencesVision = [] +UIWindowScenePlacement = ["objc2-foundation/NSObject"] +UIWindowSceneProminentPlacement = ["objc2-foundation/NSObject"] +UIWindowScenePushPlacement = ["objc2-foundation/NSObject"] +UIWindowSceneReplacePlacement = ["objc2-foundation/NSObject"] +UIWindowSceneStandardPlacement = ["objc2-foundation/NSObject"] +UIWritingToolsCoordinator = [ + "objc2-foundation/NSArray", + "objc2-foundation/NSAttributedString", + "objc2-foundation/NSRange", + "objc2-foundation/NSString", + "objc2-foundation/NSUUID", + "objc2-foundation/NSValue", +] +UIWritingToolsCoordinatorAnimationParameters = [] +UIWritingToolsCoordinatorContext = [ + "objc2-foundation/NSAttributedString", + "objc2-foundation/NSRange", + "objc2-foundation/NSUUID", +] +UIZoomTransitionOptions = ["objc2-foundation/NSObject"] +UNNotificationResponse_UIKitAdditions = [] diff --git a/framework-crates/objc2-uniform-type-identifiers/Cargo.toml b/framework-crates/objc2-uniform-type-identifiers/Cargo.toml index 3c55a789e..0944fe39f 100644 --- a/framework-crates/objc2-uniform-type-identifiers/Cargo.toml +++ b/framework-crates/objc2-uniform-type-identifiers/Cargo.toml @@ -22,7 +22,6 @@ objc2-foundation = { path = "../objc2-foundation", version = "0.2.2", default-fe [package.metadata.docs.rs] default-target = "aarch64-apple-darwin" -features = ["all"] rustc-args = ["--cfg", "docsrs"] # Fix cross-crate link to objc2::topics targets = [ "aarch64-apple-darwin", @@ -35,7 +34,16 @@ targets = [ ] [features] -default = ["std"] +default = [ + "std", + "NSItemProvider_UTType", + "UTAdditions", + "UTCoreTypes", + "UTDefines", + "UTTagClass", + "UTType", + "block2", +] std = ["alloc"] alloc = [] block2 = ["dep:block2"] @@ -64,12 +72,3 @@ UTType = [ "objc2-foundation/NSURL", "objc2-foundation/NSValue", ] -all = [ - "NSItemProvider_UTType", - "UTAdditions", - "UTCoreTypes", - "UTDefines", - "UTTagClass", - "UTType", - "block2", -] diff --git a/framework-crates/objc2-user-notifications/Cargo.toml b/framework-crates/objc2-user-notifications/Cargo.toml index e457c47eb..f7e9c22c8 100644 --- a/framework-crates/objc2-user-notifications/Cargo.toml +++ b/framework-crates/objc2-user-notifications/Cargo.toml @@ -24,7 +24,6 @@ objc2-foundation = { path = "../objc2-foundation", version = "0.2.2", default-fe [package.metadata.docs.rs] default-target = "aarch64-apple-darwin" -features = ["all"] rustc-args = ["--cfg", "docsrs"] # Fix cross-crate link to objc2::topics targets = [ "aarch64-apple-darwin", @@ -37,7 +36,28 @@ targets = [ ] [features] -default = ["std"] +default = [ + "std", + "NSString_UserNotifications", + "UNError", + "UNNotification", + "UNNotificationAction", + "UNNotificationActionIcon", + "UNNotificationAttachment", + "UNNotificationAttributedMessageContext", + "UNNotificationCategory", + "UNNotificationContent", + "UNNotificationRequest", + "UNNotificationResponse", + "UNNotificationServiceExtension", + "UNNotificationSettings", + "UNNotificationSound", + "UNNotificationTrigger", + "UNUserNotificationCenter", + "bitflags", + "block2", + "objc2-core-location", +] std = ["alloc"] alloc = [] bitflags = ["dep:bitflags"] @@ -110,24 +130,3 @@ UNUserNotificationCenter = [ "objc2-foundation/NSSet", "objc2-foundation/NSString", ] -all = [ - "NSString_UserNotifications", - "UNError", - "UNNotification", - "UNNotificationAction", - "UNNotificationActionIcon", - "UNNotificationAttachment", - "UNNotificationAttributedMessageContext", - "UNNotificationCategory", - "UNNotificationContent", - "UNNotificationRequest", - "UNNotificationResponse", - "UNNotificationServiceExtension", - "UNNotificationSettings", - "UNNotificationSound", - "UNNotificationTrigger", - "UNUserNotificationCenter", - "bitflags", - "block2", - "objc2-core-location", -] diff --git a/framework-crates/objc2-video-toolbox/Cargo.toml b/framework-crates/objc2-video-toolbox/Cargo.toml index 49f4fa61c..898980dc5 100644 --- a/framework-crates/objc2-video-toolbox/Cargo.toml +++ b/framework-crates/objc2-video-toolbox/Cargo.toml @@ -38,7 +38,6 @@ objc2-core-video = { path = "../objc2-core-video", version = "0.2.2", default-fe [package.metadata.docs.rs] default-target = "aarch64-apple-darwin" -features = ["all"] rustc-args = ["--cfg", "docsrs"] # Fix cross-crate link to objc2::topics targets = [ "aarch64-apple-darwin", @@ -50,7 +49,34 @@ targets = [ ] [features] -default = ["std"] +default = [ + "std", + "VTBase", + "VTCompressionProperties", + "VTCompressionSession", + "VTDecompressionProperties", + "VTDecompressionSession", + "VTErrors", + "VTFrameSilo", + "VTHDRPerFrameMetadataGenerationSession", + "VTMultiPassStorage", + "VTPixelRotationProperties", + "VTPixelRotationSession", + "VTPixelTransferProperties", + "VTPixelTransferSession", + "VTProfessionalVideoWorkflow", + "VTRAWProcessingProperties", + "VTRAWProcessingSession", + "VTSession", + "VTUtilities", + "VTVideoEncoderList", + "bitflags", + "block2", + "objc2", + "objc2-core-graphics", + "objc2-core-media", + "objc2-core-video", +] std = ["alloc"] alloc = [] bitflags = ["dep:bitflags"] @@ -111,30 +137,3 @@ VTVideoEncoderList = [ "objc2-core-foundation/CFBase", "objc2-core-foundation/CFDictionary", ] -all = [ - "VTBase", - "VTCompressionProperties", - "VTCompressionSession", - "VTDecompressionProperties", - "VTDecompressionSession", - "VTErrors", - "VTFrameSilo", - "VTHDRPerFrameMetadataGenerationSession", - "VTMultiPassStorage", - "VTPixelRotationProperties", - "VTPixelRotationSession", - "VTPixelTransferProperties", - "VTPixelTransferSession", - "VTProfessionalVideoWorkflow", - "VTRAWProcessingProperties", - "VTRAWProcessingSession", - "VTSession", - "VTUtilities", - "VTVideoEncoderList", - "bitflags", - "block2", - "objc2", - "objc2-core-graphics", - "objc2-core-media", - "objc2-core-video", -] diff --git a/framework-crates/objc2-virtualization/Cargo.toml b/framework-crates/objc2-virtualization/Cargo.toml index 39f6394f9..9f280bf47 100644 --- a/framework-crates/objc2-virtualization/Cargo.toml +++ b/framework-crates/objc2-virtualization/Cargo.toml @@ -37,7 +37,6 @@ objc2-foundation = { path = "../objc2-foundation", version = "0.2.2", default-fe [package.metadata.docs.rs] default-target = "aarch64-apple-darwin" -features = ["all"] rustc-args = ["--cfg", "docsrs"] # Fix cross-crate link to objc2::topics targets = [ "aarch64-apple-darwin", @@ -45,7 +44,128 @@ targets = [ ] [features] -default = ["std"] +default = [ + "std", + "VZAudioDeviceConfiguration", + "VZAudioInputStreamSource", + "VZAudioOutputStreamSink", + "VZBootLoader", + "VZBridgedNetworkDeviceAttachment", + "VZBridgedNetworkInterface", + "VZConsoleDevice", + "VZConsoleDeviceConfiguration", + "VZConsolePortConfiguration", + "VZDefines", + "VZDirectoryShare", + "VZDirectorySharingDevice", + "VZDirectorySharingDeviceConfiguration", + "VZDiskBlockDeviceStorageDeviceAttachment", + "VZDiskImageStorageDeviceAttachment", + "VZDiskSynchronizationMode", + "VZEFIBootLoader", + "VZEFIVariableStore", + "VZEntropyDeviceConfiguration", + "VZError", + "VZFileHandleNetworkDeviceAttachment", + "VZFileHandleSerialPortAttachment", + "VZFileSerialPortAttachment", + "VZGenericMachineIdentifier", + "VZGenericPlatformConfiguration", + "VZGraphicsDevice", + "VZGraphicsDeviceConfiguration", + "VZGraphicsDisplay", + "VZGraphicsDisplayConfiguration", + "VZHostAudioInputStreamSource", + "VZHostAudioOutputStreamSink", + "VZKeyboardConfiguration", + "VZLinuxBootLoader", + "VZLinuxRosettaAbstractSocketCachingOptions", + "VZLinuxRosettaCachingOptions", + "VZLinuxRosettaDirectoryShare", + "VZLinuxRosettaUnixSocketCachingOptions", + "VZMACAddress", + "VZMacAuxiliaryStorage", + "VZMacGraphicsDevice", + "VZMacGraphicsDeviceConfiguration", + "VZMacGraphicsDisplay", + "VZMacGraphicsDisplayConfiguration", + "VZMacHardwareModel", + "VZMacKeyboardConfiguration", + "VZMacMachineIdentifier", + "VZMacOSBootLoader", + "VZMacOSConfigurationRequirements", + "VZMacOSInstaller", + "VZMacOSRestoreImage", + "VZMacOSVirtualMachineStartOptions", + "VZMacPlatformConfiguration", + "VZMacTrackpadConfiguration", + "VZMemoryBalloonDevice", + "VZMemoryBalloonDeviceConfiguration", + "VZMultipleDirectoryShare", + "VZNATNetworkDeviceAttachment", + "VZNVMExpressControllerDeviceConfiguration", + "VZNetworkBlockDeviceStorageDeviceAttachment", + "VZNetworkDevice", + "VZNetworkDeviceAttachment", + "VZNetworkDeviceConfiguration", + "VZPlatformConfiguration", + "VZPointingDeviceConfiguration", + "VZSerialPortAttachment", + "VZSerialPortConfiguration", + "VZSharedDirectory", + "VZSingleDirectoryShare", + "VZSocketDevice", + "VZSocketDeviceConfiguration", + "VZSpiceAgentPortAttachment", + "VZStorageDevice", + "VZStorageDeviceAttachment", + "VZStorageDeviceConfiguration", + "VZUSBController", + "VZUSBControllerConfiguration", + "VZUSBDevice", + "VZUSBDeviceConfiguration", + "VZUSBKeyboardConfiguration", + "VZUSBMassStorageDevice", + "VZUSBMassStorageDeviceConfiguration", + "VZUSBScreenCoordinatePointingDeviceConfiguration", + "VZVirtioBlockDeviceConfiguration", + "VZVirtioConsoleDevice", + "VZVirtioConsoleDeviceConfiguration", + "VZVirtioConsoleDeviceSerialPortConfiguration", + "VZVirtioConsolePort", + "VZVirtioConsolePortArray", + "VZVirtioConsolePortConfiguration", + "VZVirtioConsolePortConfigurationArray", + "VZVirtioEntropyDeviceConfiguration", + "VZVirtioFileSystemDevice", + "VZVirtioFileSystemDeviceConfiguration", + "VZVirtioGraphicsDevice", + "VZVirtioGraphicsDeviceConfiguration", + "VZVirtioGraphicsScanout", + "VZVirtioGraphicsScanoutConfiguration", + "VZVirtioNetworkDeviceConfiguration", + "VZVirtioSocketConnection", + "VZVirtioSocketDevice", + "VZVirtioSocketDeviceConfiguration", + "VZVirtioSocketListener", + "VZVirtioSoundDeviceConfiguration", + "VZVirtioSoundDeviceInputStreamConfiguration", + "VZVirtioSoundDeviceOutputStreamConfiguration", + "VZVirtioSoundDeviceStreamConfiguration", + "VZVirtioTraditionalMemoryBalloonDevice", + "VZVirtioTraditionalMemoryBalloonDeviceConfiguration", + "VZVirtualMachine", + "VZVirtualMachineConfiguration", + "VZVirtualMachineDelegate", + "VZVirtualMachineStartOptions", + "VZVirtualMachineView", + "VZXHCIController", + "VZXHCIControllerConfiguration", + "bitflags", + "block2", + "objc2-app-kit", + "objc2-core-foundation", +] std = ["alloc"] alloc = [] bitflags = ["dep:bitflags"] @@ -273,124 +393,3 @@ VZVirtualMachineView = [ ] VZXHCIController = [] VZXHCIControllerConfiguration = ["objc2-foundation/NSObject"] -all = [ - "VZAudioDeviceConfiguration", - "VZAudioInputStreamSource", - "VZAudioOutputStreamSink", - "VZBootLoader", - "VZBridgedNetworkDeviceAttachment", - "VZBridgedNetworkInterface", - "VZConsoleDevice", - "VZConsoleDeviceConfiguration", - "VZConsolePortConfiguration", - "VZDefines", - "VZDirectoryShare", - "VZDirectorySharingDevice", - "VZDirectorySharingDeviceConfiguration", - "VZDiskBlockDeviceStorageDeviceAttachment", - "VZDiskImageStorageDeviceAttachment", - "VZDiskSynchronizationMode", - "VZEFIBootLoader", - "VZEFIVariableStore", - "VZEntropyDeviceConfiguration", - "VZError", - "VZFileHandleNetworkDeviceAttachment", - "VZFileHandleSerialPortAttachment", - "VZFileSerialPortAttachment", - "VZGenericMachineIdentifier", - "VZGenericPlatformConfiguration", - "VZGraphicsDevice", - "VZGraphicsDeviceConfiguration", - "VZGraphicsDisplay", - "VZGraphicsDisplayConfiguration", - "VZHostAudioInputStreamSource", - "VZHostAudioOutputStreamSink", - "VZKeyboardConfiguration", - "VZLinuxBootLoader", - "VZLinuxRosettaAbstractSocketCachingOptions", - "VZLinuxRosettaCachingOptions", - "VZLinuxRosettaDirectoryShare", - "VZLinuxRosettaUnixSocketCachingOptions", - "VZMACAddress", - "VZMacAuxiliaryStorage", - "VZMacGraphicsDevice", - "VZMacGraphicsDeviceConfiguration", - "VZMacGraphicsDisplay", - "VZMacGraphicsDisplayConfiguration", - "VZMacHardwareModel", - "VZMacKeyboardConfiguration", - "VZMacMachineIdentifier", - "VZMacOSBootLoader", - "VZMacOSConfigurationRequirements", - "VZMacOSInstaller", - "VZMacOSRestoreImage", - "VZMacOSVirtualMachineStartOptions", - "VZMacPlatformConfiguration", - "VZMacTrackpadConfiguration", - "VZMemoryBalloonDevice", - "VZMemoryBalloonDeviceConfiguration", - "VZMultipleDirectoryShare", - "VZNATNetworkDeviceAttachment", - "VZNVMExpressControllerDeviceConfiguration", - "VZNetworkBlockDeviceStorageDeviceAttachment", - "VZNetworkDevice", - "VZNetworkDeviceAttachment", - "VZNetworkDeviceConfiguration", - "VZPlatformConfiguration", - "VZPointingDeviceConfiguration", - "VZSerialPortAttachment", - "VZSerialPortConfiguration", - "VZSharedDirectory", - "VZSingleDirectoryShare", - "VZSocketDevice", - "VZSocketDeviceConfiguration", - "VZSpiceAgentPortAttachment", - "VZStorageDevice", - "VZStorageDeviceAttachment", - "VZStorageDeviceConfiguration", - "VZUSBController", - "VZUSBControllerConfiguration", - "VZUSBDevice", - "VZUSBDeviceConfiguration", - "VZUSBKeyboardConfiguration", - "VZUSBMassStorageDevice", - "VZUSBMassStorageDeviceConfiguration", - "VZUSBScreenCoordinatePointingDeviceConfiguration", - "VZVirtioBlockDeviceConfiguration", - "VZVirtioConsoleDevice", - "VZVirtioConsoleDeviceConfiguration", - "VZVirtioConsoleDeviceSerialPortConfiguration", - "VZVirtioConsolePort", - "VZVirtioConsolePortArray", - "VZVirtioConsolePortConfiguration", - "VZVirtioConsolePortConfigurationArray", - "VZVirtioEntropyDeviceConfiguration", - "VZVirtioFileSystemDevice", - "VZVirtioFileSystemDeviceConfiguration", - "VZVirtioGraphicsDevice", - "VZVirtioGraphicsDeviceConfiguration", - "VZVirtioGraphicsScanout", - "VZVirtioGraphicsScanoutConfiguration", - "VZVirtioNetworkDeviceConfiguration", - "VZVirtioSocketConnection", - "VZVirtioSocketDevice", - "VZVirtioSocketDeviceConfiguration", - "VZVirtioSocketListener", - "VZVirtioSoundDeviceConfiguration", - "VZVirtioSoundDeviceInputStreamConfiguration", - "VZVirtioSoundDeviceOutputStreamConfiguration", - "VZVirtioSoundDeviceStreamConfiguration", - "VZVirtioTraditionalMemoryBalloonDevice", - "VZVirtioTraditionalMemoryBalloonDeviceConfiguration", - "VZVirtualMachine", - "VZVirtualMachineConfiguration", - "VZVirtualMachineDelegate", - "VZVirtualMachineStartOptions", - "VZVirtualMachineView", - "VZXHCIController", - "VZXHCIControllerConfiguration", - "bitflags", - "block2", - "objc2-app-kit", - "objc2-core-foundation", -] diff --git a/framework-crates/objc2-vision/Cargo.toml b/framework-crates/objc2-vision/Cargo.toml index 2a97ca5c6..8d4a0a4de 100644 --- a/framework-crates/objc2-vision/Cargo.toml +++ b/framework-crates/objc2-vision/Cargo.toml @@ -55,7 +55,6 @@ objc2-foundation = { path = "../objc2-foundation", version = "0.2.2", default-fe [package.metadata.docs.rs] default-target = "aarch64-apple-darwin" -features = ["all"] rustc-args = ["--cfg", "docsrs"] # Fix cross-crate link to objc2::topics targets = [ "aarch64-apple-darwin", @@ -67,7 +66,68 @@ targets = [ ] [features] -default = ["std"] +default = [ + "std", + "VNCalculateImageAestheticsScoresRequest", + "VNClassifyImageRequest", + "VNCoreMLRequest", + "VNDefines", + "VNDetectAnimalBodyPoseRequest", + "VNDetectBarcodesRequest", + "VNDetectContoursRequest", + "VNDetectDocumentSegmentationRequest", + "VNDetectFaceCaptureQualityRequest", + "VNDetectFaceLandmarksRequest", + "VNDetectFaceRectanglesRequest", + "VNDetectHorizonRequest", + "VNDetectHumanBodyPose3DRequest", + "VNDetectHumanBodyPoseRequest", + "VNDetectHumanHandPoseRequest", + "VNDetectHumanRectanglesRequest", + "VNDetectRectanglesRequest", + "VNDetectTextRectanglesRequest", + "VNDetectTrajectoriesRequest", + "VNDetectedPoint", + "VNError", + "VNFaceLandmarks", + "VNFaceObservationAccepting", + "VNGenerateAttentionBasedSaliencyImageRequest", + "VNGenerateForegroundInstanceMaskRequest", + "VNGenerateImageFeaturePrintRequest", + "VNGenerateObjectnessBasedSaliencyImageRequest", + "VNGenerateOpticalFlowRequest", + "VNGeneratePersonInstanceMaskRequest", + "VNGeneratePersonSegmentationRequest", + "VNGeometry", + "VNGeometryUtils", + "VNHumanBodyRecognizedPoint3D", + "VNImageRegistrationRequest", + "VNObservation", + "VNRecognizeAnimalsRequest", + "VNRecognizeTextRequest", + "VNRecognizedPoint3D", + "VNRequest", + "VNRequestHandler", + "VNRequestRevisionProviding", + "VNStatefulRequest", + "VNTargetedImageRequest", + "VNTrackHomographicImageRegistrationRequest", + "VNTrackObjectRequest", + "VNTrackOpticalFlowRequest", + "VNTrackRectangleRequest", + "VNTrackTranslationalImageRegistrationRequest", + "VNTrackingRequest", + "VNTypes", + "VNUtils", + "VNVideoProcessor", + "block2", + "objc2-core-foundation", + "objc2-core-graphics", + "objc2-core-image", + "objc2-core-media", + "objc2-core-ml", + "objc2-core-video", +] std = ["alloc"] alloc = [] block2 = ["dep:block2"] @@ -345,64 +405,3 @@ VNVideoProcessor = [ "objc2-foundation/NSString", "objc2-foundation/NSURL", ] -all = [ - "VNCalculateImageAestheticsScoresRequest", - "VNClassifyImageRequest", - "VNCoreMLRequest", - "VNDefines", - "VNDetectAnimalBodyPoseRequest", - "VNDetectBarcodesRequest", - "VNDetectContoursRequest", - "VNDetectDocumentSegmentationRequest", - "VNDetectFaceCaptureQualityRequest", - "VNDetectFaceLandmarksRequest", - "VNDetectFaceRectanglesRequest", - "VNDetectHorizonRequest", - "VNDetectHumanBodyPose3DRequest", - "VNDetectHumanBodyPoseRequest", - "VNDetectHumanHandPoseRequest", - "VNDetectHumanRectanglesRequest", - "VNDetectRectanglesRequest", - "VNDetectTextRectanglesRequest", - "VNDetectTrajectoriesRequest", - "VNDetectedPoint", - "VNError", - "VNFaceLandmarks", - "VNFaceObservationAccepting", - "VNGenerateAttentionBasedSaliencyImageRequest", - "VNGenerateForegroundInstanceMaskRequest", - "VNGenerateImageFeaturePrintRequest", - "VNGenerateObjectnessBasedSaliencyImageRequest", - "VNGenerateOpticalFlowRequest", - "VNGeneratePersonInstanceMaskRequest", - "VNGeneratePersonSegmentationRequest", - "VNGeometry", - "VNGeometryUtils", - "VNHumanBodyRecognizedPoint3D", - "VNImageRegistrationRequest", - "VNObservation", - "VNRecognizeAnimalsRequest", - "VNRecognizeTextRequest", - "VNRecognizedPoint3D", - "VNRequest", - "VNRequestHandler", - "VNRequestRevisionProviding", - "VNStatefulRequest", - "VNTargetedImageRequest", - "VNTrackHomographicImageRegistrationRequest", - "VNTrackObjectRequest", - "VNTrackOpticalFlowRequest", - "VNTrackRectangleRequest", - "VNTrackTranslationalImageRegistrationRequest", - "VNTrackingRequest", - "VNTypes", - "VNUtils", - "VNVideoProcessor", - "block2", - "objc2-core-foundation", - "objc2-core-graphics", - "objc2-core-image", - "objc2-core-media", - "objc2-core-ml", - "objc2-core-video", -] diff --git a/framework-crates/objc2-watch-connectivity/Cargo.toml b/framework-crates/objc2-watch-connectivity/Cargo.toml index f4164d3a4..a3478d638 100644 --- a/framework-crates/objc2-watch-connectivity/Cargo.toml +++ b/framework-crates/objc2-watch-connectivity/Cargo.toml @@ -22,7 +22,6 @@ objc2-foundation = { path = "../objc2-foundation", version = "0.2.2", default-fe [package.metadata.docs.rs] default-target = "aarch64-apple-ios" -features = ["all"] rustc-args = ["--cfg", "docsrs"] # Fix cross-crate link to objc2::topics targets = [ "aarch64-apple-ios", @@ -33,7 +32,15 @@ targets = [ ] [features] -default = ["std"] +default = [ + "std", + "WCDefines", + "WCError", + "WCSession", + "WCSessionFile", + "WCSessionUserInfoTransfer", + "block2", +] std = ["alloc"] alloc = [] block2 = ["dep:block2"] @@ -59,11 +66,3 @@ WCSessionUserInfoTransfer = [ "objc2-foundation/NSObject", "objc2-foundation/NSString", ] -all = [ - "WCDefines", - "WCError", - "WCSession", - "WCSessionFile", - "WCSessionUserInfoTransfer", - "block2", -] diff --git a/framework-crates/objc2-watch-kit/Cargo.toml b/framework-crates/objc2-watch-kit/Cargo.toml index 4591ae084..2c83857f1 100644 --- a/framework-crates/objc2-watch-kit/Cargo.toml +++ b/framework-crates/objc2-watch-kit/Cargo.toml @@ -55,14 +55,66 @@ objc2-user-notifications = { path = "../objc2-user-notifications", version = "0. [package.metadata.docs.rs] default-target = "aarch64-apple-watchos" -features = ["all"] rustc-args = ["--cfg", "docsrs"] # Fix cross-crate link to objc2::topics targets = [ "aarch64-apple-watchos", ] [features] -default = ["std"] +default = [ + "std", + "WKAccessibility", + "WKAlertAction", + "WKApplication", + "WKApplicationMain", + "WKAudioFileAsset", + "WKAudioFilePlayer", + "WKAudioFilePlayerItem", + "WKBackgroundTask", + "WKCrownSequencer", + "WKDefines", + "WKError", + "WKExtendedRuntimeSession", + "WKExtension", + "WKGestureRecognizer", + "WKImage", + "WKInterfaceActivityRing", + "WKInterfaceAuthorizationAppleIDButton", + "WKInterfaceButton", + "WKInterfaceController", + "WKInterfaceDate", + "WKInterfaceDevice", + "WKInterfaceGroup", + "WKInterfaceHMCamera", + "WKInterfaceImage", + "WKInterfaceInlineMovie", + "WKInterfaceLabel", + "WKInterfaceMap", + "WKInterfaceMovie", + "WKInterfaceObject", + "WKInterfacePaymentButton", + "WKInterfacePicker", + "WKInterfaceSCNScene", + "WKInterfaceSKScene", + "WKInterfaceSeparator", + "WKInterfaceSlider", + "WKInterfaceSwitch", + "WKInterfaceTable", + "WKInterfaceTextField", + "WKInterfaceTimer", + "WKInterfaceVolumeControl", + "bitflags", + "block2", + "objc2-cloud-kit", + "objc2-core-foundation", + "objc2-core-location", + "objc2-health-kit", + "objc2-home-kit", + "objc2-map-kit", + "objc2-scene-kit", + "objc2-ui-kit", + "objc2-user-notifications", +] std = ["alloc"] alloc = [] bitflags = ["dep:bitflags"] @@ -204,56 +256,3 @@ WKInterfaceTextField = [ ] WKInterfaceTimer = ["objc2-foundation/NSDate"] WKInterfaceVolumeControl = [] -all = [ - "WKAccessibility", - "WKAlertAction", - "WKApplication", - "WKApplicationMain", - "WKAudioFileAsset", - "WKAudioFilePlayer", - "WKAudioFilePlayerItem", - "WKBackgroundTask", - "WKCrownSequencer", - "WKDefines", - "WKError", - "WKExtendedRuntimeSession", - "WKExtension", - "WKGestureRecognizer", - "WKImage", - "WKInterfaceActivityRing", - "WKInterfaceAuthorizationAppleIDButton", - "WKInterfaceButton", - "WKInterfaceController", - "WKInterfaceDate", - "WKInterfaceDevice", - "WKInterfaceGroup", - "WKInterfaceHMCamera", - "WKInterfaceImage", - "WKInterfaceInlineMovie", - "WKInterfaceLabel", - "WKInterfaceMap", - "WKInterfaceMovie", - "WKInterfaceObject", - "WKInterfacePaymentButton", - "WKInterfacePicker", - "WKInterfaceSCNScene", - "WKInterfaceSKScene", - "WKInterfaceSeparator", - "WKInterfaceSlider", - "WKInterfaceSwitch", - "WKInterfaceTable", - "WKInterfaceTextField", - "WKInterfaceTimer", - "WKInterfaceVolumeControl", - "bitflags", - "block2", - "objc2-cloud-kit", - "objc2-core-foundation", - "objc2-core-location", - "objc2-health-kit", - "objc2-home-kit", - "objc2-map-kit", - "objc2-scene-kit", - "objc2-ui-kit", - "objc2-user-notifications", -] diff --git a/framework-crates/objc2-web-kit/Cargo.toml b/framework-crates/objc2-web-kit/Cargo.toml index 7506a7b17..7026f7f0b 100644 --- a/framework-crates/objc2-web-kit/Cargo.toml +++ b/framework-crates/objc2-web-kit/Cargo.toml @@ -54,7 +54,6 @@ objc2-app-kit = { path = "../objc2-app-kit", version = "0.2.2", default-features [package.metadata.docs.rs] default-target = "aarch64-apple-darwin" -features = ["all"] rustc-args = ["--cfg", "docsrs"] # Fix cross-crate link to objc2::topics targets = [ "aarch64-apple-darwin", @@ -65,7 +64,212 @@ targets = [ ] [features] -default = ["std"] +default = [ + "std", + "DOM", + "DOMAbstractView", + "DOMAttr", + "DOMBlob", + "DOMCDATASection", + "DOMCSS", + "DOMCSSCharsetRule", + "DOMCSSFontFaceRule", + "DOMCSSImportRule", + "DOMCSSMediaRule", + "DOMCSSPageRule", + "DOMCSSPrimitiveValue", + "DOMCSSRule", + "DOMCSSRuleList", + "DOMCSSStyleDeclaration", + "DOMCSSStyleRule", + "DOMCSSStyleSheet", + "DOMCSSUnknownRule", + "DOMCSSValue", + "DOMCSSValueList", + "DOMCharacterData", + "DOMComment", + "DOMCore", + "DOMCounter", + "DOMDocument", + "DOMDocumentFragment", + "DOMDocumentType", + "DOMElement", + "DOMEntity", + "DOMEntityReference", + "DOMEvent", + "DOMEventException", + "DOMEventListener", + "DOMEventTarget", + "DOMEvents", + "DOMException", + "DOMExtensions", + "DOMFile", + "DOMFileList", + "DOMHTML", + "DOMHTMLAnchorElement", + "DOMHTMLAppletElement", + "DOMHTMLAreaElement", + "DOMHTMLBRElement", + "DOMHTMLBaseElement", + "DOMHTMLBaseFontElement", + "DOMHTMLBodyElement", + "DOMHTMLButtonElement", + "DOMHTMLCollection", + "DOMHTMLDListElement", + "DOMHTMLDirectoryElement", + "DOMHTMLDivElement", + "DOMHTMLDocument", + "DOMHTMLElement", + "DOMHTMLEmbedElement", + "DOMHTMLFieldSetElement", + "DOMHTMLFontElement", + "DOMHTMLFormElement", + "DOMHTMLFrameElement", + "DOMHTMLFrameSetElement", + "DOMHTMLHRElement", + "DOMHTMLHeadElement", + "DOMHTMLHeadingElement", + "DOMHTMLHtmlElement", + "DOMHTMLIFrameElement", + "DOMHTMLImageElement", + "DOMHTMLInputElement", + "DOMHTMLLIElement", + "DOMHTMLLabelElement", + "DOMHTMLLegendElement", + "DOMHTMLLinkElement", + "DOMHTMLMapElement", + "DOMHTMLMarqueeElement", + "DOMHTMLMenuElement", + "DOMHTMLMetaElement", + "DOMHTMLModElement", + "DOMHTMLOListElement", + "DOMHTMLObjectElement", + "DOMHTMLOptGroupElement", + "DOMHTMLOptionElement", + "DOMHTMLOptionsCollection", + "DOMHTMLParagraphElement", + "DOMHTMLParamElement", + "DOMHTMLPreElement", + "DOMHTMLQuoteElement", + "DOMHTMLScriptElement", + "DOMHTMLSelectElement", + "DOMHTMLStyleElement", + "DOMHTMLTableCaptionElement", + "DOMHTMLTableCellElement", + "DOMHTMLTableColElement", + "DOMHTMLTableElement", + "DOMHTMLTableRowElement", + "DOMHTMLTableSectionElement", + "DOMHTMLTextAreaElement", + "DOMHTMLTitleElement", + "DOMHTMLUListElement", + "DOMImplementation", + "DOMKeyboardEvent", + "DOMMediaList", + "DOMMouseEvent", + "DOMMutationEvent", + "DOMNamedNodeMap", + "DOMNode", + "DOMNodeFilter", + "DOMNodeIterator", + "DOMNodeList", + "DOMObject", + "DOMOverflowEvent", + "DOMProcessingInstruction", + "DOMProgressEvent", + "DOMRGBColor", + "DOMRange", + "DOMRangeException", + "DOMRanges", + "DOMRect", + "DOMStyleSheet", + "DOMStyleSheetList", + "DOMStylesheets", + "DOMText", + "DOMTraversal", + "DOMTreeWalker", + "DOMUIEvent", + "DOMViews", + "DOMWheelEvent", + "DOMXPath", + "DOMXPathException", + "DOMXPathExpression", + "DOMXPathNSResolver", + "DOMXPathResult", + "NSAttributedString", + "WKBackForwardList", + "WKBackForwardListItem", + "WKContentRuleList", + "WKContentRuleListStore", + "WKContentWorld", + "WKContextMenuElementInfo", + "WKDataDetectorTypes", + "WKDownload", + "WKDownloadDelegate", + "WKError", + "WKFindConfiguration", + "WKFindResult", + "WKFoundation", + "WKFrameInfo", + "WKHTTPCookieStore", + "WKNavigation", + "WKNavigationAction", + "WKNavigationDelegate", + "WKNavigationResponse", + "WKOpenPanelParameters", + "WKPDFConfiguration", + "WKPreferences", + "WKPreviewActionItem", + "WKPreviewActionItemIdentifiers", + "WKPreviewElementInfo", + "WKProcessPool", + "WKScriptMessage", + "WKScriptMessageHandler", + "WKScriptMessageHandlerWithReply", + "WKSecurityOrigin", + "WKSnapshotConfiguration", + "WKUIDelegate", + "WKURLSchemeHandler", + "WKURLSchemeTask", + "WKUserContentController", + "WKUserScript", + "WKWebView", + "WKWebViewConfiguration", + "WKWebpagePreferences", + "WKWebsiteDataRecord", + "WKWebsiteDataStore", + "WKWindowFeatures", + "WebArchive", + "WebBackForwardList", + "WebDOMOperations", + "WebDataSource", + "WebDocument", + "WebDownload", + "WebEditingDelegate", + "WebFrame", + "WebFrameLoadDelegate", + "WebFrameView", + "WebHistory", + "WebHistoryItem", + "WebKitAvailability", + "WebKitErrors", + "WebKitLegacy", + "WebPlugin", + "WebPluginContainer", + "WebPluginViewFactory", + "WebPolicyDelegate", + "WebPreferences", + "WebResource", + "WebResourceLoadDelegate", + "WebScriptObject", + "WebUIDelegate", + "WebView", + "bitflags", + "block2", + "objc2-app-kit", + "objc2-core-foundation", + "objc2-security", +] std = ["alloc"] alloc = [] bitflags = ["dep:bitflags"] @@ -731,211 +935,6 @@ WebView = [ "objc2-foundation/NSUndoManager", "objc2-foundation/objc2-core-foundation", ] -all = [ - "DOM", - "DOMAbstractView", - "DOMAttr", - "DOMBlob", - "DOMCDATASection", - "DOMCSS", - "DOMCSSCharsetRule", - "DOMCSSFontFaceRule", - "DOMCSSImportRule", - "DOMCSSMediaRule", - "DOMCSSPageRule", - "DOMCSSPrimitiveValue", - "DOMCSSRule", - "DOMCSSRuleList", - "DOMCSSStyleDeclaration", - "DOMCSSStyleRule", - "DOMCSSStyleSheet", - "DOMCSSUnknownRule", - "DOMCSSValue", - "DOMCSSValueList", - "DOMCharacterData", - "DOMComment", - "DOMCore", - "DOMCounter", - "DOMDocument", - "DOMDocumentFragment", - "DOMDocumentType", - "DOMElement", - "DOMEntity", - "DOMEntityReference", - "DOMEvent", - "DOMEventException", - "DOMEventListener", - "DOMEventTarget", - "DOMEvents", - "DOMException", - "DOMExtensions", - "DOMFile", - "DOMFileList", - "DOMHTML", - "DOMHTMLAnchorElement", - "DOMHTMLAppletElement", - "DOMHTMLAreaElement", - "DOMHTMLBRElement", - "DOMHTMLBaseElement", - "DOMHTMLBaseFontElement", - "DOMHTMLBodyElement", - "DOMHTMLButtonElement", - "DOMHTMLCollection", - "DOMHTMLDListElement", - "DOMHTMLDirectoryElement", - "DOMHTMLDivElement", - "DOMHTMLDocument", - "DOMHTMLElement", - "DOMHTMLEmbedElement", - "DOMHTMLFieldSetElement", - "DOMHTMLFontElement", - "DOMHTMLFormElement", - "DOMHTMLFrameElement", - "DOMHTMLFrameSetElement", - "DOMHTMLHRElement", - "DOMHTMLHeadElement", - "DOMHTMLHeadingElement", - "DOMHTMLHtmlElement", - "DOMHTMLIFrameElement", - "DOMHTMLImageElement", - "DOMHTMLInputElement", - "DOMHTMLLIElement", - "DOMHTMLLabelElement", - "DOMHTMLLegendElement", - "DOMHTMLLinkElement", - "DOMHTMLMapElement", - "DOMHTMLMarqueeElement", - "DOMHTMLMenuElement", - "DOMHTMLMetaElement", - "DOMHTMLModElement", - "DOMHTMLOListElement", - "DOMHTMLObjectElement", - "DOMHTMLOptGroupElement", - "DOMHTMLOptionElement", - "DOMHTMLOptionsCollection", - "DOMHTMLParagraphElement", - "DOMHTMLParamElement", - "DOMHTMLPreElement", - "DOMHTMLQuoteElement", - "DOMHTMLScriptElement", - "DOMHTMLSelectElement", - "DOMHTMLStyleElement", - "DOMHTMLTableCaptionElement", - "DOMHTMLTableCellElement", - "DOMHTMLTableColElement", - "DOMHTMLTableElement", - "DOMHTMLTableRowElement", - "DOMHTMLTableSectionElement", - "DOMHTMLTextAreaElement", - "DOMHTMLTitleElement", - "DOMHTMLUListElement", - "DOMImplementation", - "DOMKeyboardEvent", - "DOMMediaList", - "DOMMouseEvent", - "DOMMutationEvent", - "DOMNamedNodeMap", - "DOMNode", - "DOMNodeFilter", - "DOMNodeIterator", - "DOMNodeList", - "DOMObject", - "DOMOverflowEvent", - "DOMProcessingInstruction", - "DOMProgressEvent", - "DOMRGBColor", - "DOMRange", - "DOMRangeException", - "DOMRanges", - "DOMRect", - "DOMStyleSheet", - "DOMStyleSheetList", - "DOMStylesheets", - "DOMText", - "DOMTraversal", - "DOMTreeWalker", - "DOMUIEvent", - "DOMViews", - "DOMWheelEvent", - "DOMXPath", - "DOMXPathException", - "DOMXPathExpression", - "DOMXPathNSResolver", - "DOMXPathResult", - "NSAttributedString", - "WKBackForwardList", - "WKBackForwardListItem", - "WKContentRuleList", - "WKContentRuleListStore", - "WKContentWorld", - "WKContextMenuElementInfo", - "WKDataDetectorTypes", - "WKDownload", - "WKDownloadDelegate", - "WKError", - "WKFindConfiguration", - "WKFindResult", - "WKFoundation", - "WKFrameInfo", - "WKHTTPCookieStore", - "WKNavigation", - "WKNavigationAction", - "WKNavigationDelegate", - "WKNavigationResponse", - "WKOpenPanelParameters", - "WKPDFConfiguration", - "WKPreferences", - "WKPreviewActionItem", - "WKPreviewActionItemIdentifiers", - "WKPreviewElementInfo", - "WKProcessPool", - "WKScriptMessage", - "WKScriptMessageHandler", - "WKScriptMessageHandlerWithReply", - "WKSecurityOrigin", - "WKSnapshotConfiguration", - "WKUIDelegate", - "WKURLSchemeHandler", - "WKURLSchemeTask", - "WKUserContentController", - "WKUserScript", - "WKWebView", - "WKWebViewConfiguration", - "WKWebpagePreferences", - "WKWebsiteDataRecord", - "WKWebsiteDataStore", - "WKWindowFeatures", - "WebArchive", - "WebBackForwardList", - "WebDOMOperations", - "WebDataSource", - "WebDocument", - "WebDownload", - "WebEditingDelegate", - "WebFrame", - "WebFrameLoadDelegate", - "WebFrameView", - "WebHistory", - "WebHistoryItem", - "WebKitAvailability", - "WebKitErrors", - "WebKitLegacy", - "WebPlugin", - "WebPluginContainer", - "WebPluginViewFactory", - "WebPolicyDelegate", - "WebPreferences", - "WebResource", - "WebResourceLoadDelegate", - "WebScriptObject", - "WebUIDelegate", - "WebView", - "bitflags", - "block2", - "objc2-app-kit", - "objc2-core-foundation", - "objc2-security", -] [[example]] name = "browser"