Cargo Features

[dependencies]
img2raw = { version = "0.4.0", default-features = false, features = ["zerocopy"] }
default = zerocopy

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

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