Cargo Features

[dependencies]
objc2-game-kit = { version = "0.2.0", default-features = false, features = ["std", "alloc", "unstable-docsrs", "all", "block2", "objc2-app-kit", "GKAccessPoint", "GKAchievement", "GKAchievementDescription", "GKAchievementViewController", "GKBasePlayer", "GKChallenge", "GKChallengeEventHandler", "GKChallengesViewController", "GKCloudPlayer", "GKDefines", "GKDialogController", "GKError", "GKEventListener", "GKFriendRequestComposeViewController", "GKGameCenterViewController", "GKGameSession", "GKGameSessionError", "GKGameSessionEventListener", "GKGameSessionSharingViewController", "GKLeaderboard", "GKLeaderboardEntry", "GKLeaderboardScore", "GKLeaderboardSet", "GKLeaderboardViewController", "GKLocalPlayer", "GKMatch", "GKMatchmaker", "GKMatchmakerViewController", "GKNotificationBanner", "GKPeerPickerController", "GKPlayer", "GKPublicConstants", "GKPublicProtocols", "GKSavedGame", "GKSavedGameListener", "GKScore", "GKSession", "GKSessionError", "GKTurnBasedMatch", "GKTurnBasedMatchmakerViewController", "GKVoiceChat", "GKVoiceChatService"] }
default = std

The std feature is set by default whenever objc2-game-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 objc2

alloc std

Enables alloc of objc2

unstable-docsrs

For better documentation on docs.rs

all = GKAccessPoint, GKAchievement, GKAchievementDescription, GKAchievementViewController, GKBasePlayer, GKChallenge, GKChallengeEventHandler, GKChallengesViewController, GKCloudPlayer, GKDefines, GKDialogController, GKError, GKEventListener, GKFriendRequestComposeViewController, GKGameCenterViewController, GKGameSession, GKGameSessionError, GKGameSessionEventListener, GKGameSessionSharingViewController, GKLeaderboard, GKLeaderboardEntry, GKLeaderboardScore, GKLeaderboardSet, GKLeaderboardViewController, GKLocalPlayer, GKMatch, GKMatchmaker, GKMatchmakerViewController, GKNotificationBanner, GKPeerPickerController, GKPlayer, GKPublicConstants, GKPublicProtocols, GKSavedGame, GKSavedGameListener, GKScore, GKSession, GKSessionError, GKTurnBasedMatch, GKTurnBasedMatchmakerViewController, GKVoiceChat, GKVoiceChatService, block2, objc2-app-kit
block2 all?

Enables block2

Affects GKChallenge::GKChallengeComposeCompletionBlock, GKChallenge::GKChallengeComposeHandler

objc2-app-kit all?

Enables objc2-app-kit

Affects GKChallenge::GKChallengeComposeCompletionBlock, GKChallenge::GKChallengeComposeHandler

GKAccessPoint all?

Enables NSGeometry of objc2-foundation, NSResponder and NSWindow of optional objc2-app-kit

GKAchievement all?

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

GKAchievementDescription all?

Enables NSArray, NSError, NSObject, NSString and NSValue of objc2-foundation, NSImage of optional objc2-app-kit

GKAchievementViewController all?

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

GKBasePlayer all?

Enables NSString of objc2-foundation

Affects GKChallenge::GKChallengeComposeHandler

GKChallenge all?

Enables NSArray, NSDate, NSError, NSObject and NSString of objc2-foundation, NSResponder and NSViewController of optional objc2-app-kit

GKChallengeEventHandler all?
GKChallengesViewController all?

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

GKCloudPlayer all?

Enables NSError and NSString of objc2-foundation

GKDefines all?

Enables NSDictionary and NSString of objc2-foundation

GKDialogController all?

Enables NSCoder and NSObject of objc2-foundation, NSResponder, NSViewController and NSWindow of optional objc2-app-kit

GKError all?

Enables NSString of objc2-foundation

GKEventListener all?
GKFriendRequestComposeViewController all?

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

GKGameCenterViewController all?

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

GKGameSession all?

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

GKGameSessionError all?

Enables NSString of objc2-foundation

GKGameSessionEventListener all?

Enables NSData and NSString of objc2-foundation

GKGameSessionSharingViewController all?
GKLeaderboard all?

Enables NSArray, NSDate, NSError, NSRange and NSString of objc2-foundation, NSImage of optional objc2-app-kit

GKLeaderboardEntry all?

Enables NSDate and NSString of objc2-foundation

GKLeaderboardScore all?

Enables NSString of objc2-foundation

GKLeaderboardSet all?

Enables NSArray, NSError, NSObject and NSString of objc2-foundation, NSImage of optional objc2-app-kit

GKLeaderboardViewController all?

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

GKLocalPlayer all?

Enables NSArray, NSData, NSError, NSNotification, NSString and NSURL of objc2-foundation, NSResponder, NSViewController and NSWindow of optional objc2-app-kit

GKMatch all?

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

GKMatchmaker all?

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

GKMatchmakerViewController all?

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

GKNotificationBanner all?

Enables NSDate and NSString of objc2-foundation

GKPeerPickerController all?
GKPlayer all?

Enables NSArray, NSError, NSNotification and NSString of objc2-foundation, NSImage of optional objc2-app-kit

Affects GKChallenge::GKChallengeComposeHandler

GKPublicConstants all?

Enables NSString of objc2-foundation

GKPublicProtocols all?

Enables NSData, NSError and NSString of objc2-foundation

GKSavedGame all?

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

GKSavedGameListener all?

Enables NSArray of objc2-foundation

GKScore all?

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

GKSession all?

Enables NSArray, NSDate and NSString of objc2-foundation

GKSessionError all?

Enables NSString of objc2-foundation

GKTurnBasedMatch all?

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

GKTurnBasedMatchmakerViewController all?

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

GKVoiceChat all?

Enables NSArray and NSString of objc2-foundation

GKVoiceChatService all?

Enables NSData and NSString of objc2-foundation