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
somewhere in the dependency tree.default-features = false - std default = alloc
- alloc default std
custom-print has 3 features without comments.