Cargo Features

[dependencies]
objc2-social = { version = "0.2.2", default-features = false, features = ["std", "alloc", "all", "block2", "objc2-accounts", "objc2-app-kit", "SLComposeServiceViewController", "SLRequest", "SLServiceTypes", "SocialDefines"] }
default = std

The std feature is set by default whenever objc2-social 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-accounts, optional objc2-app-kit, and objc2-foundation

alloc std

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

all = SLComposeServiceViewController, SLRequest, SLServiceTypes, SocialDefines, block2, objc2-accounts, objc2-app-kit
block2 all?

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

Affects SLRequest::SLRequestHandler

objc2-accounts all?

Enables objc2-accounts

objc2-app-kit all?

Enables objc2-app-kit

SLComposeServiceViewController all?

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

SLRequest all?

Enables NSData, NSDictionary, NSError, NSString, NSURL, NSURLRequest and NSURLResponse of objc2-foundation, ACAccount of optional objc2-accounts

SLServiceTypes all?

Enables NSString of objc2-foundation

SocialDefines all?