Cargo Features
[dependencies]
objc2-background-tasks = { version = "0.2.0", default-features = false, features = ["std", "alloc", "unstable-docsrs", "all", "block2", "BGDefines", "BGTask", "BGTaskRequest", "BGTaskScheduler"] }
- default = std
-
The
std
feature is set by default wheneverobjc2-background-tasks
is added without
somewhere in the dependency tree.default-features = false - std default = alloc
-
Currently not possible to turn off, put here for forwards compatibility.
- alloc std
- unstable-docsrs
-
For better documentation on docs.rs
- all = BGDefines, BGTask, BGTaskRequest, BGTaskScheduler, block2
- block2 all?
-
Enables block2
- BGDefines all?
- BGTask all?
-
Enables NSString of objc2-foundation
- BGTaskRequest all?
-
Enables NSDate, NSFileManager, NSObject and NSString of objc2-foundation
- BGTaskScheduler all?
-
Enables NSArray, NSError and NSString of objc2-foundation