Cargo Features
[dependencies]
zerofrom = { version = "0.1.5", default-features = false, features = ["alloc", "derive"] }
- default = alloc
-
The
alloc
feature is set by default wheneverzerofrom
is added without
somewhere in the dependency tree.default-features = false - alloc default
- derive
-
Enables zerofrom-derive
ZeroFrom has 3 features without comments.