Cargo Features

[dependencies]
collections2 = { version = "0.0.1", default-features = false, features = ["std", "alloc"] }
default = std

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

std default = alloc
alloc std

collections2 has 3 features without comments.