Cargo Features

[dependencies]
imgproc-rs = { version = "0.3.0", default-features = false, features = ["parallel", "simd"] }
default = simd

The simd feature is set by default whenever imgproc-rs is added without default-features = false somewhere in the dependency tree.

parallel = rayon

Enables multithreading

simd default

Enables SIMD support

Affects simd::adds_256_u8, simd::adds_n_256_u8, simd::deinterleave_3_256_u8, simd::deinterleave_4_256_u8, simd::avg_256_u8, simd::avg_alpha_256_u8, simd::avg_checked_256_u8

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 parallel?

Affects bilateral::bilateral_filter, filter::filter_1d, filter::unseparable_filter, transform::crop, transform::scale, transform::scale_lanczos, math::apply_1d_kernel, math::apply_2d_kernel