Cargo Features

[dependencies]
objc2-encode = { version = "4.0.1", default-features = false, features = ["std", "alloc"] }
default = std

The std feature is set by default whenever objc2-encode is added without default-features = false somewhere in the dependency tree.

std default = alloc
alloc std

Currently not possible to turn off, put here for forwards compatibility