Cargo Features

[dependencies]
objc2-sensitive-content-analysis = { version = "0.2.2", default-features = false, features = ["std", "alloc", "all", "block2", "SCSensitivityAnalyzer"] }
default = std

The std feature is set by default whenever objc2-sensitive-content-analysis 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 block2, objc2, and objc2-foundation

alloc std

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

all = SCSensitivityAnalyzer, block2
block2 all?

Enables block2, block2 of objc2-foundation

SCSensitivityAnalyzer all?

Enables NSError, NSProgress and NSURL of objc2-foundation