Cargo Features

Diffusers has no features set by default.

[dependencies]
diffusers = { version = "0.3.1", features = ["doc-only", "clap", "image", "imageproc"] }
doc-only

Enables doc-only of tch ^0.13

Features from optional dependencies

clap implicit feature

Enables clap

clap:

A simple to use, efficient, and full-featured Command Line Argument Parser

image implicit feature

Enables image ^0.24.6

image:

Imaging library. Provides basic image processing and encoders/decoders for common image formats.

imageproc implicit feature

Enables imageproc ^0.23.0

imageproc:

Image processing operations