Cargo Features

[dependencies]
objc2-screen-capture-kit = { version = "0.2.2", default-features = false, features = ["std", "alloc", "all", "bitflags", "block2", "libc", "SCContentSharingPicker", "SCError", "SCScreenshotManager", "SCStream"] }
default = std

The std feature is set by default whenever objc2-screen-capture-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 optional bitflags, optional block2, optional libc, objc2, and objc2-foundation

alloc std

Enables alloc of optional block2, objc2, and objc2-foundation

all = SCContentSharingPicker, SCError, SCScreenshotManager, SCShareableContent, SCStream, bitflags, block2, libc
bitflags SCContentSharingPicker? all?

Enables bitflags, bitflags of objc2-foundation

block2 all?

Enables block2, block2 of objc2-foundation

libc all?

Enables libc, libc of objc2-foundation

SCContentSharingPicker all? = bitflags

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

SCError all?

Enables NSString of objc2-foundation

SCScreenshotManager all?
SCShareableContent SCStream all?

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