Cargo Features
[dependencies]
img2raw = { version = "0.4.0", default-features = false, features = ["zerocopy"] }
- default = zerocopy
-
The
zerocopy
feature is set by default wheneverimg2raw
is added without
somewhere in the dependency tree.default-features = false
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- zerocopy default
-
Enables zerocopy ^0.2