Cargo Features

[dependencies]
init_array = { version = "0.3.0", default-features = false, features = ["alloc", "nightly"] }
default = alloc

The alloc feature is set by default whenever init_array is added without default-features = false somewhere in the dependency tree.

alloc default

Affects array_ext::ArrayExt.generate_boxed, array_ext::SliceExt

nightly