Cargo Features

[dependencies]
mat2image = { version = "0.2.0", default-features = false, features = ["rayon"] }
default = rayon

The rayon feature is set by default whenever mat2image 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.

rayon default

Affects mat2image::ToImage.to_image_par