Cargo Features

[dependencies]
objc2-device-check = { version = "0.2.0", default-features = false, features = ["std", "alloc", "unstable-docsrs", "all", "block2", "DCAppAttestService", "DCDevice", "DCError"] }
default = std

The std feature is set by default whenever objc2-device-check 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 = DCAppAttestService, DCDevice, DCError, block2
block2 all?

Enables block2

DCAppAttestService all?

Enables NSData, NSError and NSString of objc2-foundation

DCDevice all?

Enables NSData and NSError of objc2-foundation

DCError all?

Enables NSError and NSString of objc2-foundation