Cargo Features

[dependencies]
dssim = { version = "3.3.2", default-features = false, features = ["threads", "avif", "webp", "webp-static", "no-macos-vimage"] }
default = no-macos-vimage, threads

These default features are set whenever dssim is added without default-features = false somewhere in the dependency tree.

Enables dssim-core

threads default

Enables rayon, threads of dssim-core

avif

Enables avif of load_image

load_image:

Support reading of AVIF files. Uses a relatively heavy AOM decoder.

webp

Enables webp of load_image

load_image:

Support reading of WebP images. By default, it links to system's libwebp.

webp-static

Enables webp-static of load_image

load_image:

Link libwebp statically for redistrbutable binaries.

no-macos-vimage default

Enables no-macos-vimage of dssim-core

DSSIM has 6 features without comments.