Cargo Features

[dependencies]
yume-pdq = { version = "0.3.4", default-features = false, features = ["std", "avx512", "ffi", "vulkan", "reference-rug", "unstable", "portable-simd", "portable-simd-fma", "prefer-x86-intrinsics", "lut-utils", "cli", "cli-bench", "hpc", "opencv", "wasm-bindgen"] }
default = std

The std feature is set by default whenever yume-pdq is added without default-features = false somewhere in the dependency tree.

std default cli? ffi? hpc? portable-simd-fma? reference-rug? vulkan?
avx512

Affects x86::Avx512F32Kernel

ffi = std

Affects yume-pdq::ffi

vulkan = std

Enables pollster and wgpu

Affects matching::vulkan

reference-rug = std

Enables rug

Affects float128::ArbFloat, kernel::float128

unstable
portable-simd portable-simd-fma?

Affects kernel::portable_simd, kernel::FallbackKernel

portable-simd-fma = portable-simd, std
prefer-x86-intrinsics
lut-utils cli?

Affects yume-pdq::lut_utils

cli cli-bench? = lut-utils, std

Enables clap

Required by the binary

cli-bench = cli

Enables criterion

hpc = std

Enables core_affinity

opencv

Enables opencv

wasm-bindgen = js-sys

Enables wasm-bindgen

Affects yume-pdq::wasm

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.

js-sys wasm-bindgen?