Cargo Features

[dependencies]
objc2-symbols = { version = "0.2.2", default-features = false, features = ["std", "alloc", "all", "NSSymbolEffect"] }
default = std

The std feature is set by default whenever objc2-symbols 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 = NSSymbolEffect
NSSymbolEffect all?

Enables NSObject of objc2-foundation