Cargo Features

[dependencies]
objc2-media-player = { version = "0.2.2", default-features = false, features = ["std", "alloc", "all", "bitflags", "block2", "objc2-app-kit", "AVFoundation_MPNowPlayingInfoLanguageOptionAdditions", "AVPlayerItem_MediaPlayerAdditions", "MPError", "MPMediaEntity", "MPMediaItem", "MPMediaItemCollection", "MPMediaLibrary", "MPMediaPickerController", "MPMediaPlayback", "MPMediaPlaylist", "MPMediaQuery", "MPMediaQuerySection", "MPMoviePlayerViewController", "MPMusicPlayerApplicationController", "MPMusicPlayerController", "MPMusicPlayerQueueDescriptor", "MPNowPlayingInfoCenter", "MPNowPlayingInfoLanguageOption", "MPNowPlayingSession", "MPPlayableContentDataSource", "MPPlayableContentDelegate", "MPPlayableContentManager", "MPPlayableContentManagerContext", "MPRemoteCommand", "MPRemoteCommandCenter", "MPRemoteCommandEvent", "MPVolumeView", "MediaPlayerDefines", "NSUserActivity_MediaPlayerAdditions"] }
default = std

The std feature is set by default whenever objc2-media-player 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 = 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
bitflags MPMediaItem? MPMediaPlaylist? 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

AVFoundation_MPNowPlayingInfoLanguageOptionAdditions all?
AVPlayerItem_MediaPlayerAdditions all?
MPContentItem MPError all?

Enables NSString of objc2-foundation

MPMediaEntity all?

Enables NSObject, NSSet and NSString of objc2-foundation

MPMediaItem all? = bitflags

Enables NSDate, NSGeometry, NSObject, NSString and NSURL of objc2-foundation, NSImage of optional objc2-app-kit

MPMediaItemCollection all?

Enables NSArray and NSObject of objc2-foundation

MPMediaLibrary all?

Enables NSArray, NSDate, NSError, NSObject, NSString and NSUUID of objc2-foundation

MPMediaPickerController all?
MPMediaPlayback all?

Enables NSDate and NSString of objc2-foundation

MPMediaPlaylist all? = bitflags

Enables NSArray, NSError, NSObject and NSString of objc2-foundation

MPMediaQuery all?

Enables NSArray, NSObject, NSSet and NSString of objc2-foundation

MPMediaQuerySection all?

Enables NSObject, NSRange and NSString of objc2-foundation

MPMoviePlayerController MPMoviePlayerViewController all?
MPMusicPlayerApplicationController all?

Enables NSArray, NSError and NSString of objc2-foundation

MPMusicPlayerController all?

Enables NSArray, NSError, NSNotification and NSString of objc2-foundation

MPMusicPlayerQueueDescriptor all?

Enables NSArray, NSDate, NSDictionary and NSString of objc2-foundation

MPNowPlayingInfoCenter all?

Enables NSDictionary and NSString of objc2-foundation

MPNowPlayingInfoLanguageOption all?

Enables NSArray and NSString of objc2-foundation

MPNowPlayingSession all?

Enables NSObject of objc2-foundation

MPPlayableContentDataSource all?

Enables NSError, NSIndexPath and NSString of objc2-foundation

MPPlayableContentDelegate all?

Enables NSArray, NSError and NSIndexPath of objc2-foundation

MPPlayableContentManager all?

Enables NSArray and NSString of objc2-foundation

MPPlayableContentManagerContext all?
MPRemoteCommand all?

Enables NSArray, NSString and NSValue of objc2-foundation

MPRemoteCommandCenter all?
MPRemoteCommandEvent all?

Enables NSDate of objc2-foundation

MPRemoteControlTypes MPVolumeSettings MPVolumeView all?
MediaPlayerDefines all?
NSUserActivity_MediaPlayerAdditions all?

Enables NSString and NSUserActivity of objc2-foundation