Cargo Features
[dependencies]
objc2-background-tasks = { version = "0.3.0", default-features = false, features = ["std", "alloc", "block2", "BGDefines", "BGTask", "BGTaskRequest", "BGTaskScheduler"] }
- default = BGDefines, BGTask, BGTaskRequest, BGTaskScheduler, block2, std
-
These default features are set whenever
objc2-background-tasks
is added without
somewhere in the dependency tree.default-features = false - std default = alloc
- alloc std
- block2 default
-
Enables block2
- BGDefines default
- BGTask default
-
Enables NSString of objc2-foundation
- BGTaskRequest default
-
Enables NSDate, NSFileManager, NSObject and NSString of objc2-foundation
- BGTaskScheduler default
-
Enables NSArray, NSError and NSString of objc2-foundation
objc2-background-tasks has 8 features without comments.