Cargo Features

[dependencies]
objc2-multipeer-connectivity = { version = "0.2.2", default-features = false, features = ["std", "alloc", "all", "block2", "objc2-app-kit", "MCAdvertiserAssistant", "MCBrowserViewController", "MCError", "MCNearbyServiceAdvertiser", "MCNearbyServiceBrowser", "MCPeerID", "MCSession"] }
default = std

The std feature is set by default whenever objc2-multipeer-connectivity 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 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 = MCAdvertiserAssistant, MCBrowserViewController, MCError, MCNearbyServiceAdvertiser, MCNearbyServiceBrowser, MCPeerID, MCSession, block2, objc2-app-kit
block2 all?

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

objc2-app-kit all?

Enables objc2-app-kit

MCAdvertiserAssistant all?

Enables NSDictionary and NSString of objc2-foundation

MCBrowserViewController all?

Enables NSBundle, NSCoder, NSDictionary, NSObject and NSString of objc2-foundation, NSKeyValueBinding, NSNib, NSResponder, NSStoryboardSegue, NSUserInterfaceItemIdentification and NSViewController of optional objc2-app-kit

MCError all?

Enables NSString of objc2-foundation

MCNearbyServiceAdvertiser all?

Enables NSData, NSDictionary, NSError and NSString of objc2-foundation

MCNearbyServiceBrowser all?

Enables NSData, NSDate, NSDictionary, NSError and NSString of objc2-foundation

MCPeerID all?

Enables NSObject and NSString of objc2-foundation

MCSession all?

Enables NSArray, NSData, NSError, NSProgress, NSStream, NSString and NSURL of objc2-foundation