Cargo Features

[dependencies]
custom-print = { version = "1.0.0", default-features = false, features = ["std", "alloc"] }
default = alloc, std

These default features are set whenever custom-print is added without default-features = false somewhere in the dependency tree.

std default = alloc
alloc default std

custom-print has 3 features without comments.