Cargo Features

[dependencies]
objc2-av-kit = { version = "0.2.2", default-features = false, features = ["std", "alloc", "all", "bitflags", "block2", "objc2-app-kit", "AVCaptureView", "AVKitDefines", "AVKitTypes", "AVPictureInPictureController", "AVPictureInPictureController_AVSampleBufferDisplayLayerSupport", "AVPlaybackSpeed", "AVPlayerView", "AVRoutePickerView"] }
default = std

The std feature is set by default whenever objc2-av-kit is added without default-features = false somewhere in the dependency tree.

std default = alloc

Currently not possible to turn off, put here for forwards compatibility.

Enables std of optional bitflags, optional block2, objc2, optional objc2-app-kit, and objc2-foundation

alloc std

Enables alloc of optional block2, objc2, optional objc2-app-kit, and objc2-foundation

all = AVCaptureView, AVKitCore, AVKitDefines, AVKitTypes, AVPictureInPictureController, AVPictureInPictureController_AVSampleBufferDisplayLayerSupport, AVPlaybackSpeed, AVPlayerView, AVRoutePickerView, bitflags, block2, objc2-app-kit
bitflags AVKitTypes? all?

Enables bitflags, bitflags of objc2-foundation and optional objc2-app-kit

block2 all?

Enables block2, block2 of objc2-foundation and optional objc2-app-kit

objc2-app-kit all?

Enables objc2-app-kit

AVCaptureView all?

Enables NSCoder, NSGeometry and NSObject of objc2-foundation, NSAccessibilityProtocols, NSAnimation, NSAppearance, NSDragging, NSResponder, NSUserInterfaceItemIdentification and NSView of optional objc2-app-kit

AVKitCore AVKitDefines all?
AVKitTypes all? = bitflags
AVPictureInPictureController all?

Enables NSError of objc2-foundation, NSImage of optional objc2-app-kit

AVPictureInPictureController_AVSampleBufferDisplayLayerSupport all?
AVPlaybackSpeed all?

Enables NSArray and NSString of objc2-foundation

AVPlayerView all?

Enables NSArray, NSCoder, NSError, NSGeometry, NSObject and NSString of objc2-foundation, NSAccessibilityProtocols, NSAnimation, NSAppearance, NSDragging, NSMenu, NSResponder, NSUserInterfaceItemIdentification and NSView of optional objc2-app-kit

AVRoutePickerView all?

Enables NSCoder, NSGeometry and NSObject of objc2-foundation, NSAccessibilityProtocols, NSAnimation, NSAppearance, NSColor, NSDragging, NSResponder, NSUserInterfaceItemIdentification and NSView of optional objc2-app-kit