Cargo Features
[dependencies]
objc2-social = { version = "0.3.0", default-features = false, features = ["std", "alloc", "block2", "objc2-accounts", "objc2-app-kit", "SLComposeServiceViewController", "SLRequest", "SLServiceTypes", "SocialDefines"] }
- default = SLComposeServiceViewController, SLRequest, SLServiceTypes, SocialDefines, block2, objc2-accounts, objc2-app-kit, std
-
These default features are set whenever
objc2-social
is added without
somewhere in the dependency tree.default-features = false - std default = alloc
- alloc std
- block2 default
-
Enables block2
Affects
SLRequest::SLRequestHandler
… - objc2-accounts default
-
Enables objc2-accounts
- objc2-app-kit default
-
Enables objc2-app-kit
- SLComposeServiceViewController default
-
Enables NSBundle, NSCoder, NSObject, NSString and NSValue of objc2-foundation
- SLRequest default
-
Enables NSData, NSDictionary, NSError, NSString, NSURL, NSURLRequest and NSURLResponse of objc2-foundation
- SLServiceTypes default
-
Enables NSString of objc2-foundation
- SocialDefines default