Cargo Features

[dependencies]
objc2-exception-handling = { version = "0.2.2", default-features = false, features = ["std", "alloc", "all", "ExceptionHandlingDefines", "NSExceptionHandler"] }
default = std

The std feature is set by default whenever objc2-exception-handling 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 and objc2-foundation

alloc std

Enables alloc of objc2 and objc2-foundation

all = ExceptionHandlingDefines, NSExceptionHandler
ExceptionHandlingDefines all?
NSExceptionHandler all?

Enables NSException and NSString of objc2-foundation