Cargo Features

[dependencies]
objc2-background-assets = { version = "0.2.0", default-features = false, features = ["std", "alloc", "unstable-docsrs", "all", "block2", "BAAppExtensionInfo", "BABase", "BADownload", "BADownloadManager", "BADownloaderExtension", "BAError", "BATypes", "BAURLDownload"] }
default = std

The std feature is set by default whenever objc2-background-assets 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 = BAAppExtensionInfo, BABase, BADownload, BADownloadManager, BADownloaderExtension, BAError, BATypes, BAURLDownload, block2
block2 all?

Enables block2

BAAppExtensionInfo all?

Enables NSObject and NSValue of objc2-foundation

BABase all?
BADownload all?

Enables NSObject and NSString of objc2-foundation

BADownloadManager all?

Enables NSArray, NSDate, NSError, NSURL, NSURLAuthenticationChallenge, NSURLCredential and NSURLSession of objc2-foundation

BADownloaderExtension all?

Enables NSError, NSSet, NSURL, NSURLAuthenticationChallenge, NSURLCredential and NSURLSession of objc2-foundation

BAError all?

Enables NSString of objc2-foundation

BATypes all?
BAURLDownload all?

Enables NSObject, NSString and NSURLRequest of objc2-foundation