Cargo Features
[dependencies]
imgproc-rs = { version = "0.3.0", default-features = false, features = ["parallel", "simd"] }
- default = simd
-
The
simd
feature is set by default wheneverimgproc-rs
is added without
somewhere in the dependency tree.default-features = false - 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.